mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-28 22:18:22 +00:00
fix(ke): pin initial thread
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user