]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/SmmPowerButtonDispatch2.h
MdePkg: Add definition for new warning code EFI_WARN_FILE_SYSTEM.
[mirror_edk2.git] / MdePkg / Include / Protocol / SmmPowerButtonDispatch2.h
index 5a529a10a2376aad53d9777033c3ef8f1c502cae..ef4626a693c026e4f0c663c3aea5a4aa922d42c5 100644 (file)
@@ -4,8 +4,8 @@
 \r
   This protocol provides the parent dispatch service for the power button SMI source generator.\r
 \r
-  Copyright (c) 2009, Intel Corporation\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
   http://opensource.org/licenses/bsd-license.php\r
@@ -61,7 +61,7 @@ typedef struct _EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL EFI_SMM_POWER_BUTTON_DIS
 \r
   @param[in]  This               Pointer to the EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL instance.\r
   @param[in]  DispatchFunction   Function to register for handler when power button is pressed or released.\r
-  @param[in]  RegisterContext    Pointer to the dispatch function\92s context. The caller fills in this context\r
+  @param[in]  RegisterContext    Pointer to the dispatch function's context. The caller fills in this context\r
                                  before calling the Register() function to indicate to the Register() function\r
                                  the power button SMI phase for which the dispatch function should be invoked.\r
   @param[out] DispatchHandle     Handle generated by the dispatcher to track the function instance. \r
@@ -75,7 +75,7 @@ typedef struct _EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL EFI_SMM_POWER_BUTTON_DIS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_SMM_POWER_BUTTON_REGISTER)(\r
+(EFIAPI *EFI_SMM_POWER_BUTTON_REGISTER2)(\r
   IN CONST EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL  *This,\r
   IN       EFI_SMM_HANDLER_ENTRY_POINT2             DispatchFunction,\r
   IN       EFI_SMM_POWER_BUTTON_REGISTER_CONTEXT    *RegisterContext,\r
@@ -96,7 +96,7 @@ EFI_STATUS
 **/\r
 typedef\r
 EFI_STATUS\r
-(EFIAPI *EFI_SMM_POWER_BUTTON_UNREGISTER)(\r
+(EFIAPI *EFI_SMM_POWER_BUTTON_UNREGISTER2)(\r
   IN CONST EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL  *This,\r
   IN       EFI_HANDLE                               DispatchHandle\r
   );\r
@@ -107,8 +107,8 @@ EFI_STATUS
 /// This protocol provides the parent dispatch service for the power button SMI source generator.\r
 ///\r
 struct _EFI_SMM_POWER_BUTTON_DISPATCH2_PROTOCOL {\r
-  EFI_SMM_POWER_BUTTON_REGISTER    Register;\r
-  EFI_SMM_POWER_BUTTON_UNREGISTER  UnRegister;\r
+  EFI_SMM_POWER_BUTTON_REGISTER2    Register;\r
+  EFI_SMM_POWER_BUTTON_UNREGISTER2  UnRegister;\r
 };\r
 \r
 extern EFI_GUID gEfiSmmPowerButtonDispatch2ProtocolGuid;\r