Files
edk2-platforms/Features/Intel/Debugging/PostCodeDebugFeaturePkg/Library/PostCodeStatusCodeHandlerLib/RuntimeDxePostCodeStatusCodeHandlerLib.inf
Tan, Ming daec2446ae Features/Intel/PostCodeDebugFeaturePkg: add it.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2478

The PostCodeDebugFeaturePkg include some useful post code debug
libraries, such as get post code from status code and show it.

It provide a library PostCodeStatusCodeHandlerLib used by edk2
StatusCodeHandler.efi, used to show the post code.
It also provide a library of PostCodeMap lib, it map the status code
to post code.

Cc: Liming Gao <liming.gao@intel.com>
Signed-off-by: Ming Tan <ming.tan@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Dandan Bi <dandan.bi@intel.com>
2020-06-18 13:51:52 +08:00

52 lines
1.4 KiB
INI

## @file
# PostCode status code implementation.
#
# Copyright (c) 2010 - 2020, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
# vendor. This file may not be modified, except as allowed by
# additional terms of your license agreement.
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = RuntimeDxePostCodeStatusCodeHandlerLib
FILE_GUID = FC4F3901-3E9B-4CA3-AB6C-1B65E9AA6960
MODULE_TYPE = DXE_RUNTIME_DRIVER
VERSION_STRING = 1.0
CONSTRUCTOR = RuntimeDxePostCodeStatusCodeHandlerLibConstructor
LIBRARY_CLASS = StatusCodeHandlerLib|DXE_RUNTIME_DRIVER
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is only for build)
#
[Sources]
RuntimeDxePostCodeStatusCodeHandlerLib.c
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
PostCodeDebugFeaturePkg/PostCodeDebugFeaturePkg.dec
[LibraryClasses]
UefiBootServicesTableLib
UefiRuntimeLib
DebugLib
PcdLib
ReportStatusCodeLib
PostCodeMapLib
PostCodeLib
[Pcd]
gPostCodeDebugFeaturePkgTokenSpaceGuid.PcdStatusCodeUsePostCode ## CONSUMES
[Protocols]
gEfiRscHandlerProtocolGuid ## CONSUMES
[Depex]
TRUE