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
33typedef struct {
39 UINT64 GpiNum;
41
43
73typedef
75(EFIAPI *EFI_MM_GPI_REGISTER)(
77 IN EFI_MM_HANDLER_ENTRY_POINT DispatchFunction,
78 IN CONST EFI_MM_GPI_REGISTER_CONTEXT *RegisterContext,
79 OUT EFI_HANDLE *DispatchHandle
80 );
81
94typedef
96(EFIAPI *EFI_MM_GPI_UNREGISTER)(
98 IN EFI_HANDLE DispatchHandle
99 );
100
108 EFI_MM_GPI_REGISTER Register;
109 EFI_MM_GPI_UNREGISTER UnRegister;
114};
115
116extern EFI_GUID gEfiMmGpiDispatchProtocolGuid;
117
118#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
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_STATUS(EFIAPI * EFI_MM_GPI_UNREGISTER)(IN CONST EFI_MM_GPI_DISPATCH_PROTOCOL *This, IN EFI_HANDLE DispatchHandle)
Definition: MmGpiDispatch.h:96
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
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
Definition: Base.h:213