aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/include
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/include')
-rw-r--r--arch/x86_64/include/arch/boot/multiboot.hpp11
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/x86_64/include/arch/boot/multiboot.hpp b/arch/x86_64/include/arch/boot/multiboot.hpp
index 4182a18..c39081a 100644
--- a/arch/x86_64/include/arch/boot/multiboot.hpp
+++ b/arch/x86_64/include/arch/boot/multiboot.hpp
@@ -2,8 +2,7 @@
struct multiboot_tag
{
- uint16_t type;
- uint16_t flags;
+ uint32_t type;
uint32_t size;
};
@@ -27,6 +26,14 @@ struct memory_map_entry
uint32_t reserved;
};
+struct memory_map_info
+{
+ multiboot_tag tag;
+ uint32_t entry_size;
+ uint32_t entry_version;
+ struct memory_map_entry entries;
+};
+
/*
* Define all multiboot tag types to ther respective values
* The gnu boot information format is defined here: