aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/interrupts/idt.asm
diff options
context:
space:
mode:
authorMarvin Borner2019-09-19 19:56:59 +0200
committerMarvin Borner2019-09-19 20:05:38 +0200
commit05e1fedcc9cd30d1a34a65e640da45e980b4f859 (patch)
tree9cfb7620907ac126f26cdfe9363cb73ed74ea179 /src/kernel/interrupts/idt.asm
parentffd82e18b5259fab477ad375a7af8550fac526d8 (diff)
Moved source to kernel directory
Diffstat (limited to 'src/kernel/interrupts/idt.asm')
-rw-r--r--src/kernel/interrupts/idt.asm6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/interrupts/idt.asm b/src/kernel/interrupts/idt.asm
new file mode 100644
index 0000000..90eab47
--- /dev/null
+++ b/src/kernel/interrupts/idt.asm
@@ -0,0 +1,6 @@
+; IDT loader
+global idt_load
+extern idtp
+idt_load:
+ lidt [idtp]
+ ret