diff options
author | Marvin Borner | 2020-08-01 17:30:42 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-01 17:30:42 +0200 |
commit | 928bf3f29d7a8b2163a3c1d5c15554d5b42c606b (patch) | |
tree | 16924d82ad79f609ee5966b165050bbcace90b9e /src/drivers/interrupts.c | |
parent | 9a146c325ac0538be807e904d7c35d0a73f9fc5e (diff) |
Some entry position optimizations
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) { }; |