hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/boot/framebuffer.zig
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-09-11 02:38:27 +0200
committerhachem <im@hachem.wtf>2026-09-11 02:38:27 +0200
commitc34524767c9eac650f16dbe9059c24af2acd1397 (patch)
treee01f2fccd6dedfd1158a0666c12b7c8e9cfc12dd /boot/framebuffer.zig
parent8fc9aa8d84486c561776cda8f94e4dfa897a5d4d (diff)
feat: pmm + kernel heap
Diffstat (limited to 'boot/framebuffer.zig')
-rw-r--r--boot/framebuffer.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/framebuffer.zig b/boot/framebuffer.zig
index 6518b17..b82e5af 100644
--- a/boot/framebuffer.zig
+++ b/boot/framebuffer.zig
@@ -19,7 +19,7 @@ pub fn get() ?*Framebuffer {
}
// assumes the usual Limine RGB 32-bpp layout im sure i wont forget about this layout
-// later and i wont fuck me over
+// later and it wont fuck me over
pub fn putpixel(fb: *Framebuffer, x: usize, y: usize, color: u32) void {
const pixel: *align(1) u32 = @ptrCast(fb.address + y * fb.pitch + x * 4);
pixel.* = color;