diff options
author | dzwdz | 2021-09-20 20:32:58 +0200 |
---|---|---|
committer | dzwdz | 2021-09-20 20:32:58 +0200 |
commit | d192b15ee05b6d79c1503eb296fcab693a05dced (patch) | |
tree | 2030e86317f954f67a4e3c4fc0c61798d5555ab2 /src/kernel/arch/i386/interrupts/isr.c | |
parent | 6371724809b057b25a4efd6c022e7d95068c42f1 (diff) |
create a few specialized panic()s
thanks to this i can tell which ones are placeholders, and which ones
should stay
Diffstat (limited to 'src/kernel/arch/i386/interrupts/isr.c')
-rw-r--r-- | src/kernel/arch/i386/interrupts/isr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/i386/interrupts/isr.c b/src/kernel/arch/i386/interrupts/isr.c index 86f697f..1ca6da9 100644 --- a/src/kernel/arch/i386/interrupts/isr.c +++ b/src/kernel/arch/i386/interrupts/isr.c @@ -4,7 +4,7 @@ #include <stdbool.h> #include <stdint.h> -#define log_n_panic(x) {tty_const(x); panic();} +#define log_n_panic(x) {tty_const(x); panic_unimplemented();} // TODO kill the current process instead of panicking bool isr_test_interrupt_called = false; @@ -17,7 +17,7 @@ void isr_stage3(int interrupt) { tty_const("#PF at "); asm ("mov %%cr2, %0;" : "=r"(cr2) ::); _tty_var(cr2); - panic(); + panic_unimplemented(); } case 0x34: |