TianoCore EDK2 master
|
#include <Base.h>
#include <PiDxe.h>
#include <UniversalPayload/SerialPortInfo.h>
#include <Library/PlatformHookLib.h>
#include <Library/PcdLib.h>
#include <Library/HobLib.h>
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | PlatformHookSerialPortConstructor (VOID) |
RETURN_STATUS EFIAPI | PlatformHookSerialPortInitialize (VOID) |
Platform Hook Library instance for UART device.
Copyright (c) 2021, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PlatformHookLib.c.
EFI_STATUS EFIAPI PlatformHookSerialPortConstructor | ( | VOID | ) |
Library Constructor
RETURN_SUCCESS | Success. |
Definition at line 22 of file PlatformHookLib.c.
RETURN_STATUS EFIAPI PlatformHookSerialPortInitialize | ( | VOID | ) |
Performs platform specific initialization required for the CPU to access the hardware associated with a SerialPortLib instance. This function does not initialize the serial port hardware itself. Instead, it initializes hardware devices that are required for the CPU to access the serial port hardware. This function may be called more than once.
RETURN_SUCCESS | The platform specific initialization succeeded. |
RETURN_DEVICE_ERROR | The platform specific initialization could not be completed. |
Definition at line 45 of file PlatformHookLib.c.