feat(libSceNpCommon): declare 150 pending exports #8983
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8983"
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-21T08:28:15Z.
What
Adds 150 named
libSceNpCommonexport declarations. Each declaration callsNotImplemented_nid_no_patch; the no-parameter form is used only to resolve imports and does not claim an ABI signature. Unknown signatures and behavior are recorded indocs/dev/debt/libSceNpCommon.md.The names and NIDs were checked against the local
libSceNpCommon.sprxexport table: all 150 NIDs are present and recompute from their names withtools/nid_names.py. The public PS5 3.20 libSceNpCommon symbol list contains all 150 names. The already-declaredsceNpCmpNpIdfrom open PR #6977 is excluded. This branch is based on current upstreammain. Depends on: none.Tested
Windows 11 / MinGW 15.2 and Ubuntu 24.04 / GCC 13.3: configured the full project and built
libSceNpCommon; both builds succeeded.tools/check_test_registration.pypassed on both platforms (no new test executables for this declaration-only change). No runtime tests were available for these throwing declarations. The exacttools/pr_overlap.pyfrom open PR #8970 reports no overlap withmainor any open PR.python tools/check_conventions.py --base upstream/mainandgit diff --checkpassed. CI build jobs remain skipped for this draft.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 github-actions[bot] on 2026-10-21T08:29:01Z.
Progress report (
27c88a8→411a8e7)📉 System libraries: 50.17% (-0.85%, +150 declared functions)
🆕 150 declared as stubs
sceNpAllocateKernelMemoryNoAlignmentsceNpAllocateKernelMemoryWithAlignmentsceNpArchInitsceNpArchTermsceNpAtomicCas32sceNpAtomicDec32sceNpAtomicInc32sceNpBase64DecodersceNpBase64EncodersceNpBase64GetDecodeSizesceNpBase64UrlDecodersceNpBase64UrlEncodersceNpBase64UrlGetDecodeSizesceNpCalloutInitCtxsceNpCalloutStartOnCtxsceNpCalloutStartOnCtx64sceNpCalloutStopOnCtxsceNpCalloutTermCtxsceNpCancelEventFlagsceNpClearEventFlagsceNpCloseEventFlagsceNpCloseSemasceNpCmpNpIdInOrdersceNpCmpOnlineIdsceNpCondDestroysceNpCondInitsceNpCondSignalsceNpCondSignalAllsceNpCondSignalTosceNpCondTimedwaitsceNpCondWaitsceNpCreateEventFlagsceNpCreateSemasceNpCreateThreadsceNpDbgAssignDebugIdsceNpDbgDumpBinarysceNpDbgDumpTextsceNpDeleteEventFlagsceNpDeleteSemasceNpFreeKernelMemorysceNpGetNavSdkVersionsceNpGetPlatformTypesceNpGetProcessIdsceNpGetRandomsceNpGetSdkVersionsceNpGetSdkVersionUIntsceNpGetSystemClockUsecsceNpGlobalHeapGetAllocatorsceNpGlobalHeapGetAllocatorExsceNpGlobalHeapGetAllocatorExPtrsceNpGlobalHeapGetAllocatorPtrsceNpHeapDestroysceNpHeapGetAllocatorsceNpHeapGetStatsceNpHeapInitsceNpHeapShowStatsceNpHexToIntsceNpInt32ToStrsceNpInt64ToStrsceNpIntGetPlatformTypesceNpIntIsOnlineIdStringsceNpIntIsValidOnlineIdsceNpIntSetPlatformTypesceNpIntToHexsceNpIpc2ClientInitsceNpIpc2ClientTermsceNpJoinThreadsceNpJsonParsesceNpJsonParseBufsceNpJsonParseBufInitsceNpJsonParseExsceNpJsonParseExInitsceNpJsonParseInitsceNpLwCondDestroysceNpLwCondInitsceNpLwCondSignalsceNpLwCondSignalAllsceNpLwCondSignalTosceNpLwCondWaitsceNpLwMutexDestroysceNpLwMutexInitsceNpLwMutexLocksceNpLwMutexTryLocksceNpLwMutexUnlocksceNpMemoryHeapDestroysceNpMemoryHeapGetAllocatorsceNpMemoryHeapGetAllocatorExsceNpMemoryHeapInitsceNpMutexDestroysceNpMutexInitsceNpMutexLocksceNpMutexTryLocksceNpMutexUnlocksceNpOpenEventFlagsceNpOpenSemasceNpPanicsceNpPollEventFlagsceNpPollSemasceNpRtcConvertToPosixTimesceNpRtcFormatRFC3339Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-21T08:44:34Z.
I updated this batch after the overlap report: it excludes
sceNpCmpNpIdfrom #6977 and keeps the declarations in a separate source file, so it does not share the conflicting new file. I reran the exacttools/pr_overlap.pyfrom #8970 against currentmainand all open PRs; it reports no overlap. Local Windows 11/MinGW 15.2 and Ubuntu 24.04/GCC 13.3 builds oflibSceNpCommonboth succeeded, and test-registration checks passed on both platforms (no new tests are registered for these throwing declarations).