git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Working on the x86 bit port (caused some changes to try and get it
[tpg/acess2.git]
/
Kernel
/
include
/
mboot.h
diff --git
a/Kernel/include/mboot.h
b/Kernel/include/mboot.h
index
764120f
..
c7f33dd
100644
(file)
--- a/
Kernel/include/mboot.h
+++ b/
Kernel/include/mboot.h
@@
-5,6
+5,8
@@
#ifndef _MBOOT_H
#define _MBOOT_H
#ifndef _MBOOT_H
#define _MBOOT_H
+#define MULTIBOOT_MAGIC 0x2BADB002
+
// === TYPES ===
typedef struct {
Uint32 Flags;
// === TYPES ===
typedef struct {
Uint32 Flags;
@@
-14,13
+16,23
@@
typedef struct {
Uint32 CommandLine;
Uint32 ModuleCount;
Uint32 Modules;
Uint32 CommandLine;
Uint32 ModuleCount;
Uint32 Modules;
+ Uint32 SymbolInfo[4]; // #32 UNUSED
+ Uint32 MMapLength;
+ Uint32 MMapAddr; // #40
} tMBoot_Info;
typedef struct {
Uint32 Start;
Uint32 End;
} tMBoot_Info;
typedef struct {
Uint32 Start;
Uint32 End;
-
char *
String;
+
Uint32
String;
Uint32 Resvd;
} tMBoot_Module;
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
#endif
UCC
git Repository :: git.ucc.asn.au