mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
vmm: some work towards page locking
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user