]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkPkg/Include/Protocol/SmmGpiDispatch.h
Clean up to update the reference of the these macros:
[mirror_edk2.git] / IntelFrameworkPkg / Include / Protocol / SmmGpiDispatch.h
index 7454bcc6851857c20dcd55e9adf5211d3e75e10b..70d9ef641c45d31d0fa3c424797daeeb6209b769 100644 (file)
@@ -1,6 +1,9 @@
 /** @file\r
   This file declares Smm Gpi Smi Child Protocol\r
-\r
+  The EFI_SMM_GPI_DISPATCH_PROTOCOL provides the ability to install child handlers for the\r
+  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) 2007, Intel Corporation\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -21,6 +24,8 @@
 #ifndef _EFI_SMM_GPI_DISPATCH_H_\r
 #define _EFI_SMM_GPI_DISPATCH_H_\r
 \r
+#include <PiDxe.h>\r
+\r
 //\r
 // Global ID for the GPI SMI Protocol\r
 //\r
@@ -62,7 +67,7 @@ typedef struct {
 **/\r
 typedef\r
 VOID\r
-(EFIAPI *EFI_SMM_GPI_DISPATCH) (\r
+(EFIAPI *EFI_SMM_GPI_DISPATCH)(\r
   IN  EFI_HANDLE                    DispatchHandle,\r
   IN  EFI_SMM_GPI_DISPATCH_CONTEXT  *DispatchContext\r
   );\r
@@ -92,7 +97,7 @@ VOID
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_SMM_GPI_REGISTER) (\r
+(EFIAPI *EFI_SMM_GPI_REGISTER)(\r
   IN EFI_SMM_GPI_DISPATCH_PROTOCOL            *This,\r
   IN  EFI_SMM_GPI_DISPATCH                    DispatchFunction,\r
   IN  EFI_SMM_GPI_DISPATCH_CONTEXT            *DispatchContext,\r
@@ -115,7 +120,7 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_SMM_GPI_UNREGISTER) (\r
+(EFIAPI *EFI_SMM_GPI_UNREGISTER)(\r
   IN EFI_SMM_GPI_DISPATCH_PROTOCOL            *This,\r
   IN  EFI_HANDLE                              DispatchHandle\r
   );\r