aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/src/memory
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/src/memory')
-rw-r--r--arch/x86_64/src/memory/region_allocator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86_64/src/memory/region_allocator.cpp b/arch/x86_64/src/memory/region_allocator.cpp
index 91a5d49..11ffce2 100644
--- a/arch/x86_64/src/memory/region_allocator.cpp
+++ b/arch/x86_64/src/memory/region_allocator.cpp
@@ -51,7 +51,7 @@ namespace teachos::memory::x86_64
}
}
- auto region_allocator::allocate_frame() -> std::optional<frame>
+ auto region_allocator::allocate() -> std::optional<frame>
{
if (!m_current_region)
{
@@ -80,8 +80,8 @@ namespace teachos::memory::x86_64
return allocated;
}
- return allocate_frame();
+ return allocate();
}
- auto region_allocator::deallocate_frame(frame const &) -> void {}
+ auto region_allocator::release(frame) -> void {}
} // namespace teachos::memory::x86_64