Fixed a panic message
- exceptions cannot occur in kernel tasks as we don't have kernel tasks anymore
This commit is contained in:
parent
94a81c840a
commit
25f2145956
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ PUBLIC void exception_handler(int is_nested, struct exception_frame * frame)
|
||||||
(unsigned) saved_proc->p_reg.pc);
|
(unsigned) saved_proc->p_reg.pc);
|
||||||
proc_stacktrace(saved_proc);
|
proc_stacktrace(saved_proc);
|
||||||
|
|
||||||
panic("exception in a kernel task: %d", saved_proc->p_endpoint);
|
panic("Unhandled kernel exception");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* in an early stage of boot process we don't have processes yet */
|
/* in an early stage of boot process we don't have processes yet */
|
||||||
|
|
Loading…
Reference in a new issue