-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e36b313
commit d6c687f
Showing
2 changed files
with
50 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
## Introduction of TrcaceHubDebugSysTLib ## | ||
TrcaceHubDebugSysTLib library is a top level library for dumping Trace Hub messages. | ||
# 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 | ||
|
||
- 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters