summaryrefslogtreecommitdiff
path: root/IntelFrameworkPkg
diff options
context:
space:
mode:
authorrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-16 05:28:57 +0000
committerrsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-16 05:28:57 +0000
commitb530f741ba88b5cc6fd81e4eccc515f54155fbf5 (patch)
tree999628335802a3f6b79b632fcf9c352938e57203 /IntelFrameworkPkg
parent6f4d7557e485586ee0338c838cc6b7df7e56f469 (diff)
downloadedk2-platforms-b530f741ba88b5cc6fd81e4eccc515f54155fbf5.tar.xz
Comment update.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8572 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkPkg')
-rw-r--r--IntelFrameworkPkg/Include/Protocol/SmmGpiDispatch.h45
1 files changed, 15 insertions, 30 deletions
diff --git a/IntelFrameworkPkg/Include/Protocol/SmmGpiDispatch.h b/IntelFrameworkPkg/Include/Protocol/SmmGpiDispatch.h
index d93272e214..b9df94dbfc 100644
--- a/IntelFrameworkPkg/Include/Protocol/SmmGpiDispatch.h
+++ b/IntelFrameworkPkg/Include/Protocol/SmmGpiDispatch.h
@@ -1,10 +1,12 @@
/** @file
- This file declares Smm Gpi Smi Child Protocol
- The EFI_SMM_GPI_DISPATCH_PROTOCOL provides the ability to install child handlers for the
- given event types. Several inputs can be enabled. This purpose of this interface is to generate an
+ This file declares Smm Gpi Smi Child Protocol.
+
+ The EFI_SMM_GPI_DISPATCH_PROTOCOL is defined in Framework of EFI SMM Core Interface Spec
+ Version 0.9. It provides the ability to install child handlers for the given event types.
+ Several inputs can be enabled. This purpose of this interface is to generate an
SMI in response to any of these inputs having a true value provided.
- Copyright (c) 2007, Intel Corporation
+ Copyright (c) 2007 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -13,16 +15,10 @@
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
- Module Name: SmmGpiDispatch.h
-
- @par Revision Reference:
- This Protocol is defined in Framework of EFI SMM Core Interface Spec
- Version 0.9.
-
**/
-#ifndef _EFI_SMM_GPI_DISPATCH_H_
-#define _EFI_SMM_GPI_DISPATCH_H_
+#ifndef _SMM_GPI_DISPATCH_H_
+#define _SMM_GPI_DISPATCH_H_
#include <PiDxe.h>
@@ -39,6 +35,7 @@ typedef struct _EFI_SMM_GPI_DISPATCH_PROTOCOL EFI_SMM_GPI_DISPATCH_PROTOCOL;
//
// Related Definitions
//
+
//
// GpiMask is a bit mask of 32 possible general purpose inputs that can generate a
// a SMI. Bit 0 corresponds to logical GPI[0], 1 corresponds to logical GPI[1], etc.
@@ -54,6 +51,7 @@ typedef struct {
//
// Member functions
//
+
/**
Dispatch function for a GPI SMI handler.
@@ -61,9 +59,6 @@ typedef struct {
@param DispatchContext Pointer to the dispatch function's context.
The DispatchContext fields are filled in by the dispatching driver prior to
invoking this dispatch function.
-
- @return None
-
**/
typedef
VOID
@@ -126,27 +121,17 @@ EFI_STATUS
//
// Interface structure for the SMM GPI SMI Dispatch Protocol
//
-/**
- @par Protocol Description:
- Provides the parent dispatch service for the General Purpose Input
- (GPI) SMI source generator.
-
- @param Register
- Installs a child service to be dispatched by this protocol.
-
- @param UnRegister
- Removes a child service dispatched by this protocol.
-
- @param NumSupportedGpis
- Denotes the maximum value of inputs that can have handlers attached.
-
-**/
struct _EFI_SMM_GPI_DISPATCH_PROTOCOL {
EFI_SMM_GPI_REGISTER Register;
EFI_SMM_GPI_UNREGISTER UnRegister;
+
+ //
+ // Denotes the maximum value of inputs that can have handlers attached.
+ //
UINTN NumSupportedGpis;
};
extern EFI_GUID gEfiSmmGpiDispatchProtocolGuid;
#endif
+