diff options
| author | Franklin Wei <frankhwei536@gmail.com> | 2015-02-01 16:40:00 -0500 |
|---|---|---|
| committer | Franklin Wei <frankhwei536@gmail.com> | 2015-02-01 16:40:00 -0500 |
| commit | 957b031689658c1ff67ea8a8a04640be9bec2d7d (patch) | |
| tree | 231c46b390d8d242461a0c571b8fbcf671e8c370 /kernel/idt-as.S | |
| parent | 439d724ce5939cab7a5c858d1829f212e01e0402 (diff) | |
| download | kappa-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.S | 6 |
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 |