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