mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 08:33:12 -05:00
sceAmprAmmCommandBufferMapAsPrt, AllocatePaForPrt, RemapIntoPrt and UnmapToPrt, with the MapAsPrt and AllocatePaForPrt measures. Signatures, checks and their order follow ampr_emu. The executor keeps the PRT pages of the AMM ranges. Unbacked PRT pages are zero-filled with GPU read access; AllocatePaForPrt backs each unbacked page with a pool page and changes the type and protection of backed ones; RemapIntoPrt moves a mapped range into a PRT range; and UnmapToPrt returns the pages to the pool and zero-fills them again. A plain map, unmap or remap over a PRT range ends it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>