mmu: invalidate on flags change

This commit is contained in:
Matheus
2022-09-11 12:52:59 -03:00
parent 51a36c6c12
commit 6c681a71d6
+2
View File
@@ -156,6 +156,8 @@ void arch_mmu_changeflags(arch_mmu_tableptr context, void* addr, size_t flags, s
addr += PAGE_SIZE; addr += PAGE_SIZE;
} }
invalidate(addr);
} }
int arch_mmu_map(arch_mmu_tableptr context, void* paddr, void* vaddr, size_t flags){ int arch_mmu_map(arch_mmu_tableptr context, void* paddr, void* vaddr, size_t flags){