2019-04-11 17:51:22 +02:00
|
|
|
## @file
|
2021-09-29 05:34:40 +02:00
|
|
|
# Platform Hook Library instance for UART device for Universal Payload.
|
2019-04-11 17:51:22 +02:00
|
|
|
#
|
2021-09-29 05:34:40 +02:00
|
|
|
# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
|
2019-04-11 17:51:22 +02:00
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = PlatformHookLib
|
2021-09-29 05:34:40 +02:00
|
|
|
FILE_GUID = 807E05AB-9411-429F-97F0-FE425BF6B094
|
2019-04-11 17:51:22 +02:00
|
|
|
MODULE_TYPE = BASE
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
LIBRARY_CLASS = PlatformHookLib
|
2021-09-29 05:34:40 +02:00
|
|
|
CONSTRUCTOR = PlatformHookSerialPortConstructor
|
2019-04-11 17:51:22 +02:00
|
|
|
|
|
|
|
[Sources]
|
|
|
|
PlatformHookLib.c
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
PcdLib
|
2021-09-29 05:34:40 +02:00
|
|
|
BaseLib
|
|
|
|
HobLib
|
|
|
|
DxeHobListLib
|
2019-04-11 17:51:22 +02:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
UefiPayloadPkg/UefiPayloadPkg.dec
|
|
|
|
|
2021-09-29 05:34:40 +02:00
|
|
|
[Guids]
|
|
|
|
gUniversalPayloadSerialPortInfoGuid
|
|
|
|
|
2019-04-11 17:51:22 +02:00
|
|
|
[Pcd]
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseMmio ## PRODUCES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterBase ## PRODUCES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialBaudRate ## PRODUCES
|
|
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialRegisterStride ## PRODUCES
|