10#ifndef INTERNAL_TRACE_HUB_API_COMMON_H_
11#define INTERNAL_TRACE_HUB_API_COMMON_H_
14 TraceHubDebugType = 0,
19 TraceHubRoutingDisable = 0,
20 TraceHubRoutingEnable,
25 TraceHubDebugLevelError = 0,
26 TraceHubDebugLevelErrorWarning,
27 TraceHubDebugLevelErrorWarningInfo,
28 TraceHubDebugLevelErrorWarningInfoVerbose,
30} TRACE_HUB_DEBUG_LEVEL;
47 IN TRACE_HUB_SEVERITY_TYPE SeverityType
81 IN TRACE_HUB_SEVERITY_TYPE SeverityType,
82 IN TRACEHUB_PRINTTYPE PrintType
98 IN OUT UINT64 *TraceAddress
114 IN UINT8 *DbgContext,
115 IN OUT BOOLEAN *Flag,
116 IN OUT UINT8 *DbgLevel
RETURN_STATUS EFIAPI GetTraceHubMmioAddress(IN UINT8 *DbgContext, IN OUT UINT64 *TraceAddress)
RETURN_STATUS EFIAPI CheckWhetherToOutputMsg(IN OUT MIPI_SYST_HANDLE *MipiSystHandle, IN UINT8 *DbgContext, IN TRACE_HUB_SEVERITY_TYPE SeverityType, IN TRACEHUB_PRINTTYPE PrintType)
RETURN_STATUS EFIAPI GetTraceHubMsgVisibility(IN UINT8 *DbgContext, IN OUT BOOLEAN *Flag, IN OUT UINT8 *DbgLevel)
BOOLEAN EFIAPI TraceHubDataEnabled(IN BOOLEAN Flag, IN UINT8 DbgLevel, IN TRACE_HUB_SEVERITY_TYPE SeverityType)
VOID EFIAPI SwapBytesGuid(IN GUID *Guid, OUT GUID *ConvertedGuid)