unmap also removed name thanks @red_prig

This commit is contained in:
georgemoralis 2024-07-29 15:43:19 +03:00
parent bf16bd929e
commit add32b40b6
1 changed files with 1 additions and 0 deletions

View File

@ -235,6 +235,7 @@ void MemoryManager::UnmapMemory(VAddr virtual_addr, size_t size) {
vma.prot = MemoryProt::NoAccess; vma.prot = MemoryProt::NoAccess;
vma.phys_base = 0; vma.phys_base = 0;
vma.disallow_merge = false; vma.disallow_merge = false;
vma.name = "";
MergeAdjacent(vma_map, new_it); MergeAdjacent(vma_map, new_it);
// Unmap the memory region. // Unmap the memory region.