all: use root boot info pointer

This commit is contained in:
Loïc Grégoire
2026-07-18 14:41:30 -04:00
parent 072239dc32
commit 301946c774
8 changed files with 31 additions and 26 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ pub fn Tunable(comptime T: type, comptime default: T, comptime name: []const u8)
};
}
pub fn init(boot_info: *r.BootInfo) void {
const cmdline = boot_info.cmdline orelse return;
pub fn init() void {
const cmdline = r.boot_info.cmdline orelse return;
const elems = set.elems();