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