X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Fmboot.h;h=61c689bd116f9541597f8aee643072352017fe9f;hb=7479bf405c5173ab0b403ee4e6dd859580ed27d2;hp=c7f33ddb54100019318a8d5069bd9ba91a5cadfd;hpb=48743e39650eb1ef988380e9d95f27fd40d3a9ce;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/mboot.h b/KernelLand/Kernel/include/mboot.h index c7f33ddb..61c689bd 100644 --- a/KernelLand/Kernel/include/mboot.h +++ b/KernelLand/Kernel/include/mboot.h @@ -4,9 +4,13 @@ */ #ifndef _MBOOT_H #define _MBOOT_H +#include #define MULTIBOOT_MAGIC 0x2BADB002 +#include +#include + // === TYPES === typedef struct { Uint32 Flags; @@ -35,4 +39,7 @@ typedef struct { Uint32 Type; //1:RAM,Else Reserved } __attribute__ ((packed)) tMBoot_MMapEnt; +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); + #endif