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