refactor: rework init

This commit is contained in:
Loïc Grégoire
2026-03-29 18:53:33 -04:00
parent 73ae92b460
commit 572ab0e47c
8 changed files with 34 additions and 69 deletions
+15
View File
@@ -0,0 +1,15 @@
const std = @import("std");
const b = @import("base");
const pl = b.pl;
const ke = b.ke;
pub fn init(boot_info: *pl.BootInfo) void {
_ = boot_info;
pl.late_init();
ke.sched.late_init();
while (true) {
std.atomic.spinLoopHint();
}
}