TianoCore EDK2 master
Loading...
Searching...
No Matches
ReportStatusCodeRouterRuntimeDxe.h
Go to the documentation of this file.
1
9#ifndef __REPORT_STATUS_CODE_ROUTER_RUNTIME_DXE_H__
10#define __REPORT_STATUS_CODE_ROUTER_RUNTIME_DXE_H__
11
13#include <Protocol/StatusCode.h>
14
15#include <Guid/EventGroup.h>
16
17#include <Library/BaseLib.h>
19#include <Library/DebugLib.h>
20#include <Library/HobLib.h>
26#include "Library/UefiLib.h"
27
28#define RSC_HANDLER_CALLBACK_ENTRY_SIGNATURE SIGNATURE_32 ('r', 'h', 'c', 'e')
29
30typedef struct {
31 UINTN Signature;
32 EFI_RSC_HANDLER_CALLBACK RscHandlerCallback;
33 EFI_TPL Tpl;
34 EFI_EVENT Event;
35 EFI_PHYSICAL_ADDRESS StatusCodeDataBuffer;
36 UINTN BufferSize;
37 EFI_PHYSICAL_ADDRESS EndPointer;
38 LIST_ENTRY Node;
40
41typedef struct {
44 UINT32 Instance;
45 UINT32 Reserved;
46 EFI_GUID CallerId;
49
79EFIAPI
81 IN EFI_RSC_HANDLER_CALLBACK Callback,
82 IN EFI_TPL Tpl
83 );
84
100EFIAPI
102 IN EFI_RSC_HANDLER_CALLBACK Callback
103 );
104
124EFIAPI
128 IN UINT32 Instance,
129 IN EFI_GUID *CallerId OPTIONAL,
130 IN EFI_STATUS_CODE_DATA *Data OPTIONAL
131 );
132
133#endif
UINT64 UINTN
#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 ReportDispatcher(IN EFI_STATUS_CODE_TYPE Type, IN EFI_STATUS_CODE_VALUE Value, IN UINT32 Instance, IN EFI_GUID *CallerId OPTIONAL, IN EFI_STATUS_CODE_DATA *Data OPTIONAL)
EFI_STATUS EFIAPI Register(IN EFI_RSC_HANDLER_CALLBACK Callback, IN EFI_TPL Tpl)
EFI_STATUS EFIAPI Unregister(IN EFI_RSC_HANDLER_CALLBACK Callback)
UINT64 EFI_PHYSICAL_ADDRESS
Definition: UefiBaseType.h:50
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
UINTN EFI_TPL
Definition: UefiBaseType.h:41
Definition: Base.h:213