mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-29 14:38:21 +00:00
refactor: remove ke.Cpu struct
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user