diff options
Diffstat (limited to 'src/drivers/interrupts.c')
-rw-r--r-- | src/drivers/interrupts.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/interrupts.c b/src/drivers/interrupts.c index dc031e0..1bd0b44 100644 --- a/src/drivers/interrupts.c +++ b/src/drivers/interrupts.c @@ -5,6 +5,7 @@ #include <def.h> #include <interrupts.h> #include <mem.h> +#include <print.h> #include <serial.h> /** @@ -136,7 +137,7 @@ void isr_handler(struct regs *r) if (handler) { handler(r); } else if (r->int_no <= 32) { - serial_print("Exception, halting!\n"); + printf("#%d Exception, halting!\n", r->int_no); __asm__("cli"); while (1) { }; |