TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmSwDispatch2.h
Go to the documentation of this file.
1
12#ifndef _SMM_SW_DISPATCH2_H_
13#define _SMM_SW_DISPATCH2_H_
14
16#include <Pi/PiSmmCis.h>
17
18#define EFI_SMM_SW_DISPATCH2_PROTOCOL_GUID EFI_MM_SW_DISPATCH_PROTOCOL_GUID
19
25typedef struct {
26 UINTN SwSmiInputValue;
28
35typedef struct {
47 UINT8 DataPort;
49
51
81typedef
83(EFIAPI *EFI_SMM_SW_REGISTER2)(
85 IN EFI_SMM_HANDLER_ENTRY_POINT2 DispatchFunction,
86 IN OUT EFI_SMM_SW_REGISTER_CONTEXT *RegisterContext,
87 OUT EFI_HANDLE *DispatchHandle
88 );
89
102typedef
104(EFIAPI *EFI_SMM_SW_UNREGISTER2)(
106 IN EFI_HANDLE DispatchHandle
107 );
108
117 EFI_SMM_SW_REGISTER2 Register;
118 EFI_SMM_SW_UNREGISTER2 UnRegister;
124};
125
126extern EFI_GUID gEfiSmmSwDispatch2ProtocolGuid;
127
128#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_SMM_SW_REGISTER2)(IN CONST EFI_SMM_SW_DISPATCH2_PROTOCOL *This, IN EFI_SMM_HANDLER_ENTRY_POINT2 DispatchFunction, IN OUT EFI_SMM_SW_REGISTER_CONTEXT *RegisterContext, OUT EFI_HANDLE *DispatchHandle)
EFI_STATUS(EFIAPI * EFI_SMM_SW_UNREGISTER2)(IN CONST EFI_SMM_SW_DISPATCH2_PROTOCOL *This, IN EFI_HANDLE DispatchHandle)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
Definition: Base.h:213