TianoCore EDK2 master
Loading...
Searching...
No Matches
X86FxRestore.c
Go to the documentation of this file.
1
9#include "BaseLibInternals.h"
10
25VOID
26EFIAPI
28 IN CONST IA32_FX_BUFFER *Buffer
29 )
30{
31 ASSERT (Buffer != NULL);
32 ASSERT (0 == ((UINTN)Buffer & 0xf));
33
34 //
35 // Check the flag recorded by AsmFxSave()
36 //
37 ASSERT (0xAA5555AA == *(UINT32 *)(&Buffer->Buffer[sizeof (Buffer->Buffer) - 4]));
38
39 InternalX86FxRestore (Buffer);
40}
UINT64 UINTN
VOID EFIAPI InternalX86FxRestore(IN CONST IA32_FX_BUFFER *Buffer)
Definition: FxRestore.c:23
#define NULL
Definition: Base.h:319
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
VOID EFIAPI AsmFxRestore(IN CONST IA32_FX_BUFFER *Buffer)
Definition: X86FxRestore.c:27