feat(libkernel): implement sceKernelGetSystemSwVersion #2906
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2906"
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 pushkarreddyy on 2026-10-10T18:22:57Z.
What
ProsperoStore (
PPSA99000) stops at startup onmain(57f96fd2) on missing system exportsceKernelGetSystemSwVersion(NIDMv1zUObHvXI) inlibkernel.In PR #2543 (
kill, merged as9a704771), startup logging verified:With this PR applied, PPSA99000 moves past kill, next stop = ./app.elf: symbol lookup error: ./app.elf: undefined symbol: Mv1zUObHvXI.This PR implements
sceKernelGetSystemSwVersion_nid_postfix:struct SceKernelSystemSwVersion(size,versionString,version,unk_24, total size 40 bytes /0x28).EFAULT(14).sizeof(SceKernelSystemSwVersion)and reportsEINVAL(22) on mismatch.versionStringwith baseline"01.000.000", zeroes remaining buffer bytes, setsversion = 0x01000000, and setsunk_24 = 0.core/libs/tests/GuestSystemConfiguration.cpp.docs/dev/TechnicalDebt.md.Tested
guest_system_configuration(core/libs/tests/GuestSystemConfiguration.cpp): checks null pointer handling, size validation under/overflow, pre-dirty buffer overwrite, zero padding, and errno preservation.python tools/check_conventions.py --base origin/main(all conventions checks passed).Mv1zUObHvXIverified withtools/nid_names.py(compute_nid("sceKernelGetSystemSwVersion")).python -m unittest discover tools/tests(52/52 passed).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T18:32:25Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T18:33:51Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/tests/GuestSystemConfiguration.cppL54, L56Imported from boykopovar/AnyPS5. Originally posted by pushkarreddyy on 2026-10-10T20:06:14Z.
Updated error handling to return SCE_KERNEL_ERROR_EFAULT and SCE_KERNEL_ERROR_EINVAL without altering errno, and updated guest unit tests per upstream review on #2945:
github.com/pushkarreddyy/AnyPS5@9712ae6e95Pull request closed