aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/kapi/memory.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/x86_64/kapi/memory.cpp b/arch/x86_64/kapi/memory.cpp
index 5cbe65c..6bbfad3 100644
--- a/arch/x86_64/kapi/memory.cpp
+++ b/arch/x86_64/kapi/memory.cpp
@@ -239,6 +239,10 @@ namespace kapi::memory
[](auto const & region) { return region.base + region.size_in_B; }));
init_pmm(frame::containing(physical_address{highest_byte}).number() + 1, handoff_to_kernel_pmm);
+
+ kstd::println("[x86_64:MEM] Releasing bootstrap memory allocators.");
+ allocation_buffer.reset();
+ region_based_allocator.reset();
}
} // namespace kapi::memory