From ba4714f311e58b59043797ebd5c17caeccc74050 Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 10 Sep 2026 07:19:25 +0200 Subject: fix: framebuffer layout --- boot/limine.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'boot/limine.zig') diff --git a/boot/limine.zig b/boot/limine.zig index ef08867..e993853 100644 --- a/boot/limine.zig +++ b/boot/limine.zig @@ -32,8 +32,8 @@ fn requestId(a: u64, b: u64) [4]u64 { return .{ 0xc7b1dd30df4c8b88, 0x0a82e883a194f07b, a, b }; } -// --- Framebuffer feature: ask Limine for a linear framebuffer --- - +// this comes from the limine spec +// you can see it in the header files pub const Framebuffer = extern struct { address: [*]u8, width: u64, @@ -50,7 +50,7 @@ pub const Framebuffer = extern struct { // 7 bytes of padding land here (extern-struct alignment before edid_size) edid_size: u64, edid: ?*anyopaque, - // response revision 1 and up — unused for now: + // response revision 1 and up, unused for now: mode_count: u64, modes: ?*anyopaque, }; -- cgit v1.3