]> Projects (at) Tadryanom (dot) Me - AdrOS.git/commitdiff
refactor: x86 code uses arch-specific headers directly
authorTulio A M Mendes <[email protected]>
Tue, 10 Feb 2026 04:33:15 +0000 (01:33 -0300)
committerTulio A M Mendes <[email protected]>
Tue, 10 Feb 2026 04:33:15 +0000 (01:33 -0300)
arch_early_setup.c now includes arch/x86/multiboot2.h directly
instead of the generic wrapper, consistent with the pattern of
x86-only code using arch-specific headers.

Passes: make, cppcheck, QEMU smoke test.

src/arch/x86/arch_early_setup.c

index 346b981aa186aee681257583ae83872987417582..22a7b7498495b0e1ee13e7e2eff6b89359c75233 100644 (file)
@@ -6,7 +6,7 @@
 #include "arch/x86/idt.h"
 #include "uart_console.h"
 
-#include "multiboot2.h"
+#include "arch/x86/multiboot2.h"
 
 extern void kernel_main(const struct boot_info* bi);