#ifndef MULTIBOOT2_HPP #define MULTIBOOT2_HPP #include "types.hpp" struct multiboot_info_header { u32 totalSize; u32 reserved; } PACKED; struct multiboot_tag { static constexpr u32 NONE = 0; static constexpr u32 MMAP = 6; u32 type; u32 size; } PACKED; struct multiboot_mmap_entry { u64 addr; u64 len; u32 type; u32 zero; } PACKED; struct multiboot_tag_mmap : multiboot_tag { u32 entrySize; u32 entryVersion; } PACKED; #endif // MULTIBOOT2_HPP