diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-04-01 21:46:28 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-08-12 10:13:59 +0300 |
commit | 9b777b088facde26c33df6c746b948caff725602 (patch) | |
tree | 3e88f6808e80a233f3e78640d1f2545489665376 /src/isr.c | |
parent | lidt (diff) | |
download | kernel-9b777b088facde26c33df6c746b948caff725602.tar.xz |
printf: add %d, %u and %x
Diffstat (limited to 'src/isr.c')
-rw-r--r-- | src/isr.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -9,7 +9,10 @@ __attribute__((interrupt)) void abort_handler(struct interrupt_frame *frame) { - printf("abort\n"); + printf("system abort\n"); + printf("ip: %x cs=%x\n", frame->ip, frame->cs); + printf("sp: %x ss=%x\n", frame->sp, frame->ss); + printf("flags: %x\n", frame->flags); abort(); } |