SMP: Fix missing initialization value
This commit is contained in:
parent
fccef49305
commit
8774e7a4a0
1 changed files with 1 additions and 0 deletions
|
|
@ -429,6 +429,7 @@ void os_start(void)
|
|||
*/
|
||||
|
||||
bzero((void *)&g_idletcb[cpu], sizeof(struct task_tcb_s));
|
||||
g_idletcb[cpu].cmn.pid = g_lastpid;
|
||||
g_idletcb[cpu].cmn.task_state = TSTATE_TASK_RUNNING;
|
||||
|
||||
/* Set the entry point. This is only for debug purposes. NOTE: that
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue