diff options
Diffstat (limited to 'IntelFrameworkPkg')
-rw-r--r-- | IntelFrameworkPkg/Include/Protocol/SmmStandbyButtonDispatch.h | 37 |
1 files changed, 24 insertions, 13 deletions
diff --git a/IntelFrameworkPkg/Include/Protocol/SmmStandbyButtonDispatch.h b/IntelFrameworkPkg/Include/Protocol/SmmStandbyButtonDispatch.h index 188e950f9f..78c6ff844f 100644 --- a/IntelFrameworkPkg/Include/Protocol/SmmStandbyButtonDispatch.h +++ b/IntelFrameworkPkg/Include/Protocol/SmmStandbyButtonDispatch.h @@ -5,7 +5,7 @@ the Intel Platform Innovation Framework for EFI SMM Core Interface Specification
(SMM CIS) Version 0.9.
- 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
@@ -14,6 +14,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.
+ @par Revision Reference:
+ This Protocol is defined in Framework of EFI SMM Core Interface Spec
+ Version 0.9.
+
**/
#ifndef _EFI_SMM_STANDBY_BUTTON_DISPATCH_H_
@@ -35,22 +39,20 @@ typedef struct _EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL EFI_SMM_STANDBY_BUTTON // Related Definitions
//
-//
-// Standby Button. Example, Use for changing LEDs before ACPI OS is on.
-// - DXE/BDS Phase
-// - OS Install Phase
-//
+///
+/// Standby Button. Example, Use for changing LEDs before ACPI OS is on.
+/// - DXE/BDS Phase
+/// - OS Install Phase
+///
typedef enum {
EfiStandbyButtonEntry,
EfiStandbyButtonExit
} EFI_STANDBY_BUTTON_PHASE;
typedef struct {
- //
- // Describes whether the child handler should be invoked upon the entry to the button
- // activation or upon exit (i.e., upon receipt of the button press event or upon release of
- // the event).
- //
+ /// Describes whether the child handler should be invoked upon the entry to the button
+ /// activation or upon exit (i.e., upon receipt of the button press event or upon release of
+ /// the event).
EFI_STANDBY_BUTTON_PHASE Phase;
} EFI_SMM_STANDBY_BUTTON_DISPATCH_CONTEXT;
@@ -128,9 +130,18 @@ EFI_STATUS //
// Interface structure for the SMM Standby Button SMI Dispatch Protocol
//
-
+/**
+ This protocol provices the parent dispatch service for the standby button SMI source generator.
+ Provides the ability to install child handlers for the given event types.
+ **/
struct _EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL {
- EFI_SMM_STANDBY_BUTTON_REGISTER Register;
+ ///
+ /// Installs a child service to be dispatched by this protocol.
+ ///
+ EFI_SMM_STANDBY_BUTTON_REGISTER Register;\
+ ///
+ /// Removes a child service dispatched by this protocol.
+ ///
EFI_SMM_STANDBY_BUTTON_UNREGISTER UnRegister;
};
|