From e284d574ed9237a215d994861cc502452fec11ce Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 13 Mar 2026 22:28:50 +0100 Subject: kernel/memory: implement basic bitmap allocator --- arch/x86_64/include/arch/memory/region_allocator.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/x86_64/include') diff --git a/arch/x86_64/include/arch/memory/region_allocator.hpp b/arch/x86_64/include/arch/memory/region_allocator.hpp index f391293..1c5885e 100644 --- a/arch/x86_64/include/arch/memory/region_allocator.hpp +++ b/arch/x86_64/include/arch/memory/region_allocator.hpp @@ -58,6 +58,9 @@ namespace arch::memory auto allocate_many(std::size_t count = 1) noexcept -> std::optional> override; + //! @copydoc kapi::memory::frame_allocator::mark_used + auto mark_used(kapi::memory::frame frame) -> void override; + //! @copydoc kapi::memory::frame_allocator::release_many //! //! @note This implementation will never actually release any frames. -- cgit v1.2.3