sceKernelMunlock and the POSIX munlock unlock the page-rounded range with FreeBSD's results: 0 for a mapped range whether or not it is locked, EINVAL for a range that wraps around zero, ENOMEM for an unmapped range. On Linux the host munlock gives them. On Windows a reserved placeholder counts as mapped only while the guest reservation or protection registry covers it, and a region VirtualUnlock refuses as not fully locked is unlocked page by page, as VirtualUnlock is all-or-nothing. sceKernelMlock shares the range rounding. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012GLfKH7Sqe51wX254k1XsV |
||
|---|---|---|
| .. | ||
| DirectMemory.cpp | ||
| DirectMemory.hpp | ||
| Export.cpp | ||
| MemoryPool.cpp | ||
| MemoryPool.hpp | ||
| MemoryPoolExport.cpp | ||
| PosixMemory.cpp | ||