2 * AcessOS Microkernel Version
9 #define MULTIBOOT_MAGIC 0x2BADB002
27 // flags[4] or flags[5]
28 Uint32 SymbolInfo[4]; // #32 UNUSED
31 Uint32 MMapAddr; // #40
38 Uint32 boot_loader_name;
42 Uint32 vbe_control_info;
45 Uint32 vbe_interface_seg;
46 Uint32 vbe_interface_off;
47 Uint32 vbe_interface_len;
58 Uint32 Size; // (May be at offset -4)
61 Uint32 Type; //1:RAM,Else Reserved
62 } __attribute__ ((packed)) tMBoot_MMapEnt;
64 extern int Multiboot_LoadMemoryMap(tMBoot_Info *MBInfo, tVAddr MapOffset, tPMemMapEnt *Map, const int MapSize, tPAddr KStart, tPAddr KEnd);
65 extern tBootModule *Multiboot_LoadModules(tMBoot_Info *MBInfo, tVAddr MapOffset, int *ModuleCount);
66 extern void Multiboot_FreeModules(const int ModuleCount, tBootModule *Modules);