sched: task: implement task creation flags
This commit is contained in:
+2
-1
@@ -108,7 +108,8 @@ void kernel_init(uintptr_t arg)
|
||||
bsp.bsp_trailer.bsp_exec_entry,
|
||||
bsp.bsp_vmo);
|
||||
|
||||
struct task *bootstrap_task = task_create("bootstrap", 9, NULL);
|
||||
struct task *bootstrap_task
|
||||
= task_create(NULL, TASK_F_DEFAULT, "bootstrap", 9);
|
||||
tracek("created bootstrap task (pid=%u)", bootstrap_task->t_id);
|
||||
|
||||
status = bsp_launch_async(&bsp, bootstrap_task);
|
||||
|
||||
Reference in New Issue
Block a user