Skip to content

docs(debt): drop libSceMbus's stale protected-body note - #12293

Merged
adriadam10 merged 1 commit into
boykopovar:mainfrom
dantdmdarealguy:docs/debt-mbus-protected-note
Oct 28, 2026
Merged

adriadam10 merged 1 commit into
boykopovar:mainfrom
dantdmdarealguy:docs/debt-mbus-protected-note

Conversation

@dantdmdarealguy

Copy link
Copy Markdown
Contributor

What

docs/dev/debt/libSceMbus.md L11 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.

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 main b99bbebacd plus this commit, with BUILD_TESTING=ON.

  • ctest -R "^guest_mbus$|patched_libraries|debt_split|conventions_doc_links": 4/4 passed.
  • There is no new test, because this is a docs-only change. guest_mbus passes on main too. It does not call AcquireControlList or Term.
  • cmake --build and --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.
  • No open or merged PR changes libSceMbus.md. The only open libSceMbus PR is test(libSceMbus): cover invalid device class handling in sceDeviceServiceQueryDeviceInfo_ #11821, and it touches only core/libs/tests/GuestMbus.cpp.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes, some AI assistance was used

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.
@github-actions github-actions Bot added the docs label Oct 28, 2026

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 THEMANnt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@adriadam10 adriadam10 self-assigned this Oct 28, 2026
@adriadam10
adriadam10 merged commit 8c5910c into boykopovar:main Oct 28, 2026
10 checks passed
@adriadam10

Copy link
Copy Markdown
Collaborator

Checked the removed sentence against PendingExports.cpp (sceMbusAcquireControlList and sceMbusTerm return constants, the other declarations still throw); the open gaps in the entry are intact; merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants