vulcanos/kernel/cpu/idt.asm
2019-07-05 12:32:04 +02:00

7 lines
128 B
NASM

global idt_flush ; for drivers/idt.c
section .text
idt_flush:
mov eax, [esp+4] ; Retrieve idt_ptr_t*
lidt [eax]
ret