diff options
| author | Ian Moffett <ian@osmora.org> | 2025-11-15 15:24:14 -0500 |
|---|---|---|
| committer | Ian Moffett <ian@osmora.org> | 2025-11-15 15:31:12 -0500 |
| commit | dc4438100c35afcbf7d997d3ee9126eef57d1e4a (patch) | |
| tree | f7eadd642c13f07bdba09c0d51007f84c83743c3 /sys/arch/amd64/cpu/boot.S | |
| parent | f248217b5db26c0a8de07be26a4adbb169b51e17 (diff) | |
kern/amd64: cpu: Load IDT
Signed-off-by: Ian Moffett <ian@osmora.org>
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 |
