Commit Graph
9104 Commits
Author SHA1 Message Date
Dean c9cc3b34db Merge pull request #11304 from Danigamer05/feat/libc-unsigned-max32
feat(libc): implement unsigned 32-bit maximum
2026-10-28 17:50:05 +13:00
Dean 24795c0f56 Merge pull request #10529 from JJenkx/fix/libc-expm1-scaling-association
fix(libc): preserve expm1 rounding during exponent scaling
2026-10-28 17:49:49 +13:00
Dean dbbe99aeb0 Merge pull request #9772 from UnhealthyKraken/feat/libc-floating-prefix
feat(libc): implement floating-point prefix helpers
2026-10-28 17:49:14 +13:00
Adrià 0c5401dcbd Merge pull request #9735 from mazen320/feat/libc-ctype-vtable
feat(libc): export the ctype facet vtable as data
2026-10-28 05:36:29 +01:00
milescovielloandClaude Opus 5.5 9a12233a76 docs(libkernel): list sceKernelDebugRaiseException and its release-mode form as silent stubs
Both log their arguments and the caller and return. Note what the
titles' bundled libc.prx passes them and that three of its
sceKernelDebugRaiseException calls are followed by ud2 in every build
checked, so the guest reaches that ud2 here.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-28 04:25:31 +00:00
Adrià 2d7af25e62 Merge pull request #11398 from iAbdulrrahman/feat/posix-arc4random-uniform
feat(libScePosixForWebKit): implement arc4random_uniform
2026-10-28 05:23:59 +01:00
Adrià c51d6c226a Merge pull request #11714 from akkadbakkad89/fix/psml-mfsr-enable-flags
fix(libScePsml): answer console-measured MFSR enable flags and Context1300 size check
2026-10-28 05:11:39 +01:00
Yunus Shaikh 4432e8aa57 Merge main into fix/libkernel-getsockopt-net-sockets 2026-10-27 21:03:12 -07:00
Danigamer05 d7986b1fb6 feat(libc): add C23 leading and trailing one counts 2026-10-28 04:54:42 +01:00
Felipebmaitan 4ba0a6f9c4 chore: integrate current main for guest-signal-cancellation 2026-10-28 00:48:38 -03:00
Dean facac6a4c5 Merge pull request #12192 from oneandonlydean/revert-10809-direct-memory
Revert "report 12 GiB of direct memory" (#10809): PPSA21564 runs out of direct memory
2026-10-28 16:29:14 +13:00
Adrià 439d03db38 Merge pull request #11663 from Danigamer05/feat/libc-stdc-count-ones
feat(libc): add C23 count-ones exports
2026-10-28 04:19:47 +01:00
Felipebmaitan c4e614037b Merge branch 'main' of https://github.com/boykopovar/AnyPS5 into feat/freetype-advance-queries 2026-10-28 00:15:18 -03:00
Yunus Shaikh 332b5f3d28 Merge main into fix/agc-draw-cache-byte-budget
# Conflicts:
#	core/libs/prx/libSceAgcDriver/Execution/src/Driver/Draw/DrawCacheStatistics.cpp
2026-10-27 20:08:17 -07:00
Adrià f1f1737371 Merge pull request #11647 from B-Howell/codex/libc-strtoq
feat(libc): implement strtoq
2026-10-28 04:06:20 +01:00
Danigamer05 504111f10c feat(libc): add C23 leading and trailing zero counts 2026-10-28 03:54:03 +01:00
Adrià a37797da92 Merge pull request #11637 from B-Howell/codex/videoout-display-index-current-main
feat(libSceVideoOut): allow selecting the initial display
2026-10-28 03:49:48 +01:00
Dean Galvin 97f1d41a2c Revert "Merge pull request #10809 from frankea/fix/direct-memory-12gib"
This reverts commit 780b33aea3, restoring the 13824 MiB direct memory pool.

With the pool at 12288 MiB, Astro Bot (PPSA21564) can no longer load its
level: DirectMemoryAllocator asserts "Can't allocate direct memory" for a
64 MB VideoPlayerTexture with 12228 of 12288 MB in use, then the process
faults about 26 s in (2 of 2 runs, RTX 4090, Linux, main cccdaa2734).
The same tree with only this merge reverted runs the full 150 s with no
direct memory assert (2 of 2 runs).
2026-10-28 15:45:26 +13:00
Nicolas GonzalezandClaude Opus 5.5 2f25ab919f fix(shader): fence the LDS lock's critical section on MoltenVK
SPIRV-Cross emits the lock's acquire compare-exchange and release
exchange as relaxed Metal atomics, so the plain LDS loads and stores of
a locked 64-bit update were not ordered against the lock and contended
ds_add_u64 lost updates on an Apple M5 Pro. On MoltenVK the driver now sets
SpirvTarget::ldsLockFences, and the lock brackets its critical section
with workgroup-scope acquire and release OpMemoryBarriers, which become
threadgroup atomic_thread_fence with no execution barrier.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 23:37:56 -03:00
Adrià 3a4206eb64 Merge pull request #11635 from AlexFigas/feat/npcppwebapi-sessionmanager-parameter-lifecycles
feat(libSceNpCppWebApi): track the SessionManager V1 parameter lifecycles as the module does
2026-10-28 03:27:48 +01:00
Danigamer05 e5835d6866 feat(libc): add C23 count-zeros exports 2026-10-28 03:09:35 +01:00
Nicolas GonzalezandClaude Opus 5.5 d702b9d7e5 fix(libc): map macOS interface types to FreeBSD's as on Linux
macOS numbers gif and stf 0x37 and 0x39, where FreeBSD uses 0xf0 and 0xd7, and
has types FreeBSD lacks such as IFT_CELLULAR. The macOS AF_LINK type now maps
like the Linux one: Ethernet, loopback and PPP keep their numbers and the
others report IFT_OTHER.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 23:02:57 -03:00
Nicolas GonzalezandClaude Opus 5.5 c79e1d3a9c fix(libc): list getifaddrs AF_LINK entries on macOS hosts
getifaddrs listed each interface's AF_LINK entry only on Linux. On macOS the
entry now comes from the host's own AF_LINK sockaddr_dl and if_data: index,
type (macOS and FreeBSD share the IFT_ numbers), hardware address, header
length, MTU, metric, baud rate and counters, with the link state from
SIOCGIFMEDIA, or from IFF_UP and IFF_RUNNING for an interface without media.
The interfaces test checks the link-level entries against the host's on macOS
too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 22:44:24 -03:00
Dean Galvin c116f4f2f0 Merge branch 'main' into perf-D2-v47
# Conflicts:
#	docs/dev/debt/libSceAgcDriver.md
2026-10-28 13:52:37 +13:00
Dean bf4860b6ce Merge pull request #11098 from edubox/fix/agc-single-level-depth-view
fix(agc): select the first level of a single-level depth view
2026-10-28 13:50:57 +13:00
Dean 780b33aea3 Merge pull request #10809 from frankea/fix/direct-memory-12gib
fix(libkernel): report 12 GiB of direct memory, as a PS5 does
2026-10-28 13:49:57 +13:00
Dean c3f49ea299 Merge pull request #10654 from akkadbakkad89/feat/agc-acb-workload
feat(libSceAgc): emit ACB workload packets for complete, active and stream-inactive
2026-10-28 13:49:41 +13:00
Dean 4c6fcfcb5c Merge pull request #9763 from rooklz/fix/libc-freopen-closed-stream
fix(libc): reopen a closed stream in freopen instead of aborting
2026-10-28 13:48:50 +13:00
Dean b3b449cfe4 Merge pull request #8916 from Henryisdjfunkyho/fix/cancellable-timed-sleeps
fix(libkernel): wake timed sleeps for thread cancellation
2026-10-28 13:48:32 +13:00
Dean 1068cd6b76 Merge pull request #7780 from savvaniss/fix/savedata-ps4-modules
fix(savedata): build libSceSaveData and libSceSaveDataDialog from the native sources
2026-10-28 13:48:05 +13:00
Dean b643e2a6b8 Merge pull request #11363 from JJenkx/feat/agc-selected-image-readback-20261026
feat(agc): capture selected live storage images without writeback
2026-10-28 13:46:57 +13:00
xXPBSXxandClaude Sonnet 5.5 893250cf72 Merge main (951399570d) into libm/asinh-msun
The only conflict was in GuestMath.cpp, where main's sinh tests and this
branch's asinh tests were inserted at the same place. Keep both: the asinh
checks follow the sinh ones.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-10-28 01:31:59 +01:00
Dean e778405b5b Merge pull request #11592 from alvaroelpob/fix/libkernel-condattr-getclock-einval
fix(libkernel): fail pthread_condattr_getclock with EINVAL for a null attribute
2026-10-28 13:04:04 +13:00
Dean 057de19313 Merge pull request #11556 from xXPBSXx/libm/sinh-msun
fix(libc): compute sinh with FreeBSD msun's algorithm
2026-10-28 13:03:47 +13:00
Dean a1f5ae4e8b Merge pull request #11244 from SeaSunPT/fix/audioout2-mastering-not-initialized
fix(libSceAudioOut): refuse sceAudioOut2Mastering calls before sceAudioOut2Initialize
2026-10-28 13:02:46 +13:00
Dean 09329a8bda Merge pull request #10598 from MarcZX10/marc/freetype-stroker-path
feat(libSceFreeType): implement the FreeType stroker path-building calls
2026-10-28 13:01:43 +13:00
Dean 9f605c98d2 Merge pull request #10283 from JJenkx/windows/libc-cbrt-msun
fix(libc): compute cbrt with FreeBSD msun's algorithm, as titles' libc.prx does
2026-10-28 13:01:01 +13:00
Dean 46b9aa3768 Merge pull request #9648 from JJenkx/windows/libc-rand-console
fix(libc): follow the console's rand, srand and rand_r
2026-10-28 13:00:35 +13:00
Dean ba8845d2e7 Merge pull request #9442 from Gruzzberry/feat/lchflags
feat(libkernel_sys): implement lchflags
2026-10-28 13:00:19 +13:00
Dean 6c48f35a95 Merge pull request #8098 from LuisAguilarDev/fix/audioout2-silent-ports
fix(audioout2): keep each port's grain when ports share a buffer
2026-10-28 12:59:20 +13:00
Dean 200f40814d Merge pull request #11868 from rooklz/fix/check-compile-save-temps-modes-v2
fix(tools): reject unmodeled save-temps modes in syntax checks
2026-10-28 12:59:01 +13:00
milescovielloandClaude Opus 5.5 e9de93c1e4 docs(libSceNpEntitlementAccess): list sceNpEntitlementAccessInitialize as a silent stub
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-27 23:25:36 +00:00
Dean 6e9b9134f6 Merge pull request #11846 from heditrigui/feat/libc-reallocarray
feat(libc): implement reallocarray
2026-10-28 12:10:58 +13:00
Dean ecc950fcc0 Merge pull request #11765 from oneandonlydean/salvage/freetypeol-9453
feat(libSceFreeTypeOl): declare 92 PS5 3.20 exports
2026-10-28 12:09:43 +13:00
Dean 27b854fac1 Merge pull request #11764 from oneandonlydean/salvage/jsc-9438
feat(libSceJsc): declare 150 PS5 3.20 exports
2026-10-28 12:09:27 +13:00
Dean cb9a3234f9 Merge pull request #11761 from oneandonlydean/salvage/xml-9422
feat(libSceXml): declare 150 pending exports
2026-10-28 12:09:11 +13:00
Dean 1dcfe03875 Merge pull request #11760 from oneandonlydean/salvage/icu-9444
feat(libSceIcu): declare 112 PS5 3.20 exports
2026-10-28 12:08:55 +13:00
Dean 55ab7282b2 Merge pull request #11753 from oneandonlydean/salvage/np-common-9686
feat(libSceNpCommon): declare 150 additional PS5 exports
2026-10-28 12:08:39 +13:00
Dean 6a3182b8c5 Merge pull request #11612 from milescoviello/docs/agc-debug-raise-exception
docs(agc): note how seven titles call sceAgcDebugRaiseException
2026-10-28 12:07:44 +13:00
Dean 77e44989b6 Merge pull request #11561 from javierUDP/docs/rosetta-m5-26-4-evidence
docs(relinker): record SHA, AVX-512 and XSAVE under Rosetta on an M5
2026-10-28 12:06:23 +13:00