mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-30 23:08:21 +00:00
loader: initial loader code
This commit is contained in:
@@ -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
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user