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