summaryrefslogtreecommitdiff
path: root/kernel/multiboot.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-01-29 20:23:53 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-01-29 20:23:53 +0100
commit37db7181daf1cc10683de24f6203e595b2ac49bc (patch)
tree6fd009ef0206a3b2a836fd7d0b2e816f02422816 /kernel/multiboot.h
parent81e59db8151915250df68f79f7afde1f1ce8dac3 (diff)
Copy multiboot information.
Diffstat (limited to 'kernel/multiboot.h')
-rw-r--r--kernel/multiboot.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/multiboot.h b/kernel/multiboot.h
index 93a5c30..ffc3d25 100644
--- a/kernel/multiboot.h
+++ b/kernel/multiboot.h
@@ -8,7 +8,7 @@ typedef struct {
uint32_t mod_end;
char* string;
uint32_t reserved;
-} multiboot_module;
+} multiboot_module_t;
typedef struct {
uint32_t flags;
@@ -21,7 +21,7 @@ typedef struct {
char* cmdline;
uint32_t mods_count;
- multiboot_module* mods_addr;
+ multiboot_module_t* mods_addr;
union {
uint32_t foo[3];
@@ -45,6 +45,8 @@ typedef struct {
uint32_t vbe_interface_seg;
uint32_t vbe_interface_off;
uint32_t vbe_interface_len;
-} multiboot_info;
+} multiboot_info_t;
+
+extern multiboot_info_t multiboot_info;
#endif