X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkPkg%2FInclude%2FLibrary%2FSmmLib.h;h=b35a7ce692cf679183e1a19943483e5213074994;hp=76605fbb6f96fc1407318f326eff16617a231b46;hb=4fd13cd57d83b23011ed017e6410de1f30c04694;hpb=4a71b21a6375549aa514e4680449a29f9c64802f diff --git a/IntelFrameworkPkg/Include/Library/SmmLib.h b/IntelFrameworkPkg/Include/Library/SmmLib.h index 76605fbb6f..b35a7ce692 100644 --- a/IntelFrameworkPkg/Include/Library/SmmLib.h +++ b/IntelFrameworkPkg/Include/Library/SmmLib.h @@ -3,7 +3,7 @@ SMM Library Services that abstracts both S/W SMI generation and detection. - 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 @@ -45,13 +45,13 @@ TriggerRuntimeSoftwareSmi ( /** - Test if a boot time software SMI happens. + Test if a boot time software SMI happened. - This function tests if a software SMM interrupt happens. If a software SMM interrupt happens and - it is triggered at boot time, it returns TRUE. Otherwise, it returns FALSE. + This function tests if a software SMM interrupt happened. If a software SMM interrupt happened and + it was triggered at boot time, it returns TRUE. Otherwise, it returns FALSE. - @retval TRUE A software SMI triggered at boot time happens. - @retval FLASE No software SMI happens or the software SMI is triggered at run time. + @retval TRUE A software SMI triggered at boot time happened. + @retval FLASE No software SMI happened, or the software SMI was triggered at run time. **/ BOOLEAN @@ -62,13 +62,13 @@ IsBootServiceSoftwareSmi ( /** - Test if a run time software SMI happens. + Test if a run time software SMI happened. - This function tests if a software SMM interrupt happens. If a software SMM interrupt happens and - it is triggered at run time, it returns TRUE. Otherwise, it returns FALSE. + This function tests if a software SMM interrupt happened. If a software SMM interrupt happened and + it was triggered at run time, it returns TRUE. Otherwise, it returns FALSE. - @retval TRUE A software SMI triggered at run time happens. - @retval FLASE No software SMI happens or the software SMI is triggered at boot time. + @retval TRUE A software SMI triggered at run time happened. + @retval FLASE No software SMI happened or the software SMI was triggered at boot time. **/ BOOLEAN @@ -77,4 +77,15 @@ IsRuntimeSoftwareSmi ( VOID ); +/** + + Clear APM SMI Status Bit; Set the EOS bit. + +**/ + +VOID +EFIAPI +ClearSmi ( + VOID + ); #endif