From 957b031689658c1ff67ea8a8a04640be9bec2d7d Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sun, 1 Feb 2015 16:40:00 -0500 Subject: a lot of kernel work --- kernel/idt-as.S | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 kernel/idt-as.S (limited to 'kernel/idt-as.S') 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 -- cgit v1.1