AnyPS5/core/libs/prx/libkernel
STL1te c206f7049a feat(kernel, libc): memory, files and threads for retail title boot
libkernel:
- direct memory keeps its contents per physical page across unmap and
  remap; a page mapped at two live addresses at once throws
- sceKernelDirectMemoryQuery answers from tracked allocations
- SCE protections read back as set, GPU and AMPR bits included
- APR prefix path resolve, file size and stat by id, positional reads,
  fsync/pread/pwrite; directories open as descriptors on Windows
- sceKernelCheckReachability, getpeername, shutdown
- Dinkumware C11 threads (_Mtx_*, _Cnd_*, _Thrd_*) in the title libc
  layout; any pthread stack size, rounded at thread creation

libc:
- unaddressed guest mappings go to the system-managed area from
  0x2_0000_0000, leaving the application area to fixed mappings
- the process starts in /app0
- guest sscanf on Windows; a null %s prints as (null) as on FreeBSD
- localeconv, _FNan, _FDtest, _FExp, __udivti3, wcsncpy_s, aligned
  operator new, _Throw_Cpp_error

Tests: direct memory following physical pages, guest formatting.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 21:22:13 +03:00
..
Aio/src feat(kernel): implement Aio request lifecycle 2026-09-28 20:39:33 +00:00
AppMetadata feat(kernel, libc): memory, files and threads for retail title boot 2026-09-29 21:22:13 +03:00
Apr feat(kernel, libc): memory, files and threads for retail title boot 2026-09-29 21:22:13 +03:00
DirectMemory feat(kernel, libc): memory, files and threads for retail title boot 2026-09-29 21:22:13 +03:00
Equeue Merge fix/audit-2026-09 (with upstream main) into refactor/kernel-error-header 2026-09-28 07:40:42 +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 feat(kernel, libc): memory, files and threads for retail title boot 2026-09-29 21:22:13 +03:00
Module/src refactor: apply naming conventions and drop extern-C comment 2026-09-29 04:20:28 +03:00
Pthread feat(kernel, libc): memory, files and threads for retail title boot 2026-09-29 21:22:13 +03:00
Semaphore Merge fix/audit-2026-09 (with upstream main) into refactor/kernel-error-header 2026-09-28 07:40:42 +00:00
Socket feat(kernel, libc): memory, files and threads for retail title boot 2026-09-29 21:22:13 +03:00
System/src feat(kernel): deliver plain-text notification requests to host output 2026-09-29 05:14:56 +10:00
Time feat(libkernel): hinted and no-overwrite mappings, virtual range names and usleep 2026-09-28 14:22:48 +13:00
CMakeLists.txt feat(kernel, libc): memory, files and threads for retail title boot 2026-09-29 21:22:13 +03:00
KernelErrors.hpp refactor(kernel): share SCE kernel error codes through KernelErrors.hpp 2026-09-27 13:32:28 +07:00
Unimplemented.cpp feat(kernel, libc): memory, files and threads for retail title boot 2026-09-29 21:22:13 +03:00