]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/UnitTestHost.h
2 Unit Test Host functions.
4 Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef __UNIT_TEST_HOST_H__
10 #define __UNIT_TEST_HOST_H__
12 #include "BaseLibInternals.h"
13 #include <Library/UnitTestHostBaseLib.h>
16 Enables CPU interrupts.
21 UnitTestHostBaseLibEnableInterrupts (
26 Disables CPU interrupts.
31 UnitTestHostBaseLibDisableInterrupts (
36 Enables CPU interrupts for the smallest window required to capture any
42 UnitTestHostBaseLibEnableDisableInterrupts (
47 Set the current CPU interrupt state.
49 Sets the current CPU interrupt state to the state specified by
50 InterruptState. If InterruptState is TRUE, then interrupts are enabled. If
51 InterruptState is FALSE, then interrupts are disabled. InterruptState is
54 @param InterruptState TRUE if interrupts should enabled. FALSE if
55 interrupts should be disabled.
57 @return InterruptState
62 UnitTestHostBaseLibGetInterruptState (