vulcanos/kernel/cpu/idt.asm

7 lines
128 B
NASM
Raw Normal View History

2019-07-05 12:32:04 +02:00
global idt_flush ; for drivers/idt.c
section .text
idt_flush:
mov eax, [esp+4] ; Retrieve idt_ptr_t*
lidt [eax]
ret