diff options
| author | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-28 14:41:31 +0000 |
|---|---|---|
| committer | Matteo Gmür <matteo.gmuer1@ost.ch> | 2024-10-28 14:41:31 +0000 |
| commit | aa981cad951c4aa2a5e2f7a7f8f1b7b9a0ff4bcd (patch) | |
| tree | 1a9f314e3751a164ec20bdd71947d403ec6bbb6f /arch/x86_64/src/memory/allocator | |
| parent | e5925df93411429340d2887594004aaa690d2ef5 (diff) | |
| download | kernel-aa981cad951c4aa2a5e2f7a7f8f1b7b9a0ff4bcd.tar.xz kernel-aa981cad951c4aa2a5e2f7a7f8f1b7b9a0ff4bcd.zip | |
Fix lost updates, because of writing into copies instead of references
Diffstat (limited to 'arch/x86_64/src/memory/allocator')
| -rw-r--r-- | arch/x86_64/src/memory/allocator/area_frame_allocator.cpp | 8 |
1 files changed, 6 insertions, 2 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 6ec3e95..fecc6cd 100644 --- a/arch/x86_64/src/memory/allocator/area_frame_allocator.cpp +++ b/arch/x86_64/src/memory/allocator/area_frame_allocator.cpp @@ -85,7 +85,11 @@ namespace teachos::arch::memory::allocator auto area_frame_allocator::deallocate_frame(physical_frame physical_frame) -> void { - exception_handling::assert(false && physical_frame.frame_number == 0, - "[deallocate_frame] Not implemented Exception"); + // TODO: Implement deallocation to make unmap actually work. + if (physical_frame.frame_number == 0) + { + } + /*exception_handling::assert(false && physical_frame.frame_number == 0, + "[deallocate_frame] Not implemented Exception");*/ } } // namespace teachos::arch::memory::allocator |
