Repository navigation
feat(agc): declare 44 Agc and AgcDriver exports with PS5 signatures - #2384
Closed
brycebrower2008 wants to merge 1 commit into
Closed
brycebrower2008 wants to merge 1 commit into
brycebrower2008 wants to merge 1 commit into
Conversation
The PS5 modules export these functions and SharpProspero's PS5 bindings call them with known signatures, but no library defined them, so a title importing any of them failed to bind. They are added as throwing stubs: - libSceAgc: 7 - libSceAgcDriver: 37 Structure arguments are passed as untyped pointers. TechnicalDebt lists the functions and the source of their signatures. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DpG7ipD1K8Dzbwq8U9jyvX
|
Спасибо за ваш интерес к проекту! Извините, сейчас накопилось слишком много открытых PR. Пока мы разбираемся с ними, приём PR от новых участников - авторов, чьих коммитов ещё нет в |
Owner
|
Thank you for your interest in the project! Sorry, there are currently too many open PRs. While we sort them out, accepting PRs from new contributors—authors whose commits haven't yet made it into main—is temporarily suspended. Therefore, this PR is automatically closed. This is not a quality review of your changes. |
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Declares 44 exports that the PS5 modules have and no library defined, as throwing stubs. Each signature comes from SharpProspero's PS5 bindings (its
LibraryImportdeclarations), so they are PS5 signatures rather than PS4 ones. Structure arguments are passed as untyped pointers. TechnicalDebt lists the functions and the source.sceAgcAcbAtomicGds,sceAgcCbMemSemaphore,sceAgcDcbAtomicGds,sceAgcGetDataPacketPayloadAddress,sceAgcGetFusedShaderSize,sceAgcSuspendPointAndCheckStatus,sceAgcUpdateInterpolantMappingsceAgcDriverAcquireComputeQueue,sceAgcDriverCreateQueue,sceAgcDriverCwsrResumeAcq,sceAgcDriverCwsrSuspendAcq,sceAgcDriverDebugHardwareStatus,sceAgcDriverDestroyQueue,sceAgcDriverGetGpuRefClks,sceAgcDriverGetHsOffchipParam,sceAgcDriverGetRegShadowInfo,sceAgcDriverGetRegShadowInfoAgr,sceAgcDriverGetReservedDmemForAgc,sceAgcDriverGetSetFlipPacketSizeInDwords,sceAgcDriverGetSetWorkloadCompletePacketSize,sceAgcDriverGetSetWorkloadsActivePacketSize,sceAgcDriverGetTraceInitiator,sceAgcDriverGetWorkloadStreamInfo,sceAgcDriverIDHSSubmit,sceAgcDriverModuleRegistration,sceAgcDriverNotifyDefaultStates,sceAgcDriverPassInfoDownward,sceAgcDriverPatchClearState,sceAgcDriverReleaseComputeQueue,sceAgcDriverSetFlip,sceAgcDriverSetWorkloadComplete,sceAgcDriverSetWorkloadsActive,sceAgcDriverSetupRegisterShadow,sceAgcDriverSuspendPointSubmit,sceAgcDriverSysEnableSubmitDone45Exception,sceAgcDriverSysGetClientNumber,sceAgcDriverSysIsGameClosed,sceAgcDriverSysSubmitFlipHandleProxy,sceAgcDriverTmpInitIdhs,sceAgcDriverUserDataImmediateWrite,sceAgcDriverUserDataWritePacket,sceAgcDriverUserDataWritePopMarker,sceAgcDriverUserDataWritePushMarker,sceAgcDriverUserDataWriteSetMarkerHow the functions were chosen: every function SharpProspero binds on the PS5, minus every NID that
mainor any pull request head (open or closed, 2,085 checked) already defines, and minus #2265, #2266, #2269 and #2270. Placement follows the existing code: a library'sUnimplemented.cppwhen it has one, otherwise the file with its closest-named siblings. Names that clash with host C library functions (fstat,pwrite,kill, ...) use the_nid_postfixsuffix. In files that #2265 to #2270 also touch, the stubs go at the top of theextern "C"block so the pull requests merge in any order.Tested
Linux (Ubuntu 24.04, GCC 13.3), full build with
BUILD_TESTING=ON, with this branch merged together with the other eight pull requests of this set and #2265, #2266, #2269 and #2270 (all 13 merge without conflicts).ninja libsbuilds and NID-patches every library, including the new ones;patched_libraries,progress_report,strict_nid_filter,nid_patcher_dynamic_strings,nid_patcher_symbol_versions,guest_http,guest_http2andguest_http_response_headerpass.readelf --dyn-symson the patched.prxfiles shows every new function exported under its NID.tools/check_conventions.py --base origin/mainpasses. No title or homebrew run: these are throwing stubs, so they only change which imports bind at startup.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)