TianoCore EDK2 master
Loading...
Searching...
No Matches
MmSwDispatch.h
Go to the documentation of this file.
1
12#ifndef _MM_SW_DISPATCH_H_
13#define _MM_SW_DISPATCH_H_
14
15#include <Pi/PiMmCis.h>
16
17#define EFI_MM_SW_DISPATCH_PROTOCOL_GUID \
18 { \
19 0x18a3c6dc, 0x5eea, 0x48c8, {0xa1, 0xc1, 0xb5, 0x33, 0x89, 0xf9, 0x89, 0x99 } \
20 }
21
27typedef struct {
28 UINTN SwMmiInputValue;
30
37typedef struct {
49 UINT8 DataPort;
51
53
83typedef
85(EFIAPI *EFI_MM_SW_REGISTER)(
87 IN EFI_MM_HANDLER_ENTRY_POINT DispatchFunction,
88 IN OUT EFI_MM_SW_REGISTER_CONTEXT *RegisterContext,
89 OUT EFI_HANDLE *DispatchHandle
90 );
91
104typedef
106(EFIAPI *EFI_MM_SW_UNREGISTER)(
108 IN EFI_HANDLE DispatchHandle
109 );
110
119 EFI_MM_SW_REGISTER Register;
120 EFI_MM_SW_UNREGISTER UnRegister;
126};
127
128extern EFI_GUID gEfiMmSwDispatchProtocolGuid;
129
130#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_SW_UNREGISTER)(IN CONST EFI_MM_SW_DISPATCH_PROTOCOL *This, IN EFI_HANDLE DispatchHandle)
Definition: MmSwDispatch.h:106
EFI_STATUS(EFIAPI * EFI_MM_SW_REGISTER)(IN CONST EFI_MM_SW_DISPATCH_PROTOCOL *This, IN EFI_MM_HANDLER_ENTRY_POINT DispatchFunction, IN OUT EFI_MM_SW_REGISTER_CONTEXT *RegisterContext, OUT EFI_HANDLE *DispatchHandle)
Definition: MmSwDispatch.h:85
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