diff options
author | trimill <trimill@trimillxyz.org> | 2024-02-03 21:40:17 -0500 |
---|---|---|
committer | trimill <trimill@trimillxyz.org> | 2024-02-03 21:40:55 -0500 |
commit | 22df3f473c00946e5c814de7e274ad72cc7b4910 (patch) | |
tree | 38996116308a4a7d131312932617d5953f265aa4 /src/arch/amd64/cpu/idt.h | |
parent | spacing (diff) | |
download | corn-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.h | 2 |
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); |