mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 08:33:12 -05:00
munmap and sceKernelMunmap over a range in which no page is mapped failed: munmap returned EINVAL and sceKernelMunmap let the registry's exception escape. Both now return 0. The console returns 0 for sceKernelMunmap of a range it just unmapped and of a never-mapped address, and EINVAL only for a zero length, as measured by prosper's console oracle (kernelx.golden.tsv, kx_fmem_unmap_again, kx_fmem_munmap_unmapped). The other half of #3196, a range with an unmapped page in the middle, is already fixed on main by 04ed61957; the test covers both. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>