mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 08:33:12 -05:00
GuestWriteWatchCovers says whether a range is watched in full. The Linux and macOS watches unregister page ranges, so a range can hold watched pages between unwatched ones, and code that must act on every watched byte of a store has had no way to find them short of asking page by page. GuestWriteWatchOverlaps answers with one lookup in the registered ranges, like Covers. The macOS write-watch test and agc_write_tracking on Linux check it around watched pages between unwatched ones, at both edges and for an empty range.