Commit Graph
7981 Commits
Author SHA1 Message Date
orezraey ed75f2fee1 Merge branch 'docs/libc-math-measured-ps5' into fix/libc-strftime-measured-ps5
# Conflicts:
#	docs/dev/debt/libc.md
2026-10-23 08:58:39 -03:00
hypermistandClaude Opus 5.5 702d85e0bc fix(libSceNpCommon): check for a queued callout before writing it
sceNpCalloutStartOnCtx64 cleared and filled the entry before looking for
it in the queue, so restarting a queued callout cut off every callout
queued after it and changed its deadline while the callout thread could
read it. The entry is now written only after the duplicate check under
the context mutex. sceNpArchInit and sceNpArchTerm now hold a lock, so a
second caller no longer returns before the global heap exists. Both
differences from the firmware are recorded in the debt document.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013XFS3FUfBtqCVfwmBrRQ6q
2026-10-24 00:57:29 +13:00
orezraey a99a56fe83 Merge branch 'fix/libkernel-pthread-attr-measured-ps5' into fix/libkernel-posix-thread-attr-measured-ps5
# Conflicts:
#	docs/dev/debt/libkernel.md
2026-10-23 08:56:44 -03:00
xXPBSXxandClaude Sonnet 5.5 4ee33a5509 docs(debt): note how titles call sceAgcDriverSubmitAcb
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 13:56:18 +02:00
Dean 8eb8e39207 Merge pull request #10077 from frankea/fix/system-service-registry-parameters
fix(libSceSystemService): answer the registry-backed integer parameters with values measured on a PS5
2026-10-24 00:55:28 +13:00
Dean 19d0005a47 Merge pull request #9027 from hypermoist/fix/audioout2-mastering-state
fix(libSceAudioOut): track mastering initialization as the console does
2026-10-24 00:54:34 +13:00
Yunus Shaikh 92de1c6a76 feat(libSceNetCtl): report no error from sceNetCtlGetResult for IPv4 events
sceNetCtlGetResult threw for every event after its initialization and
address checks, and Worms Armageddon: Anniversary Edition (PPSA20052)
and Monster Hunter Wilds (PPSA24191) stop on it at boot; MHW's first
call asks about event 1, a disconnection.

It now answers as sceNetCtlGetResultV6 does: for event types 1 to 3,
disconnected to IP obtained (the numbers sceNetCtlCheckCallback
delivers), it writes 0 to the result and returns 0. Other event types
throw, naming the type. The initialization and null checks come first,
as before. The error code a console reports per event is unconfirmed,
which the library's debt page now records.

The guest NetCtl test covers each supported event, three unsupported
ones with the new message and the result left untouched, and a null
result answered before the event is looked at.
2026-10-23 04:53:12 -07:00
Dean 06fd07ab4a Merge pull request #8700 from nikowolf123/feat/libkernel-underscore-socket-signal-entries
feat(libkernel): export the underscore entry points of the socket, directory and signal calls
2026-10-24 00:53:04 +13:00
orezraeyandClaude Opus 5.5 a431d14efe fix(libkernel): mark a destroyed condition variable with 1 and accept destroying a null one, as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:52:48 -03:00
Daniele Giovane cd3e37795d Merge main and preserve kernel thread tests 2026-10-23 13:52:37 +02:00
orezraeyandClaude Opus 5.5 886a2b249c revert(libkernel): move the destroyed condition marker to its own pull request
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:49:24 -03:00
orezraeyandClaude Opus 5.5 c22a810b6b revert(libc): move fetestexcept and the memmem note to their own pull requests
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:48:45 -03:00
Dean 74f6fa8e31 Merge pull request #10076 from JJenkx/windows/raise-host-backoff
fix(libkernel): give a raise target time to run between host-code samples
2026-10-24 00:45:09 +13:00
xXPBSXxandClaude Sonnet 5.5 01655d7219 fix(libkernel_sys): answer fpathconf for pipes and _PC_ASYNC_IO as FreeBSD does
kern_fpathconf answers _PC_ASYNC_IO with _POSIX_ASYNCHRONOUS_IO (200112) after the descriptor lookup, and a pipe or socket (no vnode) with PIPE_BUF for _PC_PIPE_BUF and EINVAL for every other name. Drop the unused File.hpp include and the duplicate KernelErrors.hpp include.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 13:44:46 +02:00
QuentinRemondandClaude Sonnet 5.5 07d3d6447a feat(libkernel_sys): implement fpathconf and _fpathconf
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 13:44:43 +02:00
Dean d187f09c93 Merge pull request #10098 from voidlakhan/fix/shareplay-prohibit-controller-invalid-args
fix(libSceSharePlay): return invalid args error for invalid prohibition in sceSharePlayProhibitController
2026-10-24 00:42:00 +13:00
orezraeyandClaude Opus 5.5 a51fcc5aa6 docs(libc): record that libSceLibcInternal does not export memmem or memccpy
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:41:39 -03:00
orezraeyandClaude Opus 5.5 815a9e0289 fix(libc): return fetestexcept's unmasked status bits as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:41:38 -03:00
Dean a60033fe8e Merge pull request #8320 from hypermoist/fix/np-session-signaling-lookups
fix(libSceNpSessionSignaling): return the firmware lookup results
2026-10-24 00:41:15 +13:00
orezraeyandClaude Opus 5.5 d6dcdeacfe docs(libSceRtc): record that titles built before SDK 3.00 get INVALID_YEAR before year 1
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:40:46 -03:00
orezraeyandClaude Opus 5.5 af0ac7050a fix(libkernel): look the thread up before the priority range in scePthreadSetprio, as firmware 13.42 does
A finished or joined thread returns ESRCH for any priority, and scePthreadSetprio sets errno for a refused priority like pthread_setprio.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:39:41 -03:00
Yunus Shaikh ca39134f27 fix(libkernel): answer the measured rwlock type and mutex kind cases
BunnyFl measured these functions against firmware 13.42's libkernel and
libkernel_sys in the PR thread (behaviour only):

- pthread_rwlockattr_settype_np stores only types 1 and 2. Any other
  type, 0 included, and a null attribute or object return EINVAL and
  store nothing; type 0 was stored before.
- scePthreadMutexattrSetkind returns 0x8001FFFF, sceKernelError(-1), for
  a null attribute or object instead of throwing. Kinds 1 to 4 are set as
  before; other kinds still throw, since the firmware stores them
  unchecked and a mutex's behaviour with them is not measured.
- scePthreadMutexattrGetkind takes the attribute itself and returns
  sceKernelError of its kind, or 0x8001FFFF for a null one.
2026-10-23 04:39:14 -07:00
eliasbruno124-dev b996e31d8c perf(agc): reclaim idle device buffers under storage cache pressure 2026-10-23 13:38:46 +02:00
eliasbruno124-dev 894d9f81d4 docs(agc): describe deferred settle submission ordering 2026-10-23 13:38:46 +02:00
jacob6769 0f54186f5a Merge remote-tracking branch 'origin/main' into feat/ces-korean-big5-scalars
# Conflicts:
#	core/libs/prx/libSceCesCs/Export.cpp
#	core/libs/prx/libSceCesCs/PendingExports.cpp
#	docs/dev/debt/libSceCesCs.md
2026-10-23 20:34:04 +09:00
Dean 58ceeb8ed5 Merge pull request #9040 from YossiYad/feat/kernel-sys-workaround-process-type
feat(libkernel_sys): implement sceKernelTitleWorkaroundIsEnabled and sceKernelGetProcessType
2026-10-24 00:33:16 +13:00
Dean d1b6cdbabd Merge pull request #8976 from simonbronk/feat/libSceCesCs-gbk-euc-cn
feat(libSceCesCs): convert GBK and EUC-CN through the CP936 table
2026-10-24 00:29:10 +13:00
Adrià ef337cd082 Merge pull request #8104 from Celegans12/perf/agc-address-build-staging
perf(agc): stage the written elements of address-based compute builds in device memory
2026-10-23 13:28:29 +02:00
hypermistandClaude Opus 5.5 547e0b74dd docs(libc): record the console evidence for the sized __atomic calls
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013XFS3FUfBtqCVfwmBrRQ6q
2026-10-24 00:28:24 +13:00
hypermistandClaude Opus 5.5 372d0738e9 Merge remote-tracking branch 'upstream/main' into feat/npcommon-runtime
#9037 landed as this branch already carried it, so keep this branch's pending exports and debt entries and add the runtime test beside main's.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013XFS3FUfBtqCVfwmBrRQ6q
2026-10-24 00:28:23 +13:00
hypermistandClaude Opus 5.5 ea8fb1235d Merge remote-tracking branch 'upstream/main' into fix/libs-firmware-constants-4
Keep the constant-returns test after main's barrier and pthread tests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_013XFS3FUfBtqCVfwmBrRQ6q
2026-10-24 00:28:22 +13:00
Evgeniy KazarinandClaude Opus 5.5 c442afa5d1 docs: name shared views as the pages the Windows write watch leaves read-only
CONVENTIONS.md still listed stable resident runs of at least 256 KiB as
the pages the write watch can leave read-only between collections on
Windows, and pointed at the debt/libc.md entry this PR removes. Resident
runs are no longer write-protected. What stays read-only between
collections on Windows are the pages of shared views (shared memory,
shared file mappings, and direct memory mapped at more than one guest
address), which Collect arms; the Windows direct-memory backing entry in
debt/libc.md describes the direct-memory case.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 19:27:37 +08:00
orezraeyandClaude Opus 5.5 d3f7b11e85 docs(libSceCesCs): record the measured Shift-JIS decoding sweep
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:27:22 -03:00
orezraeyandClaude Opus 5.5 4ec8b2d289 fix(libSceCesCs): encode EUC-JP and Shift-JIS as measured on a PS5
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:27:22 -03:00
orezraeyandClaude Opus 5.5 23411115af refactor(libSceCesCs): let every MBCS string form check its output through the shared loop
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:27:15 -03:00
xXPBSXxandClaude Sonnet 5.5 f5bf94ca3e docs(debt): note how titles call sceGameLiveStreamingGetProgramInfo
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 13:26:19 +02:00
xXPBSXxandClaude Sonnet 5.5 edb66d9cc1 docs(debt): note how a title calls the sceUserService accessibility getters
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 13:25:52 +02:00
Dean c928aeb0a2 Merge pull request #10029 from oneandonlydean/fix/convertkeycode-ime-keyboard-type
fix(libSceConvertKeycode): map the user's keyboard type to the IME keyboard type
2026-10-24 00:21:18 +13:00
orezraeyandClaude Opus 5.5 5b014ba000 fix(libSceCesCs): terminate and count MBCS string conversions as measured on a PS5
The UTF-16 and UTF-32 string forms and the UTF-8 to Shift-JIS and EUC-JP
calls now share the measured string loop and UTF-8 decoder, and the
Japanese tests expect JIS X 0212 to be neither decoded nor encoded.
sceCesMbcsUcsContextInit rejects a null profile.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 08:17:51 -03:00
Adrià 0a5d810e9d Merge pull request #7659 from thuanquang/fix/db-plane-clear-state
fix(agc): start DB_Z_INFO and DB_STENCIL_INFO at their clear-state value
2026-10-23 13:17:23 +02:00
Santhosh Kumar 7f5367d4e4 chore: sync current main for PR 8286 2026-10-23 16:46:34 +05:30
Santhosh Kumar 68b616640a chore: sync current main for PR 9785 2026-10-23 16:46:34 +05:30
Santhosh Kumar f3da59fe87 chore: sync current main for PR 9802 2026-10-23 16:46:33 +05:30
xXPBSXxandClaude Sonnet 5.5 d71baaf460 docs(debt): shorten the NetCtlGetInfo entry under the length limit
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-23 13:14:28 +02:00
Adrià af4700b98d Merge pull request #7692 from PhialsBasement/fix/agc-versioned-defaults-compact-types
test(libSceAgc): find MRT0 through the compact versioned register defaults
2026-10-23 13:14:16 +02:00
Santhosh Kumar 2637f07c62 feat(libSceFreeType): configure scalar and darkening properties 2026-10-23 16:41:34 +05:30
eliasbruno124-dev 9d4a0ebfcd docs(agc): describe deferred settle submission ordering 2026-10-23 13:10:59 +02:00
orezraey 0a33d53861 Merge branch 'fix/libscecescs-eucjp-measured-ps5' into fix/libscecescs-mbcs-strings-measured-ps5
# Conflicts:
#	core/libs/tests/GuestCes.cpp
2026-10-23 08:06:41 -03:00
atharv-honestly 30ab85a8db feat(libressl): implement certificate verification error strings 2026-10-23 16:33:43 +05:30
Dean f40cdebce2 Merge pull request #9208 from YossiYad/feat/gnm-neo-draw-packets
feat(libSceGnmDriverForNeoMode): write the draw, dispatch, compute wait and VGT control packets
2026-10-24 00:02:58 +13:00