jankos/idt.s

8 lines
136 B
ArmAsm

global load_idt
load_idt:
; takes the address of the first element in the Interrupt descriptor table
mov eax, [esp+4]
lidt eax
ret