feat: use per-cpu sections

This commit is contained in:
Loïc Grégoire
2026-03-23 20:29:34 -04:00
parent 33c796c958
commit 020e81f34b
14 changed files with 235 additions and 117 deletions
+2 -2
View File
@@ -43,12 +43,12 @@ pub fn init(boot_info: *pl.BootInfo) linksection(b.init) void {
_ = ke.ipl.raise(.Dispatch);
for (0..10) |i| {
for (0..threads.len) |i| {
make_thread(handler, &threads[i]);
ke.sched.enqueue(&threads[i]);
}
ke.ipl.lower(.Zero);
ke.ipl.lower(.Passive);
while (true) {}
}