diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2013-05-20 17:52:01 +0200 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2013-05-20 17:52:01 +0200 |
commit | 3e51eabb1cb8ca35fa350c68fc4fddedc85daa84 (patch) | |
tree | af7b22f3851f673cfd0e5cdf2310800c1e68c1e8 /src/kernel/task | |
parent | 868c136fd4515a0497d362b11ca2cf99f28a4f4a (diff) | |
download | TCE-3e51eabb1cb8ca35fa350c68fc4fddedc85daa84.tar.gz TCE-3e51eabb1cb8ca35fa350c68fc4fddedc85daa84.zip |
Minor modificiations ; added a simple Line EDitor.
Diffstat (limited to 'src/kernel/task')
-rw-r--r-- | src/kernel/task/task.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/kernel/task/task.cpp b/src/kernel/task/task.cpp index 46fb4d4..4a802b8 100644 --- a/src/kernel/task/task.cpp +++ b/src/kernel/task/task.cpp @@ -116,11 +116,12 @@ uint32_t tasking_handleException(registers *regs) { *ke_vt << "\nException in kernel. Stack trace:\n"; stack_trace(regs->ebp); } + *ke_vt << "\n (PID " << current_thread->process->pid << ") "; if (regs->int_no == 14) { - *ke_vt << "\n>>> Process exiting.\n"; + *ke_vt << ">>> Process exiting.\n"; thread_exit_stackJmp(EX_PR_EXCEPTION); } else { - *ke_vt << "\n>>> Thread exiting.\n"; + *ke_vt << ">>> Thread exiting.\n"; thread_exit_stackJmp(EX_TH_EXCEPTION); } PANIC("This should never have happened. Please report this."); |