feat(libSceSdma): declare _sceSdmaNop import #9620
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9620"
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 xdCloudy on 2026-10-22T04:42:25Z.
Update (2026-10-25)
The branch is based on current upstream main at
f26434afa3. Corrected the APS5_EXPORT registration literal to verified NID vPP6vKHY8Tg. Local conventions and diff-check pass. Refreshed hosted checks are running; product/platform jobs are skipped.What
Adds the
_sceSdmaNopimport declaration tolibSceSdma. The name and NID are present in the PS5 3.20 libSceSdma import-stub list;tools/nid_names.pyrecomputes the NID asvPP6vKHY8Tg. Its signature and behavior are unverified, so the no-parameter wrapper throws throughNotImplemented_nid_no_patchfor import resolution only.Open PR #9173 also edits
libSceSdma/Export.cpp, but it changes other exports. Manual exact-name/NID review and the livepr_overlap.pyscan found no duplicate or conflicting hunk. No dependency is required.Tested
libSceSdmacompiled and linked successfullylibSceSdmacompiled and linked successfullypython -I tools/check_conventions.py --base upstream/main --head HEAD— passedgit diff --check upstream/main...HEAD— passedpython -I tools/nid_names.py --name _sceSdmaNop --json— recomputedvPP6vKHY8Tgmainand the shared-file PR #9173 — no duplicatepython -I tools/pr_overlap.py --branch feat/ps5-sdma-nop-1-export --repo boykopovar/AnyPS5 --jobs 8— no overlap with open PRsChecklist
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 fogydes on 2026-10-22T08:24:20Z.
Reviewed; verified the NID chain end-to-end:
compute_nid("_sceSdmaNop")undertools/nid_names.pyreturnsvPP6vKHY8Tg, which is exactly the NID the PS5 3.20 stub list binds to_sceSdmaNop(checked against the cited generation of the stub file), so the guest import resolves to this declaration and there is no name collision with the 26 exports already in the table. Body throws throughNotImplemented_nid_no_patchper the unimplemented-export rule, the pending-export count stays 26 with the new export under its own bullet, and the debt entry says "for import resolution only", which is both accurate and the honest framing. No test expected for a declaration-only change.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T09:25:35Z.
Review: CHANGES_REQUESTED
The
_sceSdmaNopdeclaration matches the 3.20 inventory NID, recomputes tovPP6vKHY8Tg, and throws throughNotImplemented_nid_no_patchfor import resolution only. The independent review verifies no collision with the existing exports; the #9173 shared-file edits are distinct. Exact-head conventions andgit diff --checkpass. Windows and WSL target builds are author-reported; product CI was skipped and no runtime test is expected for a throwing declaration.I’ve noticed that holding this PR because of #5239 isn’t necessary. It’s fine for PRs to keep coming in; they’ll be handled in due course. Please disregard my earlier request to hold or defer it.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T13:11:09Z.
Review: CHANGES_REQUESTED
I withdraw the earlier #5239 intake-hold objection. I checked exact head
182ce1d9293e10630493f1662e8758589c9a284aagainst current main3ca07d086d5f44fbe3c00370e7f03953ab46ca1b: whitespace and conventions pass,tools/nid_names.py --name _sceSdmaNop --jsonrecomputesvPP6vKHY8Tg, andExport.cpppasses a local GCC 12.2 C++20 syntax-only compile with-Wall -Wextra -Werror. The current-main merge tree is clean. No runtime test is expected for a throwing import declaration; Windows/WSL target builds are author-reported and hosted product jobs are skipped.The PR base is
d6eafa54d0464258574fd2f71889754d05a5bc93, behind current main. The repository requires keeping branches up to date with main. Please rebase/update and refresh the convention/NID/overlap checks on the resulting head. The current shared-file edits in #9173 are reported as distinct and do not duplicate this export. This request is for the branch-update rule only, not the obsolete intake hold.Pull request closed