MdePkg[all]  1.08
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
SmmLib.h File Reference

Functions

VOID EFIAPI TriggerBootServiceSoftwareSmi (VOID)
 
VOID EFIAPI TriggerRuntimeSoftwareSmi (VOID)
 
BOOLEAN EFIAPI IsBootServiceSoftwareSmi (VOID)
 
BOOLEAN EFIAPI IsRuntimeSoftwareSmi (VOID)
 
VOID EFIAPI ClearSmi (VOID)
 

Detailed Description

Library class name: SmmLib

SMM Library Services that abstracts both S/W SMI generation and detection.

Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Function Documentation

VOID EFIAPI ClearSmi ( VOID  )

Clear APM SMI Status Bit; Set the EOS bit.

BOOLEAN EFIAPI IsBootServiceSoftwareSmi ( VOID  )

Test if a boot time software SMI happened.

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.

Return values
TRUEA software SMI triggered at boot time happened.
FALSENo software SMI happened, or the software SMI was triggered at run time.
BOOLEAN EFIAPI IsRuntimeSoftwareSmi ( VOID  )

Test if a run time software SMI happened.

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.

Return values
TRUEA software SMI triggered at run time happened.
FALSENo software SMI happened or the software SMI was triggered at boot time.
VOID EFIAPI TriggerBootServiceSoftwareSmi ( VOID  )

Triggers an SMI at boot time.

This function triggers a software SMM interrupt at boot time.

VOID EFIAPI TriggerRuntimeSoftwareSmi ( VOID  )

Triggers an SMI at run time.

This function triggers a software SMM interrupt at run time.