mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-12-05 00:50:52 +00:00
* fix(libkernel_sys): track vm map timestamp changes * fix(libkernel_sys): keep failed vm mutations timestamp-stable * test(libkernel_sys): pin vm map timestamp mutation paths * test(libkernel_sys): pin vm map remove timestamp * test(libc): cover successful protection map timestamp Co-authored-by: OpenAI ChatGPT <noreply@openai.com>
771 B
771 B
libkernel_sys
change [get_vm_map_timestamp]
- get_vm_map_timestamp (libkernel_sys) returns the low 32 bits of a dedicated guest VM-map generation. It advances when a tracked mapping or protection changes, including image registration, unmapping and explicit page-state invalidation, but not when a registry mutation scope only inspects mappings. Previously it reused the broader allocation-registry generation, which advances at the end of every mutation scope and therefore changed on read-only operations. Firmware 13.60
libkernel_sys.sprxroutes this export to syscall 624. The console timestamp arithmetic is not hardware-validated, and host mappings made outside the tracker can still be missed.