feat: add paging

This commit is contained in:
2026-10-06 16:24:44 +02:00
parent 86027f21db
commit aba27e44f9
12 changed files with 721 additions and 24 deletions
+31
View File
@@ -0,0 +1,31 @@
#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