X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Fmboot.h;h=6ffd5c11a3c10e5ba83c67250d3982a177cd5b4c;hb=5cab4c07bc13888dc7956194ef9595508072a4eb;hp=61c689bd116f9541597f8aee643072352017fe9f;hpb=d0b4559f2936f6d9f06be0f7c3c51527a480ec0d;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/mboot.h b/KernelLand/Kernel/include/mboot.h index 61c689bd..6ffd5c11 100644 --- a/KernelLand/Kernel/include/mboot.h +++ b/KernelLand/Kernel/include/mboot.h @@ -14,15 +14,37 @@ // === TYPES === typedef struct { Uint32 Flags; + // flags[0] Uint32 LowMem; Uint32 HighMem; + // flags[1] Uint32 BootDevice; + // flags[2] Uint32 CommandLine; + // flags[3] Uint32 ModuleCount; Uint32 Modules; + // flags[4] or flags[5] Uint32 SymbolInfo[4]; // #32 UNUSED + // flags[6] Uint32 MMapLength; Uint32 MMapAddr; // #40 + // flags[7] + Uint32 drives_length; + Uint32 drives_addr; + // flags[8] + Uint32 config_table; + // flags[9] + Uint32 boot_loader_name; + // flags[10] + Uint32 apm_table; + // flags[11] + Uint32 vbe_control_info; + Uint32 vbe_mode_info; + Uint32 vbe_mode; + Uint32 vbe_interface_seg; + Uint32 vbe_interface_off; + Uint32 vbe_interface_len; } tMBoot_Info; typedef struct { @@ -41,5 +63,6 @@ typedef struct { extern int Multiboot_LoadMemoryMap(tMBoot_Info *MBInfo, tVAddr MapOffset, tPMemMapEnt *Map, const int MapSize, tPAddr KStart, tPAddr KEnd); extern tBootModule *Multiboot_LoadModules(tMBoot_Info *MBInfo, tVAddr MapOffset, int *ModuleCount); +extern void Multiboot_FreeModules(const int ModuleCount, tBootModule *Modules); #endif