vmm: some work towards page locking

This commit is contained in:
Matheus
2026-02-12 16:25:35 -03:00
parent 3e2a64be5d
commit b3d5bf5586
6 changed files with 56 additions and 7 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ int iovec_iterator_next_page(iovec_iterator_t *iovec_iterator, size_t *page_offs
return 0;
}
void *phys = vmm_getphysical((void *)((uintptr_t)addr - offset_in_page), true);
void *phys = vmm_getphysical((void *)((uintptr_t)addr - offset_in_page), VMM_GET_PHYSICAL_FLAGS_HOLD | VMM_GET_PHYSICAL_FLAGS_LOCK);
if (phys == NULL)
return EFAULT;