TianoCore EDK2
master
Loading...
Searching...
No Matches
MmGpiDispatch.h
Go to the documentation of this file.
1
20
#ifndef _MM_GPI_DISPATCH_H_
21
#define _MM_GPI_DISPATCH_H_
22
23
#include <
Pi/PiMmCis.h
>
24
25
#define EFI_MM_GPI_DISPATCH_PROTOCOL_GUID \
26
{ \
27
0x25566b03, 0xb577, 0x4cbf, {0x95, 0x8c, 0xed, 0x66, 0x3e, 0xa2, 0x43, 0x80 } \
28
}
29
33
typedef
struct
{
39
UINT64
GpiNum
;
40
}
EFI_MM_GPI_REGISTER_CONTEXT
;
41
42
typedef
struct
_EFI_MM_GPI_DISPATCH_PROTOCOL
EFI_MM_GPI_DISPATCH_PROTOCOL
;
43
73
typedef
74
EFI_STATUS
75
(EFIAPI *
EFI_MM_GPI_REGISTER
)(
76
IN
CONST
EFI_MM_GPI_DISPATCH_PROTOCOL
*This,
77
IN
EFI_MM_HANDLER_ENTRY_POINT
DispatchFunction,
78
IN
CONST
EFI_MM_GPI_REGISTER_CONTEXT
*RegisterContext,
79
OUT
EFI_HANDLE
*DispatchHandle
80
);
81
94
typedef
95
EFI_STATUS
96
(EFIAPI *
EFI_MM_GPI_UNREGISTER
)(
97
IN
CONST
EFI_MM_GPI_DISPATCH_PROTOCOL
*This,
98
IN
EFI_HANDLE
DispatchHandle
99
);
100
107
struct
_EFI_MM_GPI_DISPATCH_PROTOCOL
{
108
EFI_MM_GPI_REGISTER
Register;
109
EFI_MM_GPI_UNREGISTER
UnRegister;
113
UINTN
NumSupportedGpis
;
114
};
115
116
extern
EFI_GUID
gEfiMmGpiDispatchProtocolGuid;
117
118
#endif
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EFI_MM_GPI_REGISTER
EFI_STATUS(EFIAPI * EFI_MM_GPI_REGISTER)(IN CONST EFI_MM_GPI_DISPATCH_PROTOCOL *This, IN EFI_MM_HANDLER_ENTRY_POINT DispatchFunction, IN CONST EFI_MM_GPI_REGISTER_CONTEXT *RegisterContext, OUT EFI_HANDLE *DispatchHandle)
Definition:
MmGpiDispatch.h:75
EFI_MM_GPI_UNREGISTER
EFI_STATUS(EFIAPI * EFI_MM_GPI_UNREGISTER)(IN CONST EFI_MM_GPI_DISPATCH_PROTOCOL *This, IN EFI_HANDLE DispatchHandle)
Definition:
MmGpiDispatch.h:96
PiMmCis.h
EFI_MM_HANDLER_ENTRY_POINT
EFI_STATUS(EFIAPI * EFI_MM_HANDLER_ENTRY_POINT)(IN EFI_HANDLE DispatchHandle, IN CONST VOID *Context OPTIONAL, IN OUT VOID *CommBuffer OPTIONAL, IN OUT UINTN *CommBufferSize OPTIONAL)
Definition:
PiMmCis.h:162
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
_EFI_MM_GPI_DISPATCH_PROTOCOL
Definition:
MmGpiDispatch.h:107
_EFI_MM_GPI_DISPATCH_PROTOCOL::NumSupportedGpis
UINTN NumSupportedGpis
Definition:
MmGpiDispatch.h:113
EFI_MM_GPI_REGISTER_CONTEXT
Definition:
MmGpiDispatch.h:33
EFI_MM_GPI_REGISTER_CONTEXT::GpiNum
UINT64 GpiNum
Definition:
MmGpiDispatch.h:39
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
MmGpiDispatch.h
Generated on Fri Nov 15 2024 18:01:16 for TianoCore EDK2 by
1.9.6