From dc4438100c35afcbf7d997d3ee9126eef57d1e4a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 15 Nov 2025 15:24:14 -0500 Subject: kern/amd64: cpu: Load IDT Signed-off-by: Ian Moffett --- sys/arch/amd64/cpu/boot.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/arch/amd64/cpu/boot.S') 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 -- cgit v1.2.3