]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Protocol/SmmGpiDispatch.h
Minor code enhancement.
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / SmmGpiDispatch.h
index b9df94dbfcb2cfa15afb7e9f2640e759486f8f0a..3c742dc070f24cf9a9fac7d4b50f219992f94cb9 100644 (file)
@@ -20,7 +20,6 @@
 #ifndef _SMM_GPI_DISPATCH_H_\r
 #define _SMM_GPI_DISPATCH_H_\r
 \r
-#include <PiDxe.h>\r
 \r
 //\r
 // Global ID for the GPI SMI Protocol\r
@@ -37,8 +36,8 @@ typedef struct _EFI_SMM_GPI_DISPATCH_PROTOCOL  EFI_SMM_GPI_DISPATCH_PROTOCOL;
 //\r
 \r
 //\r
-// GpiMask is a bit mask of 32 possible general purpose inputs that can generate a\r
-// a SMI.  Bit 0 corresponds to logical GPI[0], 1 corresponds to logical GPI[1], etc.\r
+// GpiMask is a bit mask of 32 possible general purpose inputs that can generate \r
+// an SMI. Bit 0 corresponds to logical GPI[0], 1 corresponds to logical GPI[1], and so on.\r
 //\r
 // The logical GPI index to physical pin on device is described by the GPI device name\r
 // found on the same handle as the GpiSmi child dispatch protocol.  The GPI device name\r
@@ -73,8 +72,7 @@ VOID
   @param  This                  Pointer to the EFI_SMM_GPI_DISPATCH_PROTOCOL instance.\r
   @param  DispatchFunction      Function to install.\r
   @param  DispatchContext       Pointer to the dispatch function's context.\r
-                                The caller fills this context in before calling\r
-                                the register function to indicate to the register\r
+                                Indicates to the register\r
                                 function the GPI(s) for which the dispatch function\r
                                 should be invoked.\r
   @param  DispatchHandle        Handle generated by the dispatcher to track the \r
@@ -125,9 +123,9 @@ struct _EFI_SMM_GPI_DISPATCH_PROTOCOL {
   EFI_SMM_GPI_REGISTER    Register;\r
   EFI_SMM_GPI_UNREGISTER  UnRegister;\r
 \r
-  //\r
-  // Denotes the maximum value of inputs that can have handlers attached.\r
-  //\r
+  ///\r
+  /// Denotes the maximum value of inputs that can have handlers attached.\r
+  ///\r
   UINTN                   NumSupportedGpis;\r
 };\r
 \r