]> git.proxmox.com Git - mirror_edk2.git/blame - UnixPkg/UnixBusDriverDxe/EntryPoint.c
Update the copyright notice format
[mirror_edk2.git] / UnixPkg / UnixBusDriverDxe / 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\r
16\r
17#include "UnixBusDriver.h"\r
18\r
19/**\r
20 The user Entry Point for module UnixBusDriver. The user code starts with this function.\r
21\r
22 @param[in] ImageHandle The firmware allocated handle for the EFI image. \r
23 @param[in] SystemTable A pointer to the EFI System Table.\r
24 \r
25 @retval EFI_SUCCESS The entry point is executed successfully.\r
26 @retval other Some error occurs when executing this entry point.\r
27\r
28**/\r
29EFI_STATUS\r
30EFIAPI\r
31InitializeUnixBusDriver(\r
32 IN EFI_HANDLE ImageHandle,\r
33 IN EFI_SYSTEM_TABLE *SystemTable\r
34 )\r
35{\r
36 EFI_STATUS Status;\r
37\r
38 Status = EfiLibInstallAllDriverProtocols (\r
39 ImageHandle,\r
40 SystemTable,\r
41 &gUnixBusDriverBinding,\r
42 ImageHandle,\r
43 &gUnixBusDriverComponentName,\r
44 NULL,\r
45 NULL\r
46 );\r
47 ASSERT_EFI_ERROR (Status);\r
48\r
49\r
50 return Status;\r
51}\r