TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
VOID EFIAPI | UnitTestHostBaseLibEnableInterrupts (VOID) |
VOID EFIAPI | UnitTestHostBaseLibDisableInterrupts (VOID) |
VOID EFIAPI | UnitTestHostBaseLibEnableDisableInterrupts (VOID) |
BOOLEAN EFIAPI | UnitTestHostBaseLibGetInterruptState (VOID) |
Unit Test Host functions.
Copyright (c) 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file UnitTestHost.h.
VOID EFIAPI UnitTestHostBaseLibDisableInterrupts | ( | VOID | ) |
Disables CPU interrupts.
Definition at line 35 of file UnitTestHost.c.
VOID EFIAPI UnitTestHostBaseLibEnableDisableInterrupts | ( | VOID | ) |
Enables CPU interrupts for the smallest window required to capture any pending interrupts.
Definition at line 49 of file UnitTestHost.c.
VOID EFIAPI UnitTestHostBaseLibEnableInterrupts | ( | VOID | ) |
Enables CPU interrupts.
Definition at line 22 of file UnitTestHost.c.
BOOLEAN EFIAPI UnitTestHostBaseLibGetInterruptState | ( | VOID | ) |
Set the current CPU interrupt state.
Sets the current CPU interrupt state to the state specified by InterruptState. If InterruptState is TRUE, then interrupts are enabled. If InterruptState is FALSE, then interrupts are disabled. InterruptState is returned.
InterruptState | TRUE if interrupts should enabled. FALSE if interrupts should be disabled. |
Definition at line 72 of file UnitTestHost.c.