From 22df3f473c00946e5c814de7e274ad72cc7b4910 Mon Sep 17 00:00:00 2001 From: trimill Date: Sat, 3 Feb 2024 21:40:17 -0500 Subject: print registers on fatal exception --- src/arch/amd64/cpu/idt.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/arch/amd64/cpu/idt.h') diff --git a/src/arch/amd64/cpu/idt.h b/src/arch/amd64/cpu/idt.h index 3a57d5b..9a75265 100644 --- a/src/arch/amd64/cpu/idt.h +++ b/src/arch/amd64/cpu/idt.h @@ -27,3 +27,5 @@ struct isr_regs { }; void idt_init(void); + +void isr_print_regs(struct isr_regs *regs); -- cgit v1.2.3-freya