fix(ke): pin initial thread

This commit is contained in:
Loïc Grégoire
2026-05-02 12:14:18 -04:00
parent 764b446ef1
commit 07cc976467
+1
View File
@@ -18,6 +18,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.pinned = true;
ki.sched.percpu.local().current_thread = &thread0;