VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseLib/UnitTestHost.h@ 107675

最後變更 在這個檔案從107675是 89983,由 vboxsync 提交於 4 年 前

Devices/EFI: Merge edk-stable202105 and openssl 1.1.1j and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.1 KB
 
1/** @file
2 Unit Test Host functions.
3
4 Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef __UNIT_TEST_HOST_H__
10#define __UNIT_TEST_HOST_H__
11
12#include "BaseLibInternals.h"
13#include <Library/UnitTestHostBaseLib.h>
14
15/**
16 Enables CPU interrupts.
17
18**/
19VOID
20EFIAPI
21UnitTestHostBaseLibEnableInterrupts (
22 VOID
23 );
24
25/**
26 Disables CPU interrupts.
27
28**/
29VOID
30EFIAPI
31UnitTestHostBaseLibDisableInterrupts (
32 VOID
33 );
34
35/**
36 Enables CPU interrupts for the smallest window required to capture any
37 pending interrupts.
38
39**/
40VOID
41EFIAPI
42UnitTestHostBaseLibEnableDisableInterrupts (
43 VOID
44 );
45
46/**
47 Set the current CPU interrupt state.
48
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
52 returned.
53
54 @param InterruptState TRUE if interrupts should enabled. FALSE if
55 interrupts should be disabled.
56
57 @return InterruptState
58
59**/
60BOOLEAN
61EFIAPI
62UnitTestHostBaseLibGetInterruptState (
63 VOID
64 );
65
66#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette