jankos/gdt.s

9 lines
113 B
ArmAsm

global load_gdt
; lgdt can only be used from assembly so here we are
extern GDT_PTR
load_gdt:
lgdt [eax]
ret