mirror of
https://github.com/rdmsr/zag.git
synced 2026-11-01 07:48:20 +00:00
refactor: rework init
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user