feat(libkernel): declare sceKernelGetProcessAbiType #8255
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8255"
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 Nixitov on 2026-10-20T07:13:05Z.
What
Declares
sceKernelGetProcessAbiType(Ai+CmAO2w54) in libkernel as a throwing export, like the neighbouring unimplementedsceKernelUnknown*declarations.No measured value, prototype or documented consumer of the process ABI type was found, and returning a guessed constant would let a title branch on a value the console never answered with. The debt entry records that together with the title that reaches it.
Tested
Relinked against
maindd4b76525. PS5_MihawkOS (PPSA99170,mihawk-99/PS5_MihawkOSv1.0.0-alpha-1), Windows, MinGW-w64 GCC 15.2:FAIL: unresolved ELF import Ai+CmAO2w54 from libkernel.prx, exits at load.Could not find asset path in "/mnt/sandbox/PPSA99170_000/app0/assets/", with no library stop; the declaration is never actually called.No test: this is a declaration-only export, like the existing
sceKernelUnknown*ones; there is no behaviour to assert beyond the throw.check_conventions.py --base origin/mainpasses.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.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-20T07:13:52Z.
Progress report (
b77bd58→4d83fec)➖ System libraries: 49.93% (+0.0%, +1 declared functions)
🆕 1 declared as stubs
sceKernelGetProcessAbiTypeImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-20T07:20:52Z.
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)docs/dev/debt/libkernel.mdL236Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
docs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mdcore/libs/prx/libkernel/Unimplemented.cppdocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mddocs/dev/debt/libkernel.mdImported from boykopovar/AnyPS5. Originally posted by fogydes on 2026-10-20T07:31:19Z.
Review: COMMENTED
Looked at the diff and CI status.
Code: The export follows the established
NotImplemented_nid_no_patch(__func__)pattern identically to the neighbouringsceKernelUnknown*declarations — correct approach when the console return value is unknown. The debt entry indocs/dev/debt/libkernel.mddocuments the reasoning (no measured value, no prototype, only one known consumer) and records the title that reaches it.CI:
conventions,intake,labels,eligibilityandreportall pass. Build/platform jobs skip as expected for a kernel declaration change.Conventions:
return 0after the throw is consistent with the rest ofUnimplemented.cpp. No comments in code, no added notes files, PR body fills every template item including theUnblocks: PPSA99170line. Clean.No issues found. This follows the project's declaration-only export pattern exactly.
Imported from boykopovar/AnyPS5. Originally posted by dantdmdarealguy on 2026-10-21T02:12:34Z.
Independent Windows check of head
4cbaa5ce2fagainst its merge base434e965d46, built one after the other in the same build directory, plus currentmain3b5a24c0d. Windows 11 Pro, Intel Core i9-14900K, 128 GB RAM, NVIDIA GeForce RTX 5080 (driver 32.0.16.1742), WinLibs GCC 15.2.0, Ninja, Release,BUILD_TESTING=ON.PS5_MihawkOS (PPSA99170) v1.0.0-alpha-1:
PS5_MihawkOS-v1.0.0-alpha-1-PPSA99170.zipfrom themihawk-99/PS5_MihawkOSGitHub release. It is not in the catalog. Its sha256,eeb2de04…34b78bd, matches the digest GitHub lists for the asset.eboot.binandsce_module/libc.prxunwrapped withtools/unwrap_self.py, relinked withrelinker --windows --registry, package asapp0. 60 s runs, no input.0xC0000139:main3b5a24c0d: the same stop after 3.5 s.sceKernelGetProcessAbiType not implementedline, so the declaration isn't called before that point.main3b5a24c0dwith this PR merged (together with #8080, #8119 + #8113 and #8083, which touch other libraries): the same, exit 0 at the same asset check.Checks
patched_librariespasses onmain+ this PR. The incremental head build has no warnings.tools/check_conventions.py --base 434e965d46passes, and the branch merges into currentmain3b5a24c0dwithout conflicts.Ai+CmAo2w54; the loader printsAi+CmAO2w54, which is what the What section has and whattools/nid_names.pycomputes forsceKernelGetProcessAbiType;Unimplemented.cppgets two blank lines before the new function where the file uses one.app0/assets/exists in the run directory, and no file undercore/mentions/mnt/sandbox.Verdict: works on Windows. The load stop is gone on the merge base and on current
main, and the title gets to its own asset check.Imported from boykopovar/AnyPS5. Originally posted by Nixitov on 2026-10-21T07:01:44Z.
Thanks for the independent Windows check, and for the two catches. Both are fixed in
4d83fece6:Ai+CmAO2w54(the What section andtools/nid_names.pyalready had that spelling);Unimplemented.cppnow has a single blank line before the new function, matching the rest of the file.Rebuilt
libkernelafter the change andpython tools/check_conventions.py --base origin/mainstill passes. The declaration and the debt entry are otherwise unchanged.AI-assisted: yes