aboutsummaryrefslogtreecommitdiff
path: root/src/interrupts/idt.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/interrupts/idt.asm')
-rw-r--r--src/interrupts/idt.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/interrupts/idt.asm b/src/interrupts/idt.asm
new file mode 100644
index 0000000..90eab47
--- /dev/null
+++ b/src/interrupts/idt.asm
@@ -0,0 +1,6 @@
+; IDT loader
+global idt_load
+extern idtp
+idt_load:
+ lidt [idtp]
+ ret