2 Entry Point Source file.
4 This file contains the user entry point
6 Copyright (c) 2006 - 2008, Intel Corporation
7 All rights reserved. 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.
15 #include "UnixSerialIo.h"
18 The user Entry Point for module UnixSerialIo. The user code starts with this function.
20 @param[in] ImageHandle The firmware allocated handle for the EFI image.
21 @param[in] SystemTable A pointer to the EFI System Table.
23 @retval EFI_SUCCESS The entry point is executed successfully.
24 @retval other Some error occurs when executing this entry point.
29 InitializeUnixSerialIo(
30 IN EFI_HANDLE ImageHandle
,
31 IN EFI_SYSTEM_TABLE
*SystemTable
36 Status
= EfiLibInstallAllDriverProtocols (
39 &gUnixSerialIoDriverBinding
,
41 &gUnixSerialIoComponentName
,
45 ASSERT_EFI_ERROR (Status
);