]>
Commit | Line | Data |
---|---|---|
f1584bb0 JW |
1 | /* minilib.h |
2 | * Definitions needed for a multiboot kernel | |
3 | * NetWatch system management mode administration console | |
4 | * | |
5 | * Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved. | |
6 | * This program is free software; you can redistribute and/or modify it under | |
7 | * the terms found in the file LICENSE in the root of this source tree. | |
8 | * | |
9 | */ | |
10 | ||
94d78d15 JW |
11 | #ifndef __MULTIBOOT_H |
12 | #define __MULTIBOOT_H | |
13 | ||
14 | #define MULTIBOOT_LOADER_MAGIC 0x2BADB002 | |
15 | ||
16 | struct mb_info | |
17 | { | |
18 | unsigned long flags; | |
19 | unsigned long mem_lower, mem_upper; | |
20 | unsigned long boot_dev; | |
21 | char *cmdline; | |
22 | unsigned long mod_cnt; | |
23 | struct mod_info *mods; | |
24 | }; | |
25 | ||
26 | struct mod_info | |
27 | { | |
28 | void *mod_start; | |
29 | void *mod_end; | |
30 | char *mod_string; | |
31 | void *reserved; | |
32 | }; | |
33 | ||
34 | #endif |