Remove phys_base modifications

This can be handled later. Doing the logic properly would likely take work in MergeAdjacent, and would probably need to be applied to normal dmem mappings too.
This commit is contained in:
Stephen Miller 2025-05-09 20:43:00 -05:00
parent 33cb81b9d1
commit 5a455c97de

View File

@ -310,9 +310,6 @@ int MemoryManager::PoolCommit(VAddr virtual_addr, size_t size, MemoryProt prot)
return ORBIS_KERNEL_ERROR_EINVAL;
}
// Before mapping, the reserved VMA should have it's physical base incremented.
vma.phys_base += size;
// Carve out the new VMA representing this mapping
const auto new_vma_handle = CarveVMA(mapped_addr, size);
auto& new_vma = new_vma_handle->second;