hachem.wtf
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-09-10 07:19:25 +0200
committerhachem <im@hachem.wtf>2026-09-10 07:19:25 +0200
commitba4714f311e58b59043797ebd5c17caeccc74050 (patch)
tree398f601ba984911b627c8c8b3ad30a82bd8cfd59
parentdbe50063b0f78ecbcb14ade65e16c5c74ad9abe1 (diff)
fix: framebuffer layout
-rw-r--r--boot/limine.zig6
1 files changed, 3 insertions, 3 deletions
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,
};