MdeModulePkg: Add TraceHubDebugSysTLib library
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4144 This Library provides API to dump Trace Hub message. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Guo Gua <gua.guo@intel.com> Cc: Chan Laura <laura.chan@intel.com> Cc: Prakashan Krishnadas Veliyathuparambil <krishnadas.veliyathuparambil.prakashan@intel.com> Cc: K N Karthik <karthik.k.n@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Guo Gua <gua.guo@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: K N Karthik <karthik.k.n@intel.com> Reviewed-by: Chan Laura <laura.chan@intel.com> Acked-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
@@ -439,6 +439,9 @@
|
||||
## Include/UniversalPayload/SerialPortInfo.h
|
||||
gUniversalPayloadSerialPortInfoGuid = { 0xaa7e190d, 0xbe21, 0x4409, { 0x8e, 0x67, 0xa2, 0xcd, 0xf, 0x61, 0xe1, 0x70 } }
|
||||
|
||||
## Include/Guid/TraceHubDebugInfoHob.h
|
||||
gTraceHubDebugInfoHobGuid = { 0xf88c9c23, 0x646c, 0x4f6c, { 0x8e, 0x3d, 0x36, 0xa9, 0x43, 0xc1, 0x08, 0x35 } }
|
||||
|
||||
## GUID used for Boot Discovery Policy FormSet guid and related variables.
|
||||
gBootDiscoveryPolicyMgrFormsetGuid = { 0x5b6f7107, 0xbb3c, 0x4660, { 0x92, 0xcd, 0x54, 0x26, 0x90, 0x28, 0x0b, 0xbd } }
|
||||
|
||||
@@ -1095,6 +1098,24 @@
|
||||
# @Prompt Enable UEFI Stack Guard.
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard|FALSE|BOOLEAN|0x30001055
|
||||
|
||||
## Indicate debug level of Trace Hub.
|
||||
# 0x0 - TraceHubDebugLevelError.<BR>
|
||||
# 0x1 - TraceHubDebugLevelErrorWarning.<BR>
|
||||
# 0x2 - TraceHubDebugLevelErrorWarningInfo.<BR>
|
||||
# 0x3 - TraceHubDebugLevelErrorWarningInfoVerbose.<BR>
|
||||
# @Prompt Debug level of Trace Hub.
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdTraceHubDebugLevel|0|UINT8|0x30001056
|
||||
|
||||
## Flag to enable or disable Trace Hub message.
|
||||
# FALSE - Disable Trace Hub debug message.<BR>
|
||||
# TRUE - Enable Trace Hub debug message.<BR>
|
||||
# @Prompt Enable or Disable Trace Hub message.
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdEnableTraceHubDebugMsg|0|BOOLEAN|0x30001057
|
||||
|
||||
## Indicate MMIO address where Trace Hub message output to.
|
||||
# @Prompt Output MMIO address of Trace Hub message.
|
||||
gEfiMdeModulePkgTokenSpaceGuid.PcdTraceHubDebugMmioAddress|0|UINT64|0x30001058
|
||||
|
||||
[PcdsFixedAtBuild, PcdsPatchableInModule]
|
||||
## Dynamic type PCD can be registered callback function for Pcd setting action.
|
||||
# PcdMaxPeiPcdCallBackNumberPerPcdEntry indicates the maximum number of callback function
|
||||
|
Reference in New Issue
Block a user