]> git.proxmox.com Git - mirror_edk2.git/blame - UnixPkg/UnixSerialIoDxe/EntryPoint.c
Update the copyright notice format
[mirror_edk2.git] / UnixPkg / UnixSerialIoDxe / EntryPoint.c
CommitLineData
804405e7 1/**@file\r
2 Entry Point Source file.\r
3\r
4 This file contains the user entry point \r
5\r
f9b8ab56
HT
6 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
7 This program and the accompanying materials\r
804405e7 8 are licensed and made available under the terms and conditions of the BSD License\r
9 which accompanies this distribution. The full text of the license may be found at\r
10 http://opensource.org/licenses/bsd-license.php\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13**/\r
14\r
15#include "UnixSerialIo.h"\r
16\r
17/**\r
18 The user Entry Point for module UnixSerialIo. The user code starts with this function.\r
19\r
20 @param[in] ImageHandle The firmware allocated handle for the EFI image. \r
21 @param[in] SystemTable A pointer to the EFI System Table.\r
22 \r
23 @retval EFI_SUCCESS The entry point is executed successfully.\r
24 @retval other Some error occurs when executing this entry point.\r
25\r
26**/\r
27EFI_STATUS\r
28EFIAPI\r
29InitializeUnixSerialIo(\r
30 IN EFI_HANDLE ImageHandle,\r
31 IN EFI_SYSTEM_TABLE *SystemTable\r
32 )\r
33{\r
34 EFI_STATUS Status;\r
35\r
36 Status = EfiLibInstallAllDriverProtocols (\r
37 ImageHandle,\r
38 SystemTable,\r
39 &gUnixSerialIoDriverBinding,\r
40 ImageHandle,\r
41 &gUnixSerialIoComponentName,\r
42 NULL,\r
43 NULL\r
44 );\r
45 ASSERT_EFI_ERROR (Status);\r
46\r
47\r
48 return Status;\r
49}\r