sched: task: implement task creation flags

This commit is contained in:
2026-04-30 19:06:46 +01:00
parent 562b856488
commit 02a44f67b9
5 changed files with 26 additions and 22 deletions
+2 -1
View File
@@ -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);