diff options
Diffstat (limited to 'src/kernel/task/idt.cpp')
-rw-r--r-- | src/kernel/task/idt.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/task/idt.cpp b/src/kernel/task/idt.cpp index 634350c..3d6d3cb 100644 --- a/src/kernel/task/idt.cpp +++ b/src/kernel/task/idt.cpp @@ -81,9 +81,9 @@ static struct irq_waiter { extern "C" void idt_isrHandler(registers regs) { if ((regs.int_no == 14 && paging_fault(®s) != 0) || regs.int_no != 14) { if (tasking_handleException(®s) == 0) { - ke_vt->writeStr("\nREALLY BAD THIS TIME\t\tUnhandled exception\t#"); - ke_vt->writeDec(regs.int_no); - ke_vt->writeStr("\t@"); ke_vt->writeHex(regs.eip); + *ke_vt << "\nREALLY BAD THIS TIME\t\tUnhandled exception\t#"; + *ke_vt << regs.int_no; + *ke_vt << "\t@" << regs.eip; PANIC("Unhandled Exception"); } } |