Skip to content

feat(libSceUlt): add underscore mutex and queue create exports - #3760

Merged
adriadam10 merged 1 commit into
boykopovar:mainfrom
13hourstilliland:feat/ult-underscore-exports
Oct 11, 2026
Merged

adriadam10 merged 1 commit into
boykopovar:mainfrom
13hourstilliland:feat/ult-underscore-exports

Conversation

@13hourstilliland

Copy link
Copy Markdown
Contributor

What

Adds _sceUltMutexOptParamInitialize (NID 1+8t9aHLiz8), _sceUltMutexCreate (mmt8Sa6tL6c), _sceUltQueueDataResourcePoolCreate (TFHm6-N6vks) and _sceUltQueueCreate (9Y5keOvb6ok). Each forwards to the export without the underscore, as _sceUltWaitingQueueResourcePoolCreate, _sceUltSemaphoreCreate and the _sceUltUlthread* exports already do. The NIDs were confirmed with tools/nid_names.py. KytyPS5 binds the same NIDs to the Ult functions. The existing TechnicalDebt line for the underscore Ult exports now lists them. This replaces the Ult part of #3387; the rest of that PR is already in main or left out.

Tested

Linux (GCC 14.2): guest_ult_thread_underscoredcreate now initializes and creates a mutex through the new exports, then locks and unlocks it. It also creates a data pool and a queue, and pushes and pops a value. The test fails to link on current main and passes with this change. All 11 guest_ult tests pass, and check_conventions.py passes. Not tested with a title.

Checklist

@github-actions

Copy link
Copy Markdown

Progress report (a11c8f7 → 54b9b93)

📈 System libraries: 85.83% (+0.02%, +4 implemented functions)

✅ 4 implemented
Library Name
libSceUlt _sceUltMutexCreate
libSceUlt _sceUltMutexOptParamInitialize
libSceUlt _sceUltQueueCreate
libSceUlt _sceUltQueueDataResourcePoolCreate

@github-actions

github-actions Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

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.

Pull request Conflicting files (lines on main) Same exports Same new files
#2902 docs/dev/TechnicalDebt.md L56-57
#3764 docs/dev/TechnicalDebt.md L57

@adriadam10

Copy link
Copy Markdown
Collaborator

Checked the four forwarders against their targets (same signatures), the NIDs with tools/nid_names.py and KytyPS5 libUlt.cpp:721-726, and guest_ult_thread_underscoredcreate: it fails to link without the change and passes with it; the 30 libSceUlt/libs tests pass on the PR merged onto main. TechnicalDebt line updated in the right section. Merging.

@adriadam10
adriadam10 merged commit 34ceeb0 into boykopovar:main Oct 11, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants