]>
Commit | Line | Data |
---|---|---|
1 | #ifndef __MULTIBOOT_H | |
2 | #define __MULTIBOOT_H | |
3 | ||
4 | #define MULTIBOOT_LOADER_MAGIC 0x2BADB002 | |
5 | ||
6 | struct mb_info | |
7 | { | |
8 | unsigned long flags; | |
9 | unsigned long mem_lower, mem_upper; | |
10 | unsigned long boot_dev; | |
11 | char *cmdline; | |
12 | unsigned long mod_cnt; | |
13 | struct mod_info *mods; | |
14 | }; | |
15 | ||
16 | struct mod_info | |
17 | { | |
18 | void *mod_start; | |
19 | void *mod_end; | |
20 | char *mod_string; | |
21 | void *reserved; | |
22 | }; | |
23 | ||
24 | #endif |