X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FSmmControl2.h;h=58df62aa6ecd0b77427adce6055e45e89ede2527;hb=fed5f4475948fd09cb71ba4c9f3918af1c3a7ba6;hp=59eccdf6c3348ddc3b43053b4e484227edcc8d8c;hpb=e3aad9b3d07cf67bd9a766e850d061ef66fa1f5a;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/SmmControl2.h b/MdePkg/Include/Protocol/SmmControl2.h index 59eccdf6c3..58df62aa6e 100644 --- a/MdePkg/Include/Protocol/SmmControl2.h +++ b/MdePkg/Include/Protocol/SmmControl2.h @@ -11,8 +11,8 @@ accessed, will generate the SMI. Also, the hardware optionally supports the periodic generation of these signals. - Copyright (c) 2009, Intel Corporation - All rights reserved. This program and the accompanying materials + Copyright (c) 2009 - 2011, 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 @@ -50,11 +50,12 @@ typedef UINTN EFI_SMM_PERIOD; @retval EFI_SUCCESS The SMI/PMI has been engendered. @retval EFI_DEVICE_ERROR The timing is unsupported. @retval EFI_INVALID_PARAMETER The activation period is unsupported. + @retval EFI_INVALID_PARAMETER The last periodic activation has not been cleared. @retval EFI_NOT_STARTED The SMM base service has not been initialized. **/ typedef EFI_STATUS -(EFIAPI *EFI_SMM_ACTIVATE)( +(EFIAPI *EFI_SMM_ACTIVATE2)( IN CONST EFI_SMM_CONTROL2_PROTOCOL *This, IN OUT UINT8 *CommandPort OPTIONAL, IN OUT UINT8 *DataPort OPTIONAL, @@ -76,7 +77,7 @@ EFI_STATUS **/ typedef EFI_STATUS -(EFIAPI *EFI_SMM_DEACTIVATE)( +(EFIAPI *EFI_SMM_DEACTIVATE2)( IN CONST EFI_SMM_CONTROL2_PROTOCOL *This, IN BOOLEAN Periodic OPTIONAL ); @@ -88,8 +89,8 @@ EFI_STATUS /// these signals. /// struct _EFI_SMM_CONTROL2_PROTOCOL { - EFI_SMM_ACTIVATE Trigger; - EFI_SMM_DEACTIVATE Clear; + EFI_SMM_ACTIVATE2 Trigger; + EFI_SMM_DEACTIVATE2 Clear; /// /// Minimum interval at which the platform can set the period. A maximum is not /// specified in that the SMM infrastructure code can emulate a maximum interval that is