aboutsummaryrefslogtreecommitdiff
path: root/kernel/idt-as.S
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2015-02-01 16:40:00 -0500
committerFranklin Wei <frankhwei536@gmail.com>2015-02-01 16:40:00 -0500
commit957b031689658c1ff67ea8a8a04640be9bec2d7d (patch)
tree231c46b390d8d242461a0c571b8fbcf671e8c370 /kernel/idt-as.S
parent439d724ce5939cab7a5c858d1829f212e01e0402 (diff)
downloadkappa-957b031689658c1ff67ea8a8a04640be9bec2d7d.zip
kappa-957b031689658c1ff67ea8a8a04640be9bec2d7d.tar.gz
kappa-957b031689658c1ff67ea8a8a04640be9bec2d7d.tar.bz2
kappa-957b031689658c1ff67ea8a8a04640be9bec2d7d.tar.xz
a lot of kernel work
Diffstat (limited to 'kernel/idt-as.S')
-rw-r--r--kernel/idt-as.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/idt-as.S b/kernel/idt-as.S
new file mode 100644
index 0000000..d1ab7e2
--- /dev/null
+++ b/kernel/idt-as.S
@@ -0,0 +1,6 @@
+ .global idt_flush
+ .type idt_flush, @function
+idt_flush: # prototype: void idt_flush(uint32)
+ movl 4(%esp), %eax
+ lidt (%eax)
+ ret