ke: add mechanisms for updating priority

This commit is contained in:
Loïc Grégoire
2026-05-22 22:08:12 -04:00
parent af40dca16f
commit 6265a8dd0d
6 changed files with 117 additions and 47 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ pub fn init(boot_info: *pl.BootInfo) linksection(r.init) void {
thread0.init(@intFromPtr(&stack), r.kib(16), ki.sched.idle, null);
thread0.priority = 0;
thread0.priority_class = .Idle;
thread0.base_priority = 0;
thread0.pinned = true;
ki.sched.percpu.local().current_thread = &thread0;