AnyPS5/core/libs/prx/libc/include
devilismyfriend f3ac61000d feat(runtime): guest arena, kernel thread/sync/file APIs, crash hooks
- libc: reserve guest memory in one arena below the PS5 map limit with
  MEM_WRITE_WATCH (GuestArena) and a caching guest heap; the allocation
  registry gains a generation counter, an invalidator callback for the
  driver's page cache and a pin waiter for leased ranges. This replaces
  the fault-based GuestMemoryTracking/GuestMemoryBacking layer, whose
  files are removed.
- libkernel: mmap/mprotect/munmap on the arena, flexible memory budget,
  real sceKernelVirtualQuery; POSIX pthread layer, rwlocks, timed locks,
  TSD, event flags; 0.5 ms scheduler tick and high-resolution sleeps;
  TSC/clock/time functions; file APIs return SCE errno codes; the APR
  file-streaming API.
- libc: vectored crash reporter with backtraces for fatal exceptions,
  SIGABRT, UCRT invalid parameters and process exit; SSE4a EXTRQ/INSERTQ
  emulation for Intel hosts; %ls/%lc/%S/%C with the guest's 16-bit
  wchar_t; hand-written setjmp/longjmp for the guest jmp_buf; a path
  alias table for short save-data mount points; more string, stdio and
  math exports.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0177gthrWEBBfBu5xJDXgBfo
2026-09-25 16:27:49 -07:00
..
exceptions refactor(libs): use local cmakelists in libc 2026-09-11 12:22:19 +03:00
general fix(agc): validate rect-list addressing model + logs refactor 2026-09-23 21:26:21 +03:00
specifics feat(libc): cross pltaform build 2026-09-08 09:08:00 +03:00
ApplicationHeap.hpp fix(libc): route guest allocations through application heap 2026-09-24 06:53:12 +03:00
FileStream.hpp feat(libs): NpTrophy2 impl + fopen not found logic update 2026-09-13 11:01:59 +03:00
General.hpp feat(runtime): guest arena, kernel thread/sync/file APIs, crash hooks 2026-09-25 16:27:49 -07:00
GuestAllocations.hpp feat(runtime): guest arena, kernel thread/sync/file APIs, crash hooks 2026-09-25 16:27:49 -07:00
GuestArena.hpp feat(runtime): guest arena, kernel thread/sync/file APIs, crash hooks 2026-09-25 16:27:49 -07:00
GuestHeap.hpp feat(agc): add bda memory mapping and resource management (wip) 2026-09-21 18:54:06 +03:00
GuestLocale.hpp fix(libc): add guest-compatible c++ locale abi 2026-09-24 10:51:11 +03:00
Shutdown.hpp feat(agc): add flip presentation and suspend synchronization (wip) 2026-09-14 07:39:38 +03:00
VarArgsAbi.hpp refactor(libc): separate platform and compiler specifics in libc 2026-09-06 12:41:33 +03:00
WindowsFormatting.hpp feat(runtime): guest arena, kernel thread/sync/file APIs, crash hooks 2026-09-25 16:27:49 -07:00