fix(exports): export the calls PPSA01530, PPSA23827 and PPSA13356 import #3337
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3337"
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 reyani-dev on 2026-10-11T08:06:16Z.
What
Carries the first two commits of @xXPBSXx's #3177 branch (the author is under the intake threshold). Both commits are theirs, unchanged (
e5831c99,2eb35317). They export the imports that keep three retail titles from loading on Windows._sceUltWaitingQueueResourcePoolCreateand_sceUltSemaphoreCreateare forwarded to the existing calls, like the other underscore Ult exports.sceNetShowIfconfigandsce::Json::Value::setNullAccessCallBackare declared and throw "not implemented".kqueueandkeventare declared and throw "not implemented".n3kSX62fgNo) is exported under its NID and throws.After this, the relinker audit reports no absent imports for PPSA01530 and PPSA13356. The unknown signatures are listed in
TechnicalDebt.md.I left out the branch's third commit, which replaces the throwing
kqueue/keventwithEVFILT_VNODEwatches that never fire. That one needs more discussion (see my note on #3177), and it belongs in its own PR.A third commit of mine addresses the review:
sceNpWebApi2GetMemoryPoolStatsstub, which #3296 implements;guest_ppsa01530_exportsincore/libs/CMakeLists.txtnext to the other cross-library guest tests;Equeue.cpp.Rebased onto current
main.Part of #3177.
Tested
Windows 11 (10.0.26200), WinLibs GCC 15.2.0 r7, Release,
BUILD_TESTING=ON, onmain2bb78d2c.guest_ppsa01530_exports, theguest_ult_thread_*tests (including the newguest_ult_thread_underscoredcreate) andguest_padpass 3/3.ctest -E "^agc_|video_out"on the rebased head: 442/442.check_conventions.pypasses.pr_overlap.pyreports only #3315, which appends a different line at the end ofTechnicalDebt.md.The title results are xXPBSXx's runs from #3177; danzaio confirmed the branch's tests on Windows there.
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)sceNpWebApi2GetMemoryPoolStats)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T08:09:27Z.
Progress report (
90c152e→3c8c02f)📉 System libraries: 85.45% (-0.12%, +2 implemented, +5 declared functions)
✅ 2 implemented
_sceUltSemaphoreCreate_sceUltWaitingQueueResourcePoolCreate🆕 5 declared as stubs
_ZN3sce4Json5Value21setNullAccessCallBackEPFRKS1_NS0_9ValueTypeEPS2_PvES6_sceNetShowIfconfigscePadUnknown_n3kSX62fgNokevent_nid_postfixkqueue_nid_postfixImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T08:45:17Z.
Review: CHANGES_REQUESTED
Built on Linux merged onto current
main:guest_ult_thread_*(includingunderscoredcreate) andguest_ppsa01530_exportspass. Three things to fix:sceNpWebApi2GetMemoryPoolStatsis already implemented by open #3296 (core/libs/prx/libSceNpWebApi2/Export.cpp, same export). Drop the throwing stub here, its entry inGuestPPSA01530Exports.cpp(lines 9 and 25) and its name in theTechnicalDebt.mdline, and list #3296 under Depends on. The rest of the PR can stay.core/libs/prx/libkernel/Equeue/Equeue.cpp:2adds#include "prx/libc/include/General.hpp", which is already included on line 4. Remove it.core/libs/prx/libSceHmd2/CMakeLists.txt: the new test is registered in the Hmd2 directory, which has nothing to do with it. Register it where its own libraries live (or incore/libs/CMakeLists.txtnext to the other cross-library guest tests).Imported from boykopovar/AnyPS5. Originally posted by reyani-dev on 2026-10-11T09:01:39Z.
Thanks @adriadam10, all three are done in
a4d66236(rebased onto currentmain):sceNpWebApi2GetMemoryPoolStatsstub is gone, along with its two test lines and its name in the TechnicalDebt line. #3296 is listed under Depends on.General.hppinclude inEqueue.cppis removed.guest_ppsa01530_exportsis registered incore/libs/CMakeLists.txtnext to the other cross-library guest tests. It no longer links libSceNpWebApi2, andlibSceHmd2/CMakeLists.txtis unchanged frommain.Windows 11 / GCC 15.2: the PR's tests pass 3/3 and
ctest -E "^agc_|video_out"passes 442/442.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T09:12:37Z.
Review: APPROVED
Checked on Linux merged onto current
main:guest_ppsa01530_exportsandguest_ult_thread_*(includingunderscoredcreate) pass, and the test does not link without the change. The export names exist in the NID database.Added on top of your branch:
docs/dev/TechnicalDebt.md: moved the line from the end of the file into "Unknown function info" (everyone appends at the end, so it conflicts), and noted that the_sceUlt*Createforwards take their argument lists from the sibling underscore exports, not from a measurement.Merging once CI is green.