diff options
author | lgr <lgr@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-01 15:55:08 +0000 |
---|---|---|
committer | lgr <lgr@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-01 15:55:08 +0000 |
commit | c3b35b6099ee24eef770a36cfb6de20cc151faa8 (patch) | |
tree | bbf56c12acf40f7b801f0b7067970c6df97e1a75 /IntelFrameworkPkg | |
parent | 1919913f7bf6652f4b7dcf4309824204f79306d1 (diff) | |
download | edk2-c3b35b6099ee24eef770a36cfb6de20cc151faa8.zip edk2-c3b35b6099ee24eef770a36cfb6de20cc151faa8.tar.gz edk2-c3b35b6099ee24eef770a36cfb6de20cc151faa8.tar.bz2 |
Per code review, Update Doxygen comments - restore reference to framework spec in header, add /// comments from spec to data and protocol structs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8703 6f19259b-4bc3-4df7-8a09-765794883524
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 188e950..78c6ff8 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;
};
|