summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/TraceHubDebugSysTLib/Readme.md
blob: 9e798a41bf1a8216fbc65cf65b2c55707d0fef84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
## Introduction of TrcaceHubDebugSysTLib ##
TrcaceHubDebugSysTLib 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.