33 if (DbgContext !=
NULL) {
34 while (DbgContext !=
NULL) {
36 DbgContext = (UINT8 *)
GetNextGuidHob (&gTraceHubDebugInfoHobGuid, GET_NEXT_HOB (DbgContext));
62 if (DbgContext !=
NULL) {
63 for (Index = 0; Index < Count; Index++) {
65 DbgContext =
GetNextGuidHob (&gTraceHubDebugInfoHobGuid, GET_NEXT_HOB (DbgContext));
68 for (Index = 0; Index < Count; Index++) {
69 ThPtr[Index].TraceHubMmioAddress =
FixedPcdGet64 (PcdTraceHubDebugMmioAddress);
71 ThPtr[Index].DebugLevel =
FixedPcdGet8 (PcdTraceHubDebugLevel);
VOID *EFIAPI GetFirstGuidHob(IN CONST EFI_GUID *Guid)
VOID *EFIAPI GetNextGuidHob(IN CONST EFI_GUID *Guid, IN CONST VOID *HobStart)
VOID *EFIAPI CopyMem(OUT VOID *DestinationBuffer, IN CONST VOID *SourceBuffer, IN UINTN Length)
UINT32 EFIAPI CountThDebugInstance(VOID)
VOID EFIAPI PackThDebugInstance(IN OUT TRACEHUB_DEBUG_INFO_HOB *ThPtr, IN UINT32 Count)
#define FixedPcdGet64(TokenName)
#define FixedPcdGetBool(TokenName)
#define FixedPcdGet8(TokenName)