feat(libSceJemspace): declare thirteen pending exports #9452
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9452"
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 kyon-eth on 2026-10-21T22:32:19Z.
What
Replace the
libSceJemspacedummy entry with thirteen pending named exports: create/destroy, malloc/free, calloc, realloc, memalign, reallocalign, POSIX alignment, usable-size queries, statistics, purge, and statistics printing. Every name hashes exactly to a defined function NID in the module export table. Every declaration callsNotImplemented_nid_no_patch. The two added names match defined function entries:sceJemspacePrintStats→4aop4GKLZaA,sceJemspacePurge→s686MsLMwns.These are import-resolution entries only. The no-parameter declarations do not establish signatures or allocator behavior; this PR does not implement allocation, ownership, statistics, or title compatibility. The debt entry records these limitations, the unverified firmware version, and the unimplemented signatures and behavior of all thirteen declarations.
Tested
Revalidated on 2026-10-22 against
d6eafa54d(main) after adding the two review-requested declarations. Both macOS architecture compile/export checks, the eight focused CTests, conventions and diff/privacy checks passed again.-Wall -Wextra -Werror, chained fixups, and-Wno-return-type-c-linkagefor existing shared-header declarations. Runtime imports were left unresolved for this standalone build check.nid_patcherfrom the same checkout, patched both architecture builds, and used its exported-name reader to verify the exact thirteen expected NIDs with no missing or additional exports.progress_report,progress_wrappers,conventions_unknown_nids,nid_database_cache,pr_overlap_exports,pr_overlap_wrapped_exports,conventions_doc_links, andconventions_pr_templatepassed (8/8).python3 tools/check_conventions.py --base origin/mainandgit diff --check origin/main...HEADpassed.python3 tools/pr_overlap.py --branch feat/jemspace-pending-exports --repo boykopovar/AnyPS5 --jobs 6completed after the review update: no overlap with open pull requests.No full Linux/Windows build, allocator runtime test, title run, or console test is claimed. Linux/Windows compilation and full runtime integration remain unverified. GitHub conventions, intake, and label checks passed; these do not establish runtime or supported-platform build correctness. No symbol-only tests were added.
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)Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-21T23:13:53Z.
The two exports the debt entry leaves unnamed have names that hash exactly:
4aop4GKLZaAissceJemspacePrintStatsands686MsLMwnsissceJemspacePurge(compute_nidintools/nid_names.pygives both). With them the PR can declare all 13 and drop the second debt bullet.I built ee92ed2462 on Linux (Arch, GCC): the full build and the
libstarget pass with no warning fromlibSceJemspace/Export.cpp, andcheck_conventions.py --base origin/mainpasses. None of the 23 PS5 titles I have importlibSceJemspace, so "Unblocks: none" holds here too.One small thing: the stubs end right after
NotImplemented_nid_no_patch(__func__);, while 6,137 of the stubs onmainfollow it with areturn(about 13, mostly inlibSceVideodec2, do not). Minor, and the maintainers can decide whether it matters.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:35:46Z.
Review: DISMISSED
The eleven declarations are correctly framed as import-resolution stubs and the NID audit/build checks are documented. One concrete completeness issue surfaced in the open discussion: the two remaining export hashes are recoverable as
sceJemspacePrintStats(4aop4GKLZaA) andsceJemspacePurge(s686MsLMwns). I verified both with this repository’stools/nid_names.pycompute_nidfunction. Please confirm these names against the module export table and, if they match as reported, include them as throwing declarations and revise the debt entry from 11+2 to 13 pending exports. Also, the checked head is based ona6dcea927, 47 commits behind current main (110a18ba01); rebase and rerun the NID/overlap/conventions and target build checks. I did not run a build.