TianoCore EDK2 master
Loading...
Searching...
No Matches
WriteGdtr.c
Go to the documentation of this file.
1
9#include "BaseLibInternals.h"
10
20VOID
21EFIAPI
23 IN CONST IA32_DESCRIPTOR *Gdtr
24 )
25{
26 _asm {
27 mov eax, Gdtr
28 lgdt fword ptr [eax]
29 }
30}
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
VOID EFIAPI InternalX86WriteGdtr(IN CONST IA32_DESCRIPTOR *Gdtr)
Definition: WriteGdtr.c:22