vmm: allow vmm_getphysical to return a page held

This commit is contained in:
Matheus
2024-09-18 21:27:36 -03:00
parent 611f13b562
commit c76b37693b
6 changed files with 14 additions and 5 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ syscallret_t syscall_futex(context_t *, uint32_t *futexp, int op, uint32_t value
if (ret.errno)
goto cleanup;
uint32_t *physical = vmm_getphysical(futexp);
uint32_t *physical = vmm_getphysical(futexp, false);
futex_t *futex = getfutex(physical);
switch (op) {