No need for a special idle queue
- as the idle task is never placed on any run queue, we don't need any special idle queue. - one more queue available for user processes
This commit is contained in:
@@ -120,7 +120,7 @@ PRIVATE int
|
||||
|
||||
PUBLIC struct boot_image image[] = {
|
||||
/* process nr, pc,flags, qs, queue, stack, traps, ipcto, call, name */
|
||||
{IDLE, NULL,IDL_F, 0, IDLE_Q, IDL_S, 0, 0, no_c,"idle" },
|
||||
{IDLE, NULL,IDL_F, 0, 0, IDL_S, 0, 0, no_c,"idle" },
|
||||
{CLOCK,clock_task,TSK_F, 8, TASK_Q, TSK_S, TSK_T, 0, no_c,"clock" },
|
||||
{SYSTEM, sys_task,TSK_F, 8, TASK_Q, TSK_S, TSK_T, 0, no_c,"system"},
|
||||
{HARDWARE, 0,TSK_F, 8, TASK_Q, HRD_S, 0, 0, no_c,"kernel"},
|
||||
|
||||
Reference in New Issue
Block a user