MdeModulePkg.dec: Change PCDs for status code.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2786 In order to support enable/disable report status code through memory or serial dynamic, change the following PCDs from [PcdsFeatureFlag] to [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx]: PcdStatusCodeUseSerial PcdStatusCodeUseMemory The original plaforms can use PcdsFixedAtBuild in .dsc files to save size. Reviewed-by: Jian J Wang <jian.j.wang@intel.com> Cc: Hao A Wu <hao.a.wu@intel.com> Signed-off-by: Ming Tan <ming.tan@intel.com>
This commit is contained in:
@@ -760,19 +760,6 @@
|
||||
# @Prompt Enable PCI bridge IO alignment probe.
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdPciBridgeIoAlignmentProbe|FALSE|BOOLEAN|0x0001004e
|
||||
|
||||
## Indicates if StatusCode is reported via Serial port.<BR><BR>
|
||||
# TRUE - Reports StatusCode via Serial port.<BR>
|
||||
# FALSE - Does not report StatusCode via Serial port.<BR>
|
||||
# @Prompt Enable StatusCode via Serial port.
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE|BOOLEAN|0x00010022
|
||||
|
||||
## Indicates if StatusCode is stored in memory.
|
||||
# The memory is boot time memory in PEI Phase and is runtime memory in DXE Phase.<BR><BR>
|
||||
# TRUE - Stores StatusCode in memory.<BR>
|
||||
# FALSE - Does not store StatusCode in memory.<BR>
|
||||
# @Prompt Enable StatusCode via memory.
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE|BOOLEAN|0x00010023
|
||||
|
||||
## Indicates if PEI phase StatusCode will be replayed in DXE phase.<BR><BR>
|
||||
# TRUE - Replays PEI phase StatusCode in DXE phased.<BR>
|
||||
# FALSE - Does not replay PEI phase StatusCode in DXE phase.<BR>
|
||||
@@ -2001,6 +1988,19 @@
|
||||
# @Prompt TCG Platform Firmware Profile revision.
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdTcgPfpMeasurementRevision|0|UINT32|0x00010077
|
||||
|
||||
## Indicates if StatusCode is reported via Serial port.<BR><BR>
|
||||
# TRUE - Reports StatusCode via Serial port.<BR>
|
||||
# FALSE - Does not report StatusCode via Serial port.<BR>
|
||||
# @Prompt Enable StatusCode via Serial port.
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE|BOOLEAN|0x00010022
|
||||
|
||||
## Indicates if StatusCode is stored in memory.
|
||||
# The memory is boot time memory in PEI Phase and is runtime memory in DXE Phase.<BR><BR>
|
||||
# TRUE - Stores StatusCode in memory.<BR>
|
||||
# FALSE - Does not store StatusCode in memory.<BR>
|
||||
# @Prompt Enable StatusCode via memory.
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE|BOOLEAN|0x00010023
|
||||
|
||||
[PcdsPatchableInModule]
|
||||
## Specify memory size with page number for PEI code when
|
||||
# Loading Module at Fixed Address feature is enabled.
|
||||
|
Reference in New Issue
Block a user