TianoCore EDK2
master
Loading...
Searching...
No Matches
ReportStatusCodeRouterCommon.h
Go to the documentation of this file.
1
9
#ifndef __REPORT_STATUS_CODE_ROUTER_COMMON_H__
10
#define __REPORT_STATUS_CODE_ROUTER_COMMON_H__
11
12
#include <
Protocol/MmReportStatusCodeHandler.h
>
13
#include <
Protocol/MmStatusCode.h
>
14
15
#include <
Library/BaseLib.h
>
16
#include <
Library/SynchronizationLib.h
>
17
#include <
Library/DebugLib.h
>
18
#include <
Library/PcdLib.h
>
19
#include <
Library/MmServicesTableLib.h
>
20
#include <
Library/MemoryAllocationLib.h
>
21
22
#define MM_RSC_HANDLER_CALLBACK_ENTRY_SIGNATURE SIGNATURE_32 ('s', 'h', 'c', 'e')
23
24
typedef
struct
{
25
UINTN
Signature;
26
EFI_MM_RSC_HANDLER_CALLBACK RscHandlerCallback;
27
LIST_ENTRY
Node;
28
}
MM_RSC_HANDLER_CALLBACK_ENTRY
;
29
46
EFI_STATUS
47
EFIAPI
48
Register
(
49
IN
EFI_MM_RSC_HANDLER_CALLBACK Callback
50
);
51
65
EFI_STATUS
66
EFIAPI
67
Unregister
(
68
IN
EFI_MM_RSC_HANDLER_CALLBACK Callback
69
);
70
90
EFI_STATUS
91
EFIAPI
92
ReportDispatcher
(
93
IN
CONST
EFI_MM_STATUS_CODE_PROTOCOL
*This,
94
IN
EFI_STATUS_CODE_TYPE
CodeType,
95
IN
EFI_STATUS_CODE_VALUE
Value,
96
IN
UINT32 Instance,
97
IN
CONST
EFI_GUID
*CallerId,
98
IN
EFI_STATUS_CODE_DATA
*Data OPTIONAL
99
);
100
110
EFI_STATUS
111
GenericStatusCodeCommonEntry
(
112
VOID
113
);
114
115
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
BaseLib.h
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
DebugLib.h
MemoryAllocationLib.h
MmReportStatusCodeHandler.h
MmServicesTableLib.h
MmStatusCode.h
PcdLib.h
EFI_STATUS_CODE_VALUE
UINT32 EFI_STATUS_CODE_VALUE
Definition:
PiStatusCode.h:67
EFI_STATUS_CODE_TYPE
UINT32 EFI_STATUS_CODE_TYPE
Definition:
PiStatusCode.h:24
Unregister
EFI_STATUS EFIAPI Unregister(IN EFI_MM_RSC_HANDLER_CALLBACK Callback)
Definition:
ReportStatusCodeRouterRuntimeDxe.c:178
ReportDispatcher
EFI_STATUS EFIAPI ReportDispatcher(IN CONST EFI_MM_STATUS_CODE_PROTOCOL *This, IN EFI_STATUS_CODE_TYPE CodeType, IN EFI_STATUS_CODE_VALUE Value, IN UINT32 Instance, IN CONST EFI_GUID *CallerId, IN EFI_STATUS_CODE_DATA *Data OPTIONAL)
Definition:
ReportStatusCodeRouterCommon.c:141
GenericStatusCodeCommonEntry
EFI_STATUS GenericStatusCodeCommonEntry(VOID)
Definition:
ReportStatusCodeRouterCommon.c:194
Register
EFI_STATUS EFIAPI Register(IN EFI_MM_RSC_HANDLER_CALLBACK Callback)
Definition:
ReportStatusCodeRouterCommon.c:47
SynchronizationLib.h
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EFI_MM_STATUS_CODE_PROTOCOL
Definition:
MmStatusCode.h:51
_LIST_ENTRY
Definition:
Base.h:247
EFI_STATUS_CODE_DATA
Definition:
PiStatusCode.h:84
GUID
Definition:
Base.h:213
MM_RSC_HANDLER_CALLBACK_ENTRY
Definition:
ReportStatusCodeRouterCommon.h:24
MdeModulePkg
Universal
ReportStatusCodeRouter
Smm
ReportStatusCodeRouterCommon.h
Generated on Fri Nov 15 2024 18:01:13 for TianoCore EDK2 by
1.9.6