mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 08:33:12 -05:00
Follows mlockall (#4386) for XPSemu (PPSA97358, QEMU os-posix.c), which imports munlockall (NpLBpgVV7PU) from libkernel.prx. Predicted stop: FAIL: unresolved ELF import NpLBpgVV7PU from libkernel.prx The NID is computed with tools/nid_names.py and matches aerolib. Follows FreeBSD 11.4 sys/vm/vm_mmap.c sys_munlockall (8c639945a44588f6cfdddfb057bb5aad88735da0): checks PRIV_VM_MUNLOCK, clears wire state and returns 0. To match, munlockall unlocks ranges locked by mlock (through VirtualUnlock on Windows, tolerating ERROR_NOT_LOCKED, and munlockall on Linux).