TianoCore EDK2 master
Loading...
Searching...
No Matches
InternalTraceHubApiCommon.h
Go to the documentation of this file.
1
10#ifndef INTERNAL_TRACE_HUB_API_COMMON_H_
11#define INTERNAL_TRACE_HUB_API_COMMON_H_
12
13typedef enum {
14 TraceHubDebugType = 0,
15 TraceHubCatalogType
16} TRACEHUB_PRINTTYPE;
17
18typedef enum {
19 TraceHubRoutingDisable = 0,
20 TraceHubRoutingEnable,
21 TraceHubRoutingMax
22} TRACE_HUB_ROUTING;
23
24typedef enum {
25 TraceHubDebugLevelError = 0,
26 TraceHubDebugLevelErrorWarning,
27 TraceHubDebugLevelErrorWarningInfo,
28 TraceHubDebugLevelErrorWarningInfoVerbose,
29 TraceHubDebugLevelMax
30} TRACE_HUB_DEBUG_LEVEL;
31
42BOOLEAN
43EFIAPI
45 IN BOOLEAN Flag,
46 IN UINT8 DbgLevel,
47 IN TRACE_HUB_SEVERITY_TYPE SeverityType
48 );
49
56VOID
57EFIAPI
59 IN GUID *Guid,
60 OUT GUID *ConvertedGuid
61 );
62
76RETURN_STATUS
77EFIAPI
79 IN OUT MIPI_SYST_HANDLE *MipiSystHandle,
80 IN UINT8 *DbgContext,
81 IN TRACE_HUB_SEVERITY_TYPE SeverityType,
82 IN TRACEHUB_PRINTTYPE PrintType
83 );
84
94RETURN_STATUS
95EFIAPI
97 IN UINT8 *DbgContext,
98 IN OUT UINT64 *TraceAddress
99 );
100
111RETURN_STATUS
112EFIAPI
114 IN UINT8 *DbgContext,
115 IN OUT BOOLEAN *Flag,
116 IN OUT UINT8 *DbgLevel
117 );
118
119#endif // INTERNAL_TRACE_HUB_API_COMMON_H_
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)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
Definition: Base.h:213