aboutsummaryrefslogtreecommitdiff
path: root/src/isr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/isr.c')
-rw-r--r--src/isr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/isr.c b/src/isr.c
index c94d37e..b89ecd2 100644
--- a/src/isr.c
+++ b/src/isr.c
@@ -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();
}