2015-09-08 10:28:23 +02:00
|
|
|
## @file
|
|
|
|
# Instance of Debug Library using EFI_DEBUGPORT_PROTOCOL.
|
|
|
|
#
|
|
|
|
# Debug Lib that sends messages to EFI_DEBUGPORT_PROTOCOL.Write.
|
|
|
|
#
|
2019-04-08 04:48:00 +02:00
|
|
|
# Copyright (c) 2018, Microsoft Corporation
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.<BR>
|
2015-09-08 10:28:23 +02:00
|
|
|
#
|
2019-04-04 01:06:00 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2015-09-08 10:28:23 +02:00
|
|
|
#
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = UefiDebugLibDebugPortProtocol
|
|
|
|
MODULE_UNI_FILE = UefiDebugLibDebugPortProtocol.uni
|
|
|
|
FILE_GUID = 102287b4-6b12-4D41-91e1-ebee1f3aa614
|
|
|
|
MODULE_TYPE = UEFI_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
2019-04-08 04:48:00 +02:00
|
|
|
LIBRARY_CLASS = DebugLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_APPLICATION UEFI_DRIVER
|
2015-09-08 10:28:23 +02:00
|
|
|
|
2019-04-08 04:48:00 +02:00
|
|
|
CONSTRUCTOR = DxeDebugLibConstructor
|
2019-07-26 05:10:54 +02:00
|
|
|
DESTRUCTOR = DxeDebugLibDestructor
|
2015-09-08 10:28:23 +02:00
|
|
|
|
|
|
|
#
|
2018-07-02 03:21:05 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
2015-09-08 10:28:23 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
DebugLib.c
|
2019-04-08 04:48:00 +02:00
|
|
|
DebugLibConstructor.c
|
2015-09-08 10:28:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseMemoryLib
|
|
|
|
BaseLib
|
|
|
|
PcdLib
|
|
|
|
PrintLib
|
|
|
|
DebugPrintErrorLevelLib
|
|
|
|
|
|
|
|
[Protocols]
|
2015-09-08 10:28:56 +02:00
|
|
|
gEfiDebugPortProtocolGuid ## CONSUMES
|
2015-09-08 10:28:23 +02:00
|
|
|
|
|
|
|
[Pcd]
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## SOMETIMES_CONSUMES
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES
|
|
|
|
gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel ## CONSUMES
|
|
|
|
|