TianoCore EDK2 master
Loading...
Searching...
No Matches
MmPowerButtonDispatch.h
Go to the documentation of this file.
1
15#ifndef _MM_POWER_BUTTON_DISPATCH_H_
16#define _MM_POWER_BUTTON_DISPATCH_H_
17
18#include <Pi/PiMmCis.h>
19
20#define EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL_GUID \
21 { \
22 0x1b1183fa, 0x1823, 0x46a7, {0x88, 0x72, 0x9c, 0x57, 0x87, 0x55, 0x40, 0x9d } \
23 }
24
28typedef enum {
29 EfiPowerButtonEntry,
30 EfiPowerButtonExit,
31 EfiPowerButtonMax
33
37typedef struct {
43
45
70typedef
74 IN EFI_MM_HANDLER_ENTRY_POINT DispatchFunction,
76 OUT EFI_HANDLE *DispatchHandle
77 );
78
91typedef
95 IN EFI_HANDLE DispatchHandle
96 );
97
106};
107
108extern EFI_GUID gEfiMmPowerButtonDispatchProtocolGuid;
109
110#endif
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_POWER_BUTTON_PHASE
EFI_STATUS(EFIAPI * EFI_MM_POWER_BUTTON_REGISTER)(IN CONST EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL *This, IN EFI_MM_HANDLER_ENTRY_POINT DispatchFunction, IN EFI_MM_POWER_BUTTON_REGISTER_CONTEXT *RegisterContext, OUT EFI_HANDLE *DispatchHandle)
EFI_STATUS(EFIAPI * EFI_MM_POWER_BUTTON_UNREGISTER)(IN CONST EFI_MM_POWER_BUTTON_DISPATCH_PROTOCOL *This, IN EFI_HANDLE DispatchHandle)
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