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/allocator/area_frame_allocator.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/x86_64/src/memory/allocator/area_frame_allocator.cpp b/arch/x86_64/src/memory/allocator/area_frame_allocator.cpp
index e79cd8b..1e87147 100644
--- a/arch/x86_64/src/memory/allocator/area_frame_allocator.cpp
+++ b/arch/x86_64/src/memory/allocator/area_frame_allocator.cpp
@@ -83,10 +83,5 @@ namespace teachos::arch::memory::allocator
return allocate_frame();
}
- auto area_frame_allocator::deallocate_frame(physical_frame physical_frame) -> void
- {
- // TODO: Fix create acutal deallocation of frames if it is even possible. Can the area frame allocator even
- // deallocate in the first place?
- next_free_frame = physical_frame;
- }
+ auto area_frame_allocator::deallocate_frame(physical_frame physical_frame) -> void { (void)physical_frame; }
} // namespace teachos::arch::memory::allocator