arch_mmu_unmap()

This commit is contained in:
Matheus
2022-07-27 20:50:42 -03:00
parent ed866b05a9
commit 605c87e85f
2 changed files with 11 additions and 3 deletions
+1
View File
@@ -316,6 +316,7 @@ static bool unmap(vmm_mapping** mapstart, void* addr, size_t pagec){
if(arch_mmu_isaccessed(context, addr)){
void* paddr = arch_mmu_getphysicaladdr(context, addr);
pmm_free(paddr, 1);
arch_mmu_unmap(context, addr);
}
break;