From 408b499a47c8b4ad04bed8bb789583c721ce6955 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 16 Mar 2026 08:37:35 +0100 Subject: x86_64/memory: add todo for students --- arch/x86_64/kapi/memory.cpp | 2 ++ 1 file changed, 2 insertions(+) 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); }); } -- cgit v1.2.3