diff --git a/init/src/boot_16.cpp b/init/src/boot_16.cpp index 220a7119..a9430986 100644 --- a/init/src/boot_16.cpp +++ b/init/src/boot_16.cpp @@ -12,10 +12,20 @@ #include "boot_32.hpp" #include "gdt_types.hpp" + #include "e820_types.hpp" #include "vesa_types.hpp" #include "early_memory.hpp" +/* +* +* This is required for QEMU boot. +* See https://github.com/wichtounet/thor-os/issues/24 +* +*/ +void __attribute__ ((noreturn)) rm_main(); +void __attribute__ ((noreturn)) foo(){ rm_main(); } + e820::bios_e820_entry bios_e820_entries[e820::MAX_E820_ENTRIES]; gdt::task_state_segment_t tss; // TODO Remove this (causes relocation errors for now)