MdeModulePkg[all]  0.98
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PlatformHookLib.h File Reference

Functions

RETURN_STATUS EFIAPI PlatformHookSerialPortInitialize (VOID)
 

Detailed Description

Platform hook library. Platform can provide an implementation of this library class to provide hooks that may be required for some type of platform initialization.

Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Function Documentation

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 intiailzie 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 values
RETURN_SUCCESSThe platform specific initialization succeeded.
RETURN_DEVICE_ERRORThe platform specific initialization could not be completed.