AnyPS5/core/libs/prx/libkernel/DirectMemory
devilismyfriend a503d0b617 Merge remote-tracking branch 'origin/main' into feat/demons-souls-boot
Brings in main up to 9958d26 (homebrew runtime, POSIX wrappers in
libkernel, sce_module guest modules and --skip-sce-module, the --to-intel
general pipeline, libSceRandom, libSceRtc, libScePosixForWebKit,
libRenoirCore, test wiring).

Resolutions where both sides implemented the same thing:
- libkernel pthread: main's structure (lazy static initialisation,
  destroyed markers, MutexOperations/CondOperations, mutex protocol and
  condattr clock) with this branch's TimedWait deadlines and condition
  (precise timed lock/wait on Windows), wait tracing, the adaptive mutex
  type 4, POSIX default ERRORCHECK mutexes, EDEADLK/EPERM results instead
  of throws, and condition clocks honoured for absolute timeouts.
- libc locale: the guest Dinkumware ABI (_Locimp, facet vtables, short
  ctype/case tables, locale ids, stream storage) is kept because guest code
  inlines those layouts; main's C character functions are kept on top.
- libc stdio/strings/math: main's stream functions (guest FILE status
  sync), strerror/perror, remove, formatting, string and math exports win
  over this branch's duplicates.
- libc paths: main's working directory with this branch's path aliases
  resolved on the normalised guest path.
- libkernel file: this branch's sceKernel* results as SCE errors, main's
  POSIX wrappers and both fstat helpers.
- relinker: this branch's stub lowering keeps its trampolines through the
  main executable path; guest modules refuse lowerings that need stubs.
- AGC driver: main's rendering wait is executed by this branch's workers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0177gthrWEBBfBu5xJDXgBfo
2026-09-27 10:52:21 -07:00
..
DirectMemory.cpp Merge remote-tracking branch 'origin/main' into feat/demons-souls-boot 2026-09-27 10:52:21 -07:00
DirectMemory.hpp refactor(libkernel): refactir direct memory exports organization 2026-09-07 09:08:59 +03:00
Export.cpp Merge remote-tracking branch 'origin/main' into feat/demons-souls-boot 2026-09-27 10:52:21 -07:00
MemoryPool.cpp refactor(libkernel): separate direct memory impl 2026-09-07 08:08:31 +03:00
MemoryPool.hpp refactor(libkernel): refactir direct memory exports organization 2026-09-07 09:08:59 +03:00
MemoryPoolExport.cpp refactor(libkernel): move from Export.cpp to separated files 2026-09-13 16:41:04 +03:00
PosixMemory.cpp feat(kernel): support private anonymous guest memory mappings 2026-09-25 06:06:31 +10:00