|
@@ -59,22 +59,22 @@ typedef struct multiboot_header
|
59
|
59
|
} multiboot_header_t;
|
60
|
60
|
|
61
|
61
|
/* The symbol table for a.out. */
|
62
|
|
-typedef struct aout_symbol_table
|
|
62
|
+typedef struct multiboot_aout_symbol_table
|
63
|
63
|
{
|
64
|
64
|
unsigned long tabsize;
|
65
|
65
|
unsigned long strsize;
|
66
|
66
|
unsigned long addr;
|
67
|
67
|
unsigned long reserved;
|
68
|
|
-} aout_symbol_table_t;
|
|
68
|
+} multiboot_aout_symbol_table_t;
|
69
|
69
|
|
70
|
70
|
/* The section header table for ELF. */
|
71
|
|
-typedef struct elf_section_header_table
|
|
71
|
+typedef struct multiboot_elf_section_header_table
|
72
|
72
|
{
|
73
|
73
|
unsigned long num;
|
74
|
74
|
unsigned long size;
|
75
|
75
|
unsigned long addr;
|
76
|
76
|
unsigned long shndx;
|
77
|
|
-} elf_section_header_table_t;
|
|
77
|
+} multiboot_elf_section_header_table_t;
|
78
|
78
|
|
79
|
79
|
/* The Multiboot information. */
|
80
|
80
|
typedef struct multiboot_info
|
|
@@ -88,8 +88,8 @@ typedef struct multiboot_info
|
88
|
88
|
unsigned long mods_addr;
|
89
|
89
|
union
|
90
|
90
|
{
|
91
|
|
- aout_symbol_table_t aout_sym;
|
92
|
|
- elf_section_header_table_t elf_sec;
|
|
91
|
+ multiboot_aout_symbol_table_t aout_sym;
|
|
92
|
+ multiboot_elf_section_header_table_t elf_sec;
|
93
|
93
|
} u;
|
94
|
94
|
unsigned long mmap_length;
|
95
|
95
|
unsigned long mmap_addr;
|
|
@@ -107,17 +107,17 @@ typedef struct multiboot_info
|
107
|
107
|
} multiboot_info_t;
|
108
|
108
|
|
109
|
109
|
/* The module structure. */
|
110
|
|
-typedef struct module
|
|
110
|
+typedef struct multiboot_module
|
111
|
111
|
{
|
112
|
112
|
unsigned long mod_start;
|
113
|
113
|
unsigned long mod_end;
|
114
|
114
|
unsigned long string;
|
115
|
115
|
unsigned long reserved;
|
116
|
|
-} module_t;
|
|
116
|
+} multiboot_module_t;
|
117
|
117
|
|
118
|
118
|
/* The memory map. Be careful that the offset 0 is base_addr_low
|
119
|
119
|
but no size. */
|
120
|
|
-typedef struct memory_map
|
|
120
|
+typedef struct multiboot_memory_map
|
121
|
121
|
{
|
122
|
122
|
unsigned long size;
|
123
|
123
|
unsigned long base_addr_low;
|
|
@@ -125,7 +125,7 @@ typedef struct memory_map
|
125
|
125
|
unsigned long length_low;
|
126
|
126
|
unsigned long length_high;
|
127
|
127
|
unsigned long type;
|
128
|
|
-} memory_map_t;
|
|
128
|
+} multiboot_memory_map_t;
|
129
|
129
|
|
130
|
130
|
#endif /* ! ASM */
|
131
|
131
|
|