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
14
15#include <Library/BaseLib.h>
17#include <Library/DebugLib.h>
18#include <Library/PcdLib.h>
21
22#define MM_RSC_HANDLER_CALLBACK_ENTRY_SIGNATURE SIGNATURE_32 ('s', 'h', 'c', 'e')
23
24typedef struct {
25 UINTN Signature;
26 EFI_MM_RSC_HANDLER_CALLBACK RscHandlerCallback;
27 LIST_ENTRY Node;
29
47EFIAPI
49 IN EFI_MM_RSC_HANDLER_CALLBACK Callback
50 );
51
66EFIAPI
68 IN EFI_MM_RSC_HANDLER_CALLBACK Callback
69 );
70
91EFIAPI
94 IN EFI_STATUS_CODE_TYPE CodeType,
96 IN UINT32 Instance,
97 IN CONST EFI_GUID *CallerId,
98 IN EFI_STATUS_CODE_DATA *Data OPTIONAL
99 );
100
112 VOID
113 );
114
115#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
UINT32 EFI_STATUS_CODE_VALUE
Definition: PiStatusCode.h:67
UINT32 EFI_STATUS_CODE_TYPE
Definition: PiStatusCode.h:24
EFI_STATUS EFIAPI Unregister(IN EFI_MM_RSC_HANDLER_CALLBACK Callback)
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)
EFI_STATUS GenericStatusCodeCommonEntry(VOID)
EFI_STATUS EFIAPI Register(IN EFI_MM_RSC_HANDLER_CALLBACK Callback)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213