]> 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 98cf4406c4c79eb78305b43a6e77406dcbdca25c..2fff8d1cff69fb2396327334c2c901d82b5de7ff 100644 (file)
@@ -15,7 +15,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);