EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

IntelFrameworkPkg/Include/Protocol/SmmStandbyButtonDispatch.h

Go to the documentation of this file.
00001 
00023 #ifndef _EFI_SMM_STANDBY_BUTTON_DISPATCH_H_
00024 #define _EFI_SMM_STANDBY_BUTTON_DISPATCH_H_
00025 
00026 //
00027 // Share some common definitions with PI SMM
00028 //
00029 #include <Protocol/SmmStandbyButtonDispatch2.h>
00030 
00031 //
00032 // Global ID for the Standby Button SMI Protocol
00033 //
00034 #define EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL_GUID \
00035   { \
00036     0x78965b98, 0xb0bf, 0x449e, {0x8b, 0x22, 0xd2, 0x91, 0x4e, 0x49, 0x8a, 0x98 } \
00037   }
00038 
00039 typedef struct _EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL  EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL;
00040 
00041 //
00042 // Related Definitions
00043 //
00044 
00045 typedef struct {
00049   EFI_STANDBY_BUTTON_PHASE  Phase;
00050 } EFI_SMM_STANDBY_BUTTON_DISPATCH_CONTEXT;
00051 
00052 //
00053 // Member functions
00054 //
00055 
00066 typedef
00067 VOID
00068 (EFIAPI *EFI_SMM_STANDBY_BUTTON_DISPATCH)(
00069   IN  EFI_HANDLE                                DispatchHandle,
00070   IN  EFI_SMM_STANDBY_BUTTON_DISPATCH_CONTEXT   *DispatchContext
00071   );
00072 
00094 typedef
00095 EFI_STATUS
00096 (EFIAPI *EFI_SMM_STANDBY_BUTTON_REGISTER)(
00097   IN EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL          *This,
00098   IN EFI_SMM_STANDBY_BUTTON_DISPATCH                   DispatchFunction,
00099   IN EFI_SMM_STANDBY_BUTTON_DISPATCH_CONTEXT           *DispatchContext,
00100   OUT EFI_HANDLE                                       *DispatchHandle
00101   );
00102 
00116 typedef
00117 EFI_STATUS
00118 (EFIAPI *EFI_SMM_STANDBY_BUTTON_UNREGISTER)(
00119   IN EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL  *This,
00120   IN EFI_HANDLE                                DispatchHandle
00121   );
00122 
00123 //
00124 // Interface structure for the SMM Standby Button SMI Dispatch Protocol
00125 //
00130 struct _EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL {
00134   EFI_SMM_STANDBY_BUTTON_REGISTER   Register;\
00138   EFI_SMM_STANDBY_BUTTON_UNREGISTER UnRegister;
00139 };
00140 
00141 extern EFI_GUID gEfiSmmStandbyButtonDispatchProtocolGuid;
00142 
00143 #endif
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines