diff options
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 |