X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fmboot.h;h=6d5e6a4bc5944fbb47a4d8f6a204742a6d46fc6c;hb=eecce4b7a55315f6c385ad8be35c25dbb12d43d8;hp=764120f6cc8dbeab16cbeca9049152d660502e91;hpb=8bc40333b1401d7616b225945fee53d972c2f418;p=tpg%2Facess2.git diff --git a/Kernel/include/mboot.h b/Kernel/include/mboot.h index 764120f6..6d5e6a4b 100644 --- a/Kernel/include/mboot.h +++ b/Kernel/include/mboot.h @@ -5,6 +5,8 @@ #ifndef _MBOOT_H #define _MBOOT_H +#define MULTIBOOT_MAGIC 0x2BADB002 + // === TYPES === typedef struct { Uint32 Flags; @@ -14,6 +16,9 @@ typedef struct { Uint32 CommandLine; Uint32 ModuleCount; Uint32 Modules; + Uint32 SymbolInfo[4]; // #32 UNUSED + Uint32 MMapLength; + Uint32 MMapAddr; // #40 } tMBoot_Info; typedef struct { @@ -23,4 +28,11 @@ typedef struct { Uint32 Resvd; } tMBoot_Module; +typedef struct { + Uint32 Size; // (May be at offset -4) + Uint64 Base; + Uint64 Length; + Uint32 Type; //1:RAM,Else Reserved +} __attribute__ ((packed)) tMBoot_MMapEnt; + #endif