TianoCore EDK2
master
Loading...
Searching...
No Matches
MmSxDispatch.h
Go to the documentation of this file.
1
12
#ifndef _MM_SX_DISPATCH_H_
13
#define _MM_SX_DISPATCH_H_
14
15
#include <
Pi/PiMmCis.h
>
16
17
#define EFI_MM_SX_DISPATCH_PROTOCOL_GUID \
18
{ \
19
0x456d2859, 0xa84b, 0x4e47, {0xa2, 0xee, 0x32, 0x76, 0xd8, 0x86, 0x99, 0x7d } \
20
}
21
25
typedef
enum
{
26
SxS0,
27
SxS1,
28
SxS2,
29
SxS3,
30
SxS4,
31
SxS5,
32
EfiMaximumSleepType
33
}
EFI_SLEEP_TYPE
;
34
38
typedef
enum
{
39
SxEntry,
40
SxExit,
41
EfiMaximumPhase
42
}
EFI_SLEEP_PHASE
;
43
47
typedef
struct
{
48
EFI_SLEEP_TYPE
Type;
49
EFI_SLEEP_PHASE
Phase;
50
}
EFI_MM_SX_REGISTER_CONTEXT
;
51
52
typedef
struct
_EFI_MM_SX_DISPATCH_PROTOCOL
EFI_MM_SX_DISPATCH_PROTOCOL
;
53
84
typedef
85
EFI_STATUS
86
(EFIAPI *
EFI_MM_SX_REGISTER
)(
87
IN
CONST
EFI_MM_SX_DISPATCH_PROTOCOL
*This,
88
IN
EFI_MM_HANDLER_ENTRY_POINT
DispatchFunction,
89
IN
CONST
EFI_MM_SX_REGISTER_CONTEXT
*RegisterContext,
90
OUT
EFI_HANDLE
*DispatchHandle
91
);
92
105
typedef
106
EFI_STATUS
107
(EFIAPI *
EFI_MM_SX_UNREGISTER
)(
108
IN
CONST
EFI_MM_SX_DISPATCH_PROTOCOL
*This,
109
IN
EFI_HANDLE
DispatchHandle
110
);
111
118
struct
_EFI_MM_SX_DISPATCH_PROTOCOL
{
119
EFI_MM_SX_REGISTER
Register;
120
EFI_MM_SX_UNREGISTER
UnRegister;
121
};
122
123
extern
EFI_GUID
gEfiMmSxDispatchProtocolGuid;
124
125
#endif
CONST
#define CONST
Definition:
Base.h:259
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EFI_MM_SX_REGISTER
EFI_STATUS(EFIAPI * EFI_MM_SX_REGISTER)(IN CONST EFI_MM_SX_DISPATCH_PROTOCOL *This, IN EFI_MM_HANDLER_ENTRY_POINT DispatchFunction, IN CONST EFI_MM_SX_REGISTER_CONTEXT *RegisterContext, OUT EFI_HANDLE *DispatchHandle)
Definition:
MmSxDispatch.h:86
EFI_MM_SX_UNREGISTER
EFI_STATUS(EFIAPI * EFI_MM_SX_UNREGISTER)(IN CONST EFI_MM_SX_DISPATCH_PROTOCOL *This, IN EFI_HANDLE DispatchHandle)
Definition:
MmSxDispatch.h:107
EFI_SLEEP_TYPE
EFI_SLEEP_TYPE
Definition:
MmSxDispatch.h:25
EFI_SLEEP_PHASE
EFI_SLEEP_PHASE
Definition:
MmSxDispatch.h:38
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_SX_DISPATCH_PROTOCOL
Definition:
MmSxDispatch.h:118
EFI_MM_SX_REGISTER_CONTEXT
Definition:
MmSxDispatch.h:47
GUID
Definition:
Base.h:213
MdePkg
Include
Protocol
MmSxDispatch.h
Generated on Fri Nov 15 2024 18:01:16 for TianoCore EDK2 by
1.9.6