mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 06:48:22 +00:00
refactor: remove ke.Cpu struct
This commit is contained in:
@@ -87,10 +87,7 @@ export fn kmain() callconv(.c) void {
|
||||
|
||||
build_memory_map();
|
||||
|
||||
var cpus: [1]*ke.Cpu = .{&ke.private.bootstrap_cpu};
|
||||
|
||||
ke.ncpus = 1;
|
||||
ke.cpus = &cpus;
|
||||
|
||||
ki.init(&boot_info);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user