]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Library/BasePlatformHookLibNull/BasePlatformHookLibNull.c
MdeModulePkg DxeCapsuleLibFmp: Add NULL check to the return buffers
[mirror_edk2.git] / MdeModulePkg / Library / BasePlatformHookLibNull / BasePlatformHookLibNull.c
CommitLineData
467d15ae 1/** @file\r
2 Null Platform Hook Library instance.\r
3\r
d1102dba 4 Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>\r
467d15ae 5 This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#include <Base.h>\r
16#include <Library/PlatformHookLib.h>\r
17\r
18/**\r
19 Performs platform specific initialization required for the CPU to access\r
20 the hardware associated with a SerialPortLib instance. This function does\r
d1102dba
LG
21 not intiailzie the serial port hardware itself. Instead, it initializes\r
22 hardware devices that are required for the CPU to access the serial port\r
467d15ae 23 hardware. This function may be called more than once.\r
24\r
25 @retval RETURN_SUCCESS The platform specific initialization succeeded.\r
26 @retval RETURN_DEVICE_ERROR The platform specific initialization could not be completed.\r
d1102dba 27\r
467d15ae 28**/\r
29RETURN_STATUS\r
30EFIAPI\r
31PlatformHookSerialPortInitialize (\r
32 VOID\r
33 )\r
34{\r
35 return RETURN_SUCCESS;\r
36}\r
37\r