X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FSmmStandbyButtonDispatch2.h;h=104e2a299e9f7727576b21f2e4bdb5c0a2bda67f;hb=419d98994418f2c8454cedf6269b35cfaa787f59;hp=0ca8f037800d244aef8ed32c5c6d7930b4932701;hpb=acee7e74f3819ab15e966a2568be3a60a2ff1ac8;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/SmmStandbyButtonDispatch2.h b/MdePkg/Include/Protocol/SmmStandbyButtonDispatch2.h index 0ca8f03780..104e2a299e 100644 --- a/MdePkg/Include/Protocol/SmmStandbyButtonDispatch2.h +++ b/MdePkg/Include/Protocol/SmmStandbyButtonDispatch2.h @@ -4,8 +4,8 @@ This protocol provides the parent dispatch service for the standby button SMI source generator. - Copyright (c) 2009, Intel Corporation - All rights reserved. This program and the accompanying materials + Copyright (c) 2009 - 2010, 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 http://opensource.org/licenses/bsd-license.php @@ -62,7 +62,7 @@ typedef struct _EFI_SMM_STANDBY_BUTTON_DISPATCH2_PROTOCOL EFI_SMM_STANDBY_BUTTON @param[in] This Pointer to the EFI_SMM_STANDBY_BUTTON_DISPATCH2_PROTOCOL instance. @param[in] DispatchFunction Function to register for handler when the standby button is pressed or released. - @param[in] RegisterContext Pointer to the dispatch function’s context. The caller fills in this context + @param[in] RegisterContext Pointer to the dispatch function's context. The caller fills in this context before calling the register function to indicate to the register function the standby button SMI source for which the dispatch function should be invoked. @param[out] DispatchHandle Handle generated by the dispatcher to track the function instance. @@ -76,7 +76,7 @@ typedef struct _EFI_SMM_STANDBY_BUTTON_DISPATCH2_PROTOCOL EFI_SMM_STANDBY_BUTTON **/ typedef EFI_STATUS -(EFIAPI *EFI_SMM_STANDBY_BUTTON_REGISTER)( +(EFIAPI *EFI_SMM_STANDBY_BUTTON_REGISTER2)( IN CONST EFI_SMM_STANDBY_BUTTON_DISPATCH2_PROTOCOL *This, IN EFI_SMM_HANDLER_ENTRY_POINT2 DispatchFunction, IN EFI_SMM_STANDBY_BUTTON_REGISTER_CONTEXT *RegisterContext, @@ -97,7 +97,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_SMM_STANDBY_BUTTON_UNREGISTER)( +(EFIAPI *EFI_SMM_STANDBY_BUTTON_UNREGISTER2)( IN CONST EFI_SMM_STANDBY_BUTTON_DISPATCH2_PROTOCOL *This, IN EFI_HANDLE DispatchHandle ); @@ -109,8 +109,8 @@ EFI_STATUS /// button SMI source generator. /// struct _EFI_SMM_STANDBY_BUTTON_DISPATCH2_PROTOCOL { - EFI_SMM_STANDBY_BUTTON_REGISTER Register; - EFI_SMM_STANDBY_BUTTON_UNREGISTER UnRegister; + EFI_SMM_STANDBY_BUTTON_REGISTER2 Register; + EFI_SMM_STANDBY_BUTTON_UNREGISTER2 UnRegister; }; extern EFI_GUID gEfiSmmStandbyButtonDispatch2ProtocolGuid;