diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-29 08:05:22 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-29 08:05:22 +0000 |
| commit | 5334a63e7fc3959536f4f443c86f8913f7cb2451 (patch) | |
| tree | cbf24f478785bd4a296057a221451e29546307dc /arch/x86_64/src/memory | |
| parent | 4c4479a4b728fd7eaf007649e946f9435ee1e402 (diff) | |
| download | teachos-5334a63e7fc3959536f4f443c86f8913f7cb2451.tar.xz teachos-5334a63e7fc3959536f4f443c86f8913f7cb2451.zip | |
Unmap all empty page tables in unmap function.
Diffstat (limited to 'arch/x86_64/src/memory')
| -rw-r--r-- | arch/x86_64/src/memory/allocator/area_frame_allocator.cpp | 7 |
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 |
