From 3f3e81fcf2e3341bd2e01df8f36b265972747d75 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Thu, 14 Dec 2023 10:52:51 +0200 Subject: [PATCH] Bootloader: Align boot information passed to kernel UBSAN found this bug --- bootloader/bios/framebuffer.S | 1 + 1 file changed, 1 insertion(+) diff --git a/bootloader/bios/framebuffer.S b/bootloader/bios/framebuffer.S index 980db770..19d2261d 100644 --- a/bootloader/bios/framebuffer.S +++ b/bootloader/bios/framebuffer.S @@ -216,6 +216,7 @@ vesa_target_mode: .skip 2 .global framebuffer +.align 8 framebuffer: .skip 4 # address .skip 4 # pitch