mmu: arch_mmu_invalidate() -> arch_mmu_invalidate_range()

This commit is contained in:
Matheus
2024-09-16 17:34:05 -03:00
parent a30f8ce5d9
commit 0a49ca75b5
3 changed files with 41 additions and 30 deletions
-1
View File
@@ -292,7 +292,6 @@ static void changemmurange(vmmrange_t *range, void *base, size_t size, mmuflags_
// we will only change the mapping if the permissions decreased
if (mask) {
arch_mmu_remap(current_vmm_context()->pagetable, physical, address, currentflags & ~mask);
arch_mmu_invalidate(address);
}
}
}