Sorting source tree a bit
[tpg/acess2.git] / KernelLand / Kernel / include / mboot.h
1 /*
2  * AcessOS Microkernel Version
3  * mboot.h
4  */
5 #ifndef _MBOOT_H
6 #define _MBOOT_H
7
8 #define MULTIBOOT_MAGIC 0x2BADB002
9
10 // === TYPES ===
11 typedef struct {
12         Uint32  Flags;
13         Uint32  LowMem;
14         Uint32  HighMem;
15         Uint32  BootDevice;
16         Uint32  CommandLine;
17         Uint32  ModuleCount;
18         Uint32  Modules;
19         Uint32  SymbolInfo[4];  // #32 UNUSED
20         Uint32  MMapLength;
21         Uint32  MMapAddr;               // #40
22 } tMBoot_Info;
23
24 typedef struct {
25         Uint32  Start;
26         Uint32  End;
27         Uint32  String;
28         Uint32  Resvd;
29 } tMBoot_Module;
30
31 typedef struct {
32         Uint32  Size;   // (May be at offset -4)
33         Uint64  Base;
34         Uint64  Length;
35         Uint32  Type;   //1:RAM,Else Reserved
36 } __attribute__ ((packed)) tMBoot_MMapEnt;
37
38 #endif

UCC git Repository :: git.ucc.asn.au