]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/PlatformHookLibSerialPortPpi/PlatformHookLibSerialPortPpi.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Library / PlatformHookLibSerialPortPpi / PlatformHookLibSerialPortPpi.c
CommitLineData
883e23d0
LG
1/** @file\r
2 Null Platform Hook Library instance with dependency on gPeiSerialPortPpiGuid\r
3\r
4 Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
9d510e61 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
883e23d0
LG
6\r
7**/\r
8\r
9#include <Base.h>\r
10#include <Library/PlatformHookLib.h>\r
11\r
12/**\r
13 Performs platform specific initialization required for the CPU to access\r
14 the hardware associated with a SerialPortLib instance. This function does\r
15 not initialize the serial port hardware itself. Instead, it initializes\r
16 hardware devices that are required for the CPU to access the serial port\r
17 hardware. This function may be called more than once.\r
18\r
19 @retval RETURN_SUCCESS The platform specific initialization succeeded.\r
20 @retval RETURN_DEVICE_ERROR The platform specific initialization could not be completed.\r
21\r
22**/\r
23RETURN_STATUS\r
24EFIAPI\r
25PlatformHookSerialPortInitialize (\r
26 VOID\r
27 )\r
28{\r
29 return RETURN_SUCCESS;\r
30}\r