Added IDT driver
This commit is contained in:
7
kernel/cpu/idt.asm
Normal file
7
kernel/cpu/idt.asm
Normal file
@@ -0,0 +1,7 @@
|
||||
global idt_flush ; for drivers/idt.c
|
||||
|
||||
section .text
|
||||
idt_flush:
|
||||
mov eax, [esp+4] ; Retrieve idt_ptr_t*
|
||||
lidt [eax]
|
||||
ret
|
||||
Reference in New Issue
Block a user