diff options
| author | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-16 21:06:12 +0100 |
|---|---|---|
| committer | Lukas Oesch <lukasoesch20@gmail.com> | 2026-03-17 16:44:31 +0100 |
| commit | a20045fb209edc1e338039c28634c942e3113ea4 (patch) | |
| tree | a41a6ba7e4e8530e9594066c66d0dae7fcb275ca /arch/x86_64/kapi | |
| parent | 292c5ff7c0c0ae89cfed7124c3ad931b9f555d19 (diff) | |
| download | teachos-a20045fb209edc1e338039c28634c942e3113ea4.tar.xz teachos-a20045fb209edc1e338039c28634c942e3113ea4.zip | |
Protect boot modules in region_allocator
Diffstat (limited to 'arch/x86_64/kapi')
| -rw-r--r-- | arch/x86_64/kapi/memory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86_64/kapi/memory.cpp b/arch/x86_64/kapi/memory.cpp index f29afe8..a354576 100644 --- a/arch/x86_64/kapi/memory.cpp +++ b/arch/x86_64/kapi/memory.cpp @@ -53,6 +53,7 @@ namespace kapi::memory .image_range = std::make_pair(physical_address{&image_span.front()}, physical_address{&image_span.back()}), .mbi_range = std::make_pair(physical_address{&mbi_span.front()}, physical_address{&mbi_span.back()}), .memory_map = *memory_map, + .mbi = mbi, }; } |
