diff options
| -rw-r--r-- | arch/x86_64/kapi/memory.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86_64/kapi/memory.cpp b/arch/x86_64/kapi/memory.cpp index e704408..5cbe65c 100644 --- a/arch/x86_64/kapi/memory.cpp +++ b/arch/x86_64/kapi/memory.cpp @@ -191,6 +191,8 @@ namespace kapi::memory auto mbi_start = frame::containing(mbi_address); auto mbi_end = frame::containing(mbi_address + mbi_size) + 1; + // TODO BA-FS26: Protect MB2 boot modules + std::ranges::for_each(std::views::iota(mbi_start, mbi_end), [&](auto frame) { new_allocator.mark_used(frame); }); } |
