aboutsummaryrefslogtreecommitdiff
path: root/src/interrupts/idt.asm
diff options
context:
space:
mode:
authorMarvin Borner2019-09-15 12:52:02 +0200
committerMarvin Borner2019-09-15 12:52:02 +0200
commit46fb7adb706bd92c04ea1d578a167cf5dd3f0f16 (patch)
tree16b87c4875b727c55159994670f074dd0329a45a /src/interrupts/idt.asm
parent16913b711ad5e21392669cc65eb5eebdcc31e14c (diff)
Added interrupt service routines and interrupt requests
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