diff options
Diffstat (limited to 'sys/arch/amd64/cpu/boot.S')
| -rw-r--r-- | sys/arch/amd64/cpu/boot.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/amd64/cpu/boot.S b/sys/arch/amd64/cpu/boot.S index a6961be..ba54e74 100644 --- a/sys/arch/amd64/cpu/boot.S +++ b/sys/arch/amd64/cpu/boot.S @@ -30,6 +30,7 @@ .globl _start .extern uart_init .extern uart_write + .extern idt_load .extern gdt_load .extern GDTR _start: @@ -41,6 +42,7 @@ _start: lea GDTR(%rip), %rdi /* Our GDTR */ call gdt_load /* Load our GDT */ + call idt_load /* Load our IDT */ lea bootmsg(%rip), %rdi movq bootmsg_len, %rsi |
