Repository navigation
feat(libkernel): implement sceKernelGetSystemSwVersion - #2906
Closed
pushkarreddyy wants to merge 1 commit into
Closed
pushkarreddyy wants to merge 1 commit into
pushkarreddyy wants to merge 1 commit into
Conversation
|
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. |
9 tasks done
|
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.
|
9 tasks done
Contributor
Author
|
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:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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)