[Zion] Call invlpg when unmapping memory.

This commit is contained in:
Drew Galbraith 2023-12-05 15:53:42 -08:00
parent 0b9f83b321
commit 1f8085f791
4 changed files with 27 additions and 9 deletions

View file

@ -82,9 +82,7 @@ class AddressSpace : public KernelObject {
const glcr::RefPtr<MemoryObject>& mem_obj, uint64_t align);
[[nodiscard]] glcr::ErrorCode FreeAddressRange(uint64_t vaddr_base,
uint64_t vaddr_limit) {
return mapping_tree_.FreeMemoryRange(vaddr_base, vaddr_limit);
}
uint64_t vaddr_limit);
// Kernel Mappings.
uint64_t AllocateKernelStack();