summaryrefslogtreecommitdiff
path: root/src/arch/amd64/cpu/idt.h
diff options
context:
space:
mode:
authortrimill <trimill@trimillxyz.org>2024-02-03 21:40:17 -0500
committertrimill <trimill@trimillxyz.org>2024-02-03 21:40:55 -0500
commit22df3f473c00946e5c814de7e274ad72cc7b4910 (patch)
tree38996116308a4a7d131312932617d5953f265aa4 /src/arch/amd64/cpu/idt.h
parentspacing (diff)
downloadcorn-22df3f473c00946e5c814de7e274ad72cc7b4910.tar.gz
corn-22df3f473c00946e5c814de7e274ad72cc7b4910.tar.bz2
corn-22df3f473c00946e5c814de7e274ad72cc7b4910.zip
print registers on fatal exception
Diffstat (limited to 'src/arch/amd64/cpu/idt.h')
-rw-r--r--src/arch/amd64/cpu/idt.h2
1 files changed, 2 insertions, 0 deletions
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);