7ec840fbe5
What's wrong; the initial SR value in pcb0 gets overwritten before the first kthread_create1() is called. For a normal process which has user mode it doesn't matter because proc_trampoline() makes the process to have spl0 during exception return path to user mode, however, kthreads stay in kernel mode mistakenly left in splhigh condition. The trouble is visible as severe clock drifts when system activity is high. |
||
---|---|---|
.. | ||
conf | ||
include | ||
mips | ||
Makefile | ||
Makefile.inc |