TianoCore EDK2 master
Loading...
Searching...
No Matches
SmmLibNull.c File Reference
#include <Base.h>
#include <Library/SmmLib.h>

Go to the source code of this file.

Functions

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

Detailed Description

NULL instance of SMM Library.

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

Definition in file SmmLibNull.c.

Function Documentation

◆ ClearSmi()

VOID EFIAPI ClearSmi ( VOID  )

Clear APM SMI Status Bit; Set the EOS bit.

Definition at line 88 of file SmmLibNull.c.

◆ IsBootServiceSoftwareSmi()

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.

Definition at line 55 of file SmmLibNull.c.

◆ IsRuntimeSoftwareSmi()

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.

Definition at line 75 of file SmmLibNull.c.

◆ TriggerBootServiceSoftwareSmi()

VOID EFIAPI TriggerBootServiceSoftwareSmi ( VOID  )

Triggers an SMI at boot time.

This function triggers a software SMM interrupt at boot time.

Definition at line 20 of file SmmLibNull.c.

◆ TriggerRuntimeSoftwareSmi()

VOID EFIAPI TriggerRuntimeSoftwareSmi ( VOID  )

Triggers an SMI at run time.

This function triggers a software SMM interrupt at run time.

Definition at line 35 of file SmmLibNull.c.