]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/SmmGpiDispatch2.h
* MdePkg: Move SIO header files to correct location.
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmGpiDispatch2.h
index 338e1b2a1cfe3a0b318e1c913ff05799db473fc9..65be0ce7cf20bc7283de1230b6547c8647e9e885 100644 (file)
@@ -9,8 +9,8 @@
   given event types.  Several inputs can be enabled.  This purpose of this interface is to generate an \r
   SMI in response to any of these inputs having a true value provided.\r
 \r
-  Copyright (c) 2009, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -38,8 +38,9 @@
 ///\r
 typedef struct {\r
   ///\r
-  /// A bit mask of 64 possible GPIs that can generate an SMI.  Bit 0 corresponds to logical \r
-  /// GPI[0], 1 corresponds to logical GPI[1], and so on.\r
+  /// A number from one of 2^64 possible GPIs that can generate an SMI. A\r
+  /// 0 corresponds to logical GPI[0]; 1 corresponds to logical GPI[1]; and\r
+  /// GpiNum of N corresponds to GPI[N], where N can span from 0 to 2^64-1.\r
   ///\r
   UINT64 GpiNum;\r
 } EFI_SMM_GPI_REGISTER_CONTEXT;\r
@@ -77,7 +78,7 @@ typedef struct _EFI_SMM_GPI_DISPATCH2_PROTOCOL EFI_SMM_GPI_DISPATCH2_PROTOCOL;
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_SMM_GPI_REGISTER)(\r
+(EFIAPI *EFI_SMM_GPI_REGISTER2)(\r
   IN CONST EFI_SMM_GPI_DISPATCH2_PROTOCOL  *This,\r
   IN       EFI_SMM_HANDLER_ENTRY_POINT2    DispatchFunction,\r
   IN CONST EFI_SMM_GPI_REGISTER_CONTEXT    *RegisterContext,\r
@@ -98,7 +99,7 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_SMM_GPI_UNREGISTER)(\r
+(EFIAPI *EFI_SMM_GPI_UNREGISTER2)(\r
   IN CONST EFI_SMM_GPI_DISPATCH2_PROTOCOL  *This,\r
   IN       EFI_HANDLE                      DispatchHandle\r
   );\r
@@ -110,8 +111,8 @@ EFI_STATUS
 /// for the General Purpose Input (GPI) SMI source generator.\r
 ///\r
 struct _EFI_SMM_GPI_DISPATCH2_PROTOCOL {\r
-  EFI_SMM_GPI_REGISTER    Register;\r
-  EFI_SMM_GPI_UNREGISTER  UnRegister;\r
+  EFI_SMM_GPI_REGISTER2    Register;\r
+  EFI_SMM_GPI_UNREGISTER2  UnRegister;\r
   ///\r
   /// Denotes the maximum value of inputs that can have handlers attached.\r
   ///\r