mirror of
https://github.com/rdmsr/zag.git
synced 2026-10-31 15:28:21 +00:00
all: use root boot info pointer
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user