TianoCore EDK2
master
Loading...
Searching...
No Matches
X86FxSave.c
Go to the documentation of this file.
1
9
#include "
BaseLibInternals.h
"
10
24
VOID
25
EFIAPI
26
AsmFxSave
(
27
OUT
IA32_FX_BUFFER *Buffer
28
)
29
{
30
ASSERT (Buffer !=
NULL
);
31
ASSERT (0 == ((
UINTN
)Buffer & 0xf));
32
33
InternalX86FxSave
(Buffer);
34
35
//
36
// Mark one flag at end of Buffer, it will be check by AsmFxRestor()
37
//
38
*(UINT32 *)(&Buffer->Buffer[sizeof (Buffer->Buffer) - 4]) = 0xAA5555AA;
39
}
UINTN
UINT64 UINTN
Definition:
ProcessorBind.h:112
BaseLibInternals.h
InternalX86FxSave
VOID EFIAPI InternalX86FxSave(OUT IA32_FX_BUFFER *Buffer)
Definition:
FxSave.c:23
NULL
#define NULL
Definition:
Base.h:319
OUT
#define OUT
Definition:
Base.h:284
AsmFxSave
VOID EFIAPI AsmFxSave(OUT IA32_FX_BUFFER *Buffer)
Definition:
X86FxSave.c:26
MdePkg
Library
BaseLib
X86FxSave.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6