aboutsummaryrefslogtreecommitdiff
path: root/kernel/inc/multiboot.h
diff options
context:
space:
mode:
authorMarvin Borner2021-04-29 14:36:40 +0200
committerMarvin Borner2021-04-29 14:36:40 +0200
commitf8e47b6b0c0578c52d82c0e243620361b87a4abe (patch)
treee42d898d299b7aa10c8f266d347b4fda5a5967f3 /kernel/inc/multiboot.h
parent04104fc051d44f4f9b3328f29b4be91fa4060f34 (diff)
Multiboot/Grub progress
Diffstat (limited to 'kernel/inc/multiboot.h')
-rw-r--r--kernel/inc/multiboot.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/kernel/inc/multiboot.h b/kernel/inc/multiboot.h
index f9851fb..839ade7 100644
--- a/kernel/inc/multiboot.h
+++ b/kernel/inc/multiboot.h
@@ -104,9 +104,11 @@ struct multiboot_info {
};
struct multiboot_mmap_entry {
- u32 size;
- u64 addr;
- u64 len;
+ u32 struct_size;
+ u32 addr;
+ u32 addr_high;
+ u32 len;
+ u32 len_high;
u32 type;
} PACKED;
@@ -119,6 +121,7 @@ struct multiboot_mod_list {
u32 pad;
};
+void multiboot_mmap(void);
void multiboot_init(u32 magic, u32 addr);
#endif