summaryrefslogtreecommitdiff
path: root/src/kernel/task/idt.cpp
diff options
context:
space:
mode:
authorAlex AUVOLAT <alexis211@gmail.com>2012-05-18 11:10:53 +0200
committerAlex AUVOLAT <alexis211@gmail.com>2012-05-18 11:10:53 +0200
commitc19415d2ffb6f063f91983ff505e2530ab500908 (patch)
tree021263be30daa438387ce3a12453a7719bc8dccf /src/kernel/task/idt.cpp
parent593bf4df3d8db49286c1a7ae4ef75c887b629930 (diff)
downloadTCE-c19415d2ffb6f063f91983ff505e2530ab500908.tar.gz
TCE-c19415d2ffb6f063f91983ff505e2530ab500908.zip
Minor changes.
Diffstat (limited to 'src/kernel/task/idt.cpp')
-rw-r--r--src/kernel/task/idt.cpp6
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(&regs) != 0) || regs.int_no != 14) {
if (tasking_handleException(&regs) == 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");
}
}