edk2/MdeModulePkg/Library/TraceHubDebugSysTLib
Sherry Fan 7e5cc68f1e MdeModulePkg: fix mdlint issues
Fix markdownlint formatting issues in READMEs.

Signed-off-by: Sherry Fan <sherryfan@microsoft.com>
2026-03-04 22:02:33 +00:00
..
BaseTraceHubDebugSysTLib.c MdeModulePkg/TraceHubDebugSysTLib: Use wider type for loop comparisons 2024-02-26 23:13:08 +00:00
BaseTraceHubDebugSysTLib.inf
DxeSmmTraceHubDebugSysTLib.c MdeModulePkg/TraceHubDebugSysTLib: Use wider type for loop comparisons 2024-02-26 23:13:08 +00:00
DxeSmmTraceHubDebugSysTLib.inf
InternalTraceHubApi.c MdeModulePkg/TraceHubDebugSysTLib: Use wider type for loop comparisons 2024-02-26 23:13:08 +00:00
InternalTraceHubApi.h MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
InternalTraceHubApiCommon.c
InternalTraceHubApiCommon.h MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
PeiTraceHubDebugSysTLib.c
PeiTraceHubDebugSysTLib.inf
Readme.md MdeModulePkg: fix mdlint issues 2026-03-04 22:02:33 +00:00

Introduction of TrcaceHubDebugSysTLib

TraceHubDebugSysTLib library is a top level library for dumping Trace Hub messages. It provides Trace Hub related APIs to dump Trace Hub message via MIPI SYS-T submodule. User need to properly configure following Trace Hub related PCDs and HOB. (See MdeModulePkg.dec to get detailed definition for PCDs below)

  • PcdTraceHubDebugLevel
  • PcdEnableTraceHubDebugMsg
  • PcdTraceHubDebugMmioAddress (See TraceHubDebugInfoHob.h to get detailed definition for HOB below)
  • gTraceHubDebugInfoHobGuid

BaseTraceHubDebugSysTLib.inf

System prints Trace Hub message in SEC/PEI/DXE/SMM based on fixed PCDs. Only support single Trace Hub debug instance.

PeiTraceHubDebugSysTLib.inf

System prints Trace Hub message in PEI based on fixed PCDs and HOB. System applies Trace Hub HOB once it detect gTraceHubDebugInfoHobGuid HOB. Trace Hub PCDs will be applied if no HOB exist.

DxeSmmTraceHubDebugSysTLib.inf

System prints Trace Hub message in DXE/SMM based on fixed PCDs and HOB. Trace Hub PCDs will be applied if no HOB exist.

Note

Trace Hub debug library not support DXE_RUNTIME_DRIVER type of module currently.