TianoCore EDK2
master
Loading...
Searching...
No Matches
CpuDeadLoop.c
Go to the documentation of this file.
1
9
#include <Base.h>
10
#include <
Library/BaseLib.h
>
11
12
static
volatile
UINTN
mDeadLoopComparator = 0;
13
23
VOID
24
EFIAPI
25
CpuDeadLoop
(
26
VOID
27
)
28
{
29
volatile
UINTN
Index;
30
31
for
(Index = mDeadLoopComparator; Index == mDeadLoopComparator;) {
32
CpuPause
();
33
}
34
}
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
BaseLib.h
CpuPause
VOID EFIAPI CpuPause(VOID)
Definition:
CpuBreakpoint.c:118
CpuDeadLoop
VOID EFIAPI CpuDeadLoop(VOID)
Definition:
CpuDeadLoop.c:25
MdePkg
Library
BaseLib
CpuDeadLoop.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6