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

MdePkg/Include/Protocol/SmmGpiDispatch2.h

Go to the documentation of this file.
00001 
00026 #ifndef _SMM_GPI_DISPATCH2_H_
00027 #define _SMM_GPI_DISPATCH2_H_
00028 
00029 #include <Pi/PiSmmCis.h>
00030 
00031 #define EFI_SMM_GPI_DISPATCH2_PROTOCOL_GUID \
00032   { \
00033     0x25566b03, 0xb577, 0x4cbf, {0x95, 0x8c, 0xed, 0x66, 0x3e, 0xa2, 0x43, 0x80 } \
00034   }
00035 
00039 typedef struct {
00044   UINT64 GpiNum;
00045 } EFI_SMM_GPI_REGISTER_CONTEXT;
00046 
00047 typedef struct _EFI_SMM_GPI_DISPATCH2_PROTOCOL EFI_SMM_GPI_DISPATCH2_PROTOCOL;
00048 
00078 typedef
00079 EFI_STATUS
00080 (EFIAPI *EFI_SMM_GPI_REGISTER2)(
00081   IN CONST EFI_SMM_GPI_DISPATCH2_PROTOCOL  *This,
00082   IN       EFI_SMM_HANDLER_ENTRY_POINT2    DispatchFunction,
00083   IN CONST EFI_SMM_GPI_REGISTER_CONTEXT    *RegisterContext,
00084   OUT      EFI_HANDLE                      *DispatchHandle
00085   );
00086 
00099 typedef
00100 EFI_STATUS
00101 (EFIAPI *EFI_SMM_GPI_UNREGISTER2)(
00102   IN CONST EFI_SMM_GPI_DISPATCH2_PROTOCOL  *This,
00103   IN       EFI_HANDLE                      DispatchHandle
00104   );
00105 
00112 struct _EFI_SMM_GPI_DISPATCH2_PROTOCOL {
00113   EFI_SMM_GPI_REGISTER2    Register;
00114   EFI_SMM_GPI_UNREGISTER2  UnRegister;
00118   UINTN                   NumSupportedGpis;
00119 };
00120 
00121 extern EFI_GUID gEfiSmmGpiDispatch2ProtocolGuid;
00122 
00123 #endif
00124 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines