loader: initial loader code

This commit is contained in:
Loïc Grégoire
2026-07-16 19:48:01 -04:00
parent 26ec72fb36
commit a79c7a07cb
35 changed files with 1197 additions and 548 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ fn explodeable(_: ?*anyopaque) void {
}
pub fn start(param: ?*anyopaque) void {
const boot_info: *r.pl.BootInfo = @ptrCast(@alignCast(param));
const boot_info: *r.BootInfo = @ptrCast(@alignCast(param));
rand_gen ^= rand_tsc_based();
+1 -1
View File
@@ -11,7 +11,7 @@ const rtl = @import("rtl");
// XXX
const fbconsole = @import("../dev/fbconsole.zig");
pub fn init(boot_info: *pl.BootInfo) void {
pub fn init(boot_info: *r.BootInfo) void {
mm.init(boot_info);
ps.init();