Repository navigation
docs(debt): drop libSceMbus's stale protected-body note - #12293
Conversation
ab4a949 ended the "sceMbus remaining declarations" entry with "All protected stub bodies remain unchanged." It was written on top of afbd9b8 (boykopovar#8305), which had already made sceMbusAcquireControlList return 0x809B00FF and sceMbusTerm return 0, and the same entry says both return constants. Drop the sentence.
MarcZX10
left a comment
There was a problem hiding this comment.
Verified the debt entry against PendingExports.cpp: sceMbusAcquireControlList and sceMbusTerm are implemented constant-return bodies, while the remaining declarations are still protected stubs. Removing the sentence that said all protected bodies remain unchanged removes a stale statement and leaves the unresolved ABI details intact. The docs-only CI checks pass; the author reports the relevant documentation/debt tests and build checks. No blocking issue found.
THEMANnt
left a comment
There was a problem hiding this comment.
Reviewed 2b03bf743adf7f008e75b2f29f854eabac8a9476 against author merge base d7fd41699238337a84cc61de848b5523a938031d — approve the documentation change.
The remaining-declarations entry correctly drops the blanket protected-body note: AcquireControlList and Term return constants, while SetDeviceFunctionState still throws and keeps its opaque 180-byte aggregate. The unresolved source alignment and service-side meaning remain explicit.
Validation: inspected the submitted diff and exact-revision implementation/workflow references; relative links resolve and git diff --check passes. Documentation-only source validation, not a runtime regression test.
|
Checked the removed sentence against |
What
docs/dev/debt/libSceMbus.mdL11 ends the "sceMbus remaining declarations" entry with "All protected stub bodies remain unchanged." That is no longer true for the functions the entry names, so this change removes the sentence. The rest of the entry stays as it is.sceMbusAcquireControlListreturns0x809B00FF(core/libs/prx/libSceMbus/PendingExports.cppL19-21).sceMbusTermreturns 0 (L568-570).PendingExports.cppthat do not callNotImplemented_nid_no_patch. The entry's previous sentence already says "AcquireControlList and Term return constants without reading incoming arguments". With that, the closing sentence reads as if they were still protected stubs.sceMbusEventCallbackFuncsInit_keeps its protected stub is also unchanged, because that function still throws (L328-331).No code changes.
Tested
Windows 11 Pro, Intel Core i9-14900K, 128 GB RAM, NVIDIA GeForce RTX 5080 (driver 32.0.16.1742), WinLibs GCC 15.2.0. Release build of
mainb99bbebacdplus this commit, withBUILD_TESTING=ON.ctest -R "^guest_mbus$|patched_libraries|debt_split|conventions_doc_links": 4/4 passed.guest_mbuspasses onmaintoo. It does not call AcquireControlList or Term.cmake --buildand--target libs: OK. None of the build warnings are in libSceMbus.check_test_registration.py: 1490 test executables, none new.check_conventions.py --base origin/main:All conventions checks passed.pr_overlap.py --branch:No overlap with open pull requests.libSceMbus.md. The only open libSceMbus PR is test(libSceMbus): cover invalid device class handling in sceDeviceServiceQueryDeviceInfo_ #11821, and it touches onlycore/libs/tests/GuestMbus.cpp.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)