refactor: remove ke.Cpu struct

This commit is contained in:
Loïc Grégoire
2026-03-30 17:45:49 -04:00
parent 84500e2ff3
commit faf76ca485
15 changed files with 221 additions and 261 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ var stack: [8192]u8 align(16) = undefined;
pub fn init(boot_info: *pl.BootInfo) linksection(b.init) void {
std.log.info("hello, world", .{});
pl.early_init();
ki.bootstrap_cpu.init(&thread0);
ki.cpu.init_cpu();
thread0.init(@intFromPtr(&stack), 8192, ki.sched.idle, null);
thread0.priority = 0;