AnyPS5/core/libs/prx/libkernel
DotDebian d9852df2a2 fix(libc): track writes to singly mapped direct memory without faults on Windows
A direct memory page mapped at one guest address now lives in private
MEM_WRITE_WATCH memory at that address, and its writes are collected with
GetWriteWatch like flexible memory: no fault is raised. A page mapped at a
second address moves its whole resident run into the section, behind a
read-only fence while it is copied, and every address becomes a view of it,
tracked by write protection. Unmapped resident pages that are not blank are
kept in a private reservation until they are mapped again, not in the
section.

Ported onto main's 4 KiB subpage tracking of shared views: resident runs
keep a per-page collected bit and enter the fresh ranges, so Fresh and
Armed collections select them like shared views; a demoted run carries its
collected bits into the views and reports every page once. MapAlias throws
through refuse() when a resident run extends outside the aliased range, and
the caller keeps main's fallback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V1W4jdNSKTV7xwuS6xQPJV
2026-10-14 02:39:10 +02:00
..
Aio/src fix(aio): use precise polling sleep 2026-10-11 18:48:18 -04:00
AppMetadata fix(kernel): honor the declared flexible memory budget 2026-10-13 20:13:14 -03:00
Apr fix(ampr): reserve remap targets before releasing pool pages 2026-10-13 07:50:53 +00:00
DirectMemory fix(libc): track writes to singly mapped direct memory without faults on Windows 2026-10-14 02:39:10 +02:00
Equeue fix(libkernel): route equeue socket checks by membership 2026-10-13 03:28:27 +00:00
EventFlag/src feat(runtime): timed waits, sync primitive fixes, heap and RTC fixes, unattended-run switches 2026-09-26 19:00:39 -07:00
File fix(libkernel): share positioned transfer locks on Windows only 2026-10-14 11:18:55 +13:00
Module Merge pull request #4688 from eliyarson/fix/kernel-stat-relinked-prx 2026-10-13 17:48:42 +13:00
Pthread Merge pull request #5429 from Dripl1x/perf/windows-mutex-wake 2026-10-14 12:31:24 +13:00
Semaphore fix(libkernel): report the remaining time from sceKernelWaitSema 2026-10-11 20:09:33 +00:00
Socket fix(libkernel): accept POLLPRI on guest sockets under WSAPoll 2026-10-13 11:15:48 +02:00
SyncOnAddress/src feat(libkernel): wake each listed address in _umtx_op UMTX_OP_NWAKE_PRIVATE 2026-10-11 17:48:06 +00:00
System feat(libkernel): implement getpriority for the guest process 2026-10-14 10:23:41 +13:00
Time perf(libkernel): wake guest mutex waiters on release on Windows 2026-10-14 02:18:33 +03:00
CMakeLists.txt Merge pull request #4508 from jradelmo/feat/flexible-memory-budget 2026-10-14 13:13:03 +13:00
KernelErrors.hpp refactor(kernel): share SCE kernel error codes through KernelErrors.hpp 2026-09-27 13:32:28 +07:00
Unimplemented.cpp feat(libkernel): report the host SoC and CPU temperature 2026-10-13 16:30:07 +02:00