libSceAjm: three exports need their argument lists and checks from the firmware module #13805
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by zaryabzip on 2026-10-31T07:25:34Z.
What happens
Three libSceAjm exports still throw through
NotImplemented_nid_no_patchon every call:sceAjmGetFailedInstance,sceAjmInstanceGetSizeandsceAjmTelemetryGetLog. They're declared without parameters because no prototype is known, and they're the only todo exports incore/libs/prx/libSceAjm. The rest of that module is the shared Ajm implementation thatlibSceAjm.nativealso builds.What's known
docs/dev/debt/libSceAjm.mdrecords only that the names and NIDs are defined function exports in the pinned 13.60 inventory; signatures and behaviour are unknown.What would settle it
For each export, from the firmware
libSceAjm.sprx:In particular:
sceAjmInstanceGetSize: is the size per codec (an instance id or codec type in, a byte count out), and is it a fixed table or a service call?sceAjmGetFailedInstance: does it read state that a failed batch leaves on the context or batch, and what does it return when nothing failed?sceAjmTelemetryGetLog: does it only reach the Ajm service, or does it fill a caller buffer from local state?Also, are the three in
libSceAjm.native.sprxtoo, or only inlibSceAjm.sprx? Calls that only reach the service can stay unsupported here. Their local checks and argument lists would still replace the current placeholders.What was checked
mainatde83e8f270;tools/progress.py; emulator sources at shadPS4 0614ce32, KytyPS5 4919fdb6, sharpemu b1ec2866, fpPS4 04cefd43 and rps5e 84a7887; and the diffs of all open PRs.AI-assisted: yes (Claude Code)