]>
Commit | Line | Data |
---|---|---|
467d15ae | 1 | /** @file\r |
2 | Platform hook library. Platform can provide an implementation of this\r | |
3 | library class to provide hooks that may be required for some type of \r | |
4 | platform initialization.\r | |
5 | \r | |
6 | Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r | |
7 | This program and the accompanying materials are licensed and made available under \r | |
8 | the terms and conditions of the BSD License that accompanies this distribution. \r | |
9 | The full text of the license may be found at\r | |
10 | http://opensource.org/licenses/bsd-license.php. \r | |
11 | \r | |
12 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
13 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
14 | \r | |
15 | **/\r | |
16 | \r | |
17 | #ifndef __PLATFORM_HOOK_LIB__\r | |
18 | #define __PLATFORM_HOOK_LIB__\r | |
19 | \r | |
20 | /**\r | |
21 | Performs platform specific initialization required for the CPU to access\r | |
22 | the hardware associated with a SerialPortLib instance. This function does\r | |
23 | not intiailzie the serial port hardware itself. Instead, it initializes \r | |
24 | hardware devices that are required for the CPU to access the serial port \r | |
25 | hardware. This function may be called more than once.\r | |
26 | \r | |
27 | @retval RETURN_SUCCESS The platform specific initialization succeeded.\r | |
28 | @retval RETURN_DEVICE_ERROR The platform specific initialization could not be completed.\r | |
29 | \r | |
30 | **/\r | |
31 | RETURN_STATUS\r | |
32 | EFIAPI\r | |
33 | PlatformHookSerialPortInitialize (\r | |
34 | VOID\r | |
35 | );\r | |
36 | \r | |
37 | #endif // __PLATFORM_HOOK_LIB__\r | |
38 | \r |