TianoCore EDK2 master
Loading...
Searching...
No Matches
Mwait.c
Go to the documentation of this file.
1
24EFIAPI
26 IN UINTN RegisterEax,
27 IN UINTN RegisterEcx
28 )
29{
30 _asm {
31 mov eax, RegisterEax
32 mov ecx, RegisterEcx
33 _emit 0x0f // mwait
34 _emit 0x01
35 _emit 0xC9
36 }
37}
UINT64 UINTN
#define IN
Definition: Base.h:279
UINTN EFIAPI AsmMwait(IN UINTN RegisterEax, IN UINTN RegisterEcx)
Definition: Mwait.c:25