2010-12-18 02:02:59 +01:00
|
|
|
/** @file
|
|
|
|
Null Platform Hook Library instance.
|
|
|
|
|
2018-06-27 15:08:52 +02:00
|
|
|
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR>
|
2019-04-04 01:05:13 +02:00
|
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
2010-12-18 02:02:59 +01:00
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#include <Base.h>
|
|
|
|
#include <Library/PlatformHookLib.h>
|
|
|
|
|
|
|
|
/**
|
|
|
|
Performs platform specific initialization required for the CPU to access
|
|
|
|
the hardware associated with a SerialPortLib instance. This function does
|
2018-06-27 15:08:52 +02:00
|
|
|
not intiailzie the serial port hardware itself. Instead, it initializes
|
|
|
|
hardware devices that are required for the CPU to access the serial port
|
2010-12-18 02:02:59 +01:00
|
|
|
hardware. This function may be called more than once.
|
|
|
|
|
|
|
|
@retval RETURN_SUCCESS The platform specific initialization succeeded.
|
|
|
|
@retval RETURN_DEVICE_ERROR The platform specific initialization could not be completed.
|
2018-06-27 15:08:52 +02:00
|
|
|
|
2010-12-18 02:02:59 +01:00
|
|
|
**/
|
|
|
|
RETURN_STATUS
|
|
|
|
EFIAPI
|
|
|
|
PlatformHookSerialPortInitialize (
|
|
|
|
VOID
|
|
|
|
)
|
|
|
|
{
|
|
|
|
return RETURN_SUCCESS;
|
|
|
|
}
|
|
|
|
|