Commit Graph
120 Commits
Author SHA1 Message Date
Dean Galvin 8610d3243f Merge branch 'main' 2026-11-06 13:25:34 +13:00
Dean GalvinandPanagiotisKaraliolios a8b75920f3 Merge branch 'main'
Keep both libSceLibcInternal test blocks in CMakeLists.txt: the multiprecision tests and the firmware answers tests.

Co-authored-by: PanagiotisKaraliolios <[email protected]>
2026-11-06 10:34:42 +13:00
Dean 9f86329e12 Merge pull request #14945 from BunnyFl/feat/libcinternal-fw1342-daysto
feat(libSceLibcInternal): answer _Daysto, _FXp_getw and _Isdst as firmware 13.42 does
2026-11-06 10:19:03 +13:00
Dean Galvin 5fdcb0623a Merge branch 'main' 2026-11-06 00:51:31 +13:00
Dean 9125034887 Merge pull request #12896 from heditrigui/feat/libscelibcinternal-setprogname
feat(libSceLibcInternal): implement setprogname
2026-11-05 21:51:00 +13:00
Panagiotis KaralioliosandClaude Opus 5.5 761dc38931 docs(libSceLibcInternal): credit Microsoft STL multprec.cpp in the multiprecision helpers
MultiPrecision.cpp is derived from stl/src/multprec.cpp at the first
microsoft/STL release (219514876ea8): add its notice and make that
revision the source of record in the debt entry, which also records that
firmware 13.42 exports all four functions.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 20:43:19 +02:00
Panagiotis KaralioliosandClaude Opus 5.5 9ba6807346 feat(libSceLibcInternal): implement std::_MP_Add, _MP_Get, _MP_Mul and _MP_Rem
NIDs QfPuSqhub7o, lrQSsTRMMr4, Gav1Xt1Ce+c and Ozk+Z6QnlTY follow
Dinkumware V6.00 multprec.cpp, the multiprecision helpers of
linear_congruential_engine, instead of throwing: five 64-bit words of
base 2^32 digits, the product by Knuth's Algorithm M and the remainder by
Algorithm D. _MP_Rem throws for the inputs where V6.00 reads outside its
arrays, and every export throws for a null array.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-04 20:43:04 +02:00
Dean 6863f295a9 Merge pull request #10749 from ycbuzi/refactor/siginterrupt-libc-internal
refactor(libSceLibcInternal): serve siginterrupt from libSceLibcInternal
2026-11-05 06:35:30 +13:00
Dean 1b58cf171b Merge pull request #10392 from GabrielKLBr/feat/libc-legacy-signal-masks
feat(libc): implement legacy signal masks
2026-11-05 06:35:07 +13:00
Dean cc628cbc87 Merge pull request #12924 from heditrigui/feat/libscelibcinternal-inet-helpers
feat(libSceLibcInternal): implement inet_netof, inet_lnaof, inet_makeaddr and inet_network
2026-11-04 19:27:15 +13:00
Dean 8e4fe4d0f2 Merge pull request #11751 from oneandonlydean/salvage/libc-internal-9511
feat(libSceLibcInternal): declare 140 PS5 3.20 pending exports
2026-11-04 16:58:19 +13:00
bluandClaude Opus 5.5 24497b2406 Merge branch 'main' into refactor/siginterrupt-libc-internal
Resolves docs/dev/debt/libkernel.md: main's sigaction entry (SIGPIPE outside Windows) and this branch's signal entry, which points to libSceLibcInternal for siginterrupt.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-03 10:23:38 -07:00
BunnyFl e6e2d050a2 Merge remote-tracking branch 'upstream/main' into feat/libcinternal-fw1342-daysto 2026-11-03 16:47:03 +01:00
Dean 8fe922d1ad Merge pull request #13273 from Celegans12/feat/libcinternal-recovered-inventory-20261030
feat(libcinternal): add recovered inventory placeholders
2026-11-03 21:10:14 +13:00
Dean 7fc59ddd6e Merge pull request #14864 from Jawschamp/feat/libc-devname
feat(libc): implement devname and devname_r
2026-11-03 18:10:59 +13:00
Dean Galvin 923d757f7f Merge commit '88bb16c20e757658078b3efce912c96b1b03502a' into HEAD
# Conflicts:
#	core/libs/prx/libSceLibcInternal/CMakeLists.txt
2026-11-03 11:45:16 +13:00
Dean c2e1a6f84d Merge pull request #14666 from miguelcoxcaballero/feat/libc-internal-pad-destructor
feat(libSceLibcInternal): run the _Pad complete-object destructor
2026-11-03 11:41:30 +13:00
Dean 54e19f8d84 Merge pull request #14659 from miguelcoxcaballero/feat/libc-internal-exception-base-destructors
feat(libSceLibcInternal): run the base-object destructors of future_error, overflow_error and underflow_error
2026-11-03 11:41:14 +13:00
Dean 8697910db1 Merge pull request #11869 from santhoshkumar-dev/codex/spawn-optional-pid
fix(libSceLibcInternal): allow omitted spawn PID outputs
2026-11-03 01:27:33 +13:00
Dean b10f83849c Merge pull request #11866 from santhoshkumar-dev/codex/spawn-guest-errors
fix(libSceLibcInternal): translate native spawn errors
2026-11-03 01:27:27 +13:00
bluandClaude Opus 5.5 dae55d9e12 Merge branch 'main' into refactor/siginterrupt-libc-internal
Resolves docs/dev/debt/libc.md: main's updated _Thrd entry, and siginterrupt stays documented in libSceLibcInternal.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-02 04:12:04 -07:00
BunnyFlandClaude Opus 5.5 078df10ae0 Merge upstream/main into feat/libcinternal-fw1342-daysto
Keeps main's sigvec test block and this branch's firmware answers test
block, one after the other at the end of the libSceLibcInternal list.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-02 11:53:23 +01:00
Hedi Trigui 9eb9ba5bcd Merge branch 'upstream/main' into feat/libscelibcinternal-inet-helpers 2026-11-02 09:29:52 +01:00
Dean Galvin 8a90344b3b Merge commit '88e804b0a7df1f1ac373a9e2f72fb378d925fdd4' into HEAD
# Conflicts:
#	docs/dev/debt/libSceLibcInternal.md
2026-11-02 21:07:03 +13:00
Celegans12 bb4d312e54 fix(libcinternal): avoid shadowing find-last helpers
Remove the four find-last placeholders from the recovered inventory.
The named provider is searched before the libc fallback, so throwing
placeholders would shadow the working implementation under review.
Keep the remaining declarations and definitions paired.
Update the technical debt count to match the remaining exports.
2026-11-02 05:51:55 +01:00
BunnyFlandClaude Opus 5.5 bbfc44a57c feat(libSceLibcInternal): answer _Daysto, _FXp_getw and _Isdst as firmware 13.42 does
_Isdst returns -1. _Daysto(year, month) adds the leap days before the year
to the common or leap days-before-month table, as Dinkumware's _Daysto does,
and throws for a month outside the twelve table entries the module would
index past. _FXp_getw sums up to four float parts as Dinkumware's _Xp_getw
does. Read to the return from firmware 13.42's libSceLibcInternal,
disassembly only, not measured on a console.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-02 04:04:19 +01:00
bluandClaude Opus 5.5 d984a64ceb Merge branch 'main' into refactor/siginterrupt-libc-internal
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 16:22:33 -07:00
Hedi Trigui 2bcc41fdb3 docs(libSceLibcInternal): condense technical debt entry under 1000 characters 2026-11-01 22:44:47 +01:00
Hedi Trigui afbaef3f00 Merge branch 'upstream/main' into feat/libscelibcinternal-inet-helpers 2026-11-01 22:44:01 +01:00
unknown eeef26f744 docs(libSceLibcInternal): pin showmanyc bodies and module identity 2026-11-01 21:21:28 +00:00
Jaws a4faa2f0b6 feat(libc): implement devname and devname_r 2026-11-01 21:10:14 +00:00
Miguel Cox Caballero 73c844be0b feat(libSceLibcInternal): run the _Pad complete-object destructor 2026-11-01 16:57:47 +01:00
Miguel Cox Caballero 8bb5e09df8 feat(libSceLibcInternal): run the base-object destructors of future_error, overflow_error and underflow_error 2026-11-01 16:57:11 +01:00
Cloudy 07857a0650 feat(libSceLibcInternal): implement zero-return showmanyc exports 2026-11-01 03:38:35 -08:00
Dean Galvin ae9924b381 Merge commit 'e6f57307fa7f47165d7fc1bee945abdb2f6816e7' into HEAD
# Conflicts:
#	core/libs/prx/libSceLibcInternal/libSceLibcInternal.hpp
2026-11-01 23:47:19 +13:00
Dean Galvin 931c38d03f Merge commit 'd5ec8e6575be37f4340ded9c64c51b1d07076b51' into HEAD
# Conflicts:
#	core/libs/prx/libSceLibcInternal/Spawn.cpp
2026-11-01 23:39:18 +13:00
Dean Galvin ffdedc1547 Merge main into salvage/libc-internal-9511
# Conflicts:
#	docs/dev/debt/libSceLibcInternal.md
2026-11-01 21:09:40 +13:00
Dean Galvin f1cb976f90 Merge main into salvage/libc-internal-9528
# Conflicts:
#	docs/dev/debt/libSceLibcInternal.md
2026-11-01 21:09:40 +13:00
Miguel Cox Caballero a675d0e45b feat(libSceLibcInternal): implement the aligned nothrow array new and the aligned array delete
NIDs s2eGsgUF9vk (_ZnamSt11align_val_tRKSt9nothrow_t) and v09ZcAhZzSc
(_ZdaPvSt11align_val_t) forward to the libc exports of the same names
instead of throwing.
2026-11-01 03:46:44 +01:00
Adrià ca96807e83 Merge pull request #13724 from MaxLikesCode/feat/libcinternal-mtx
feat(libSceLibcInternal): implement _Mtxinit, _Mtxlock, _Mtxunlock and _Mtxdst
2026-11-01 01:51:09 +01:00
Dean 0ef63f1de6 Merge pull request #11749 from oneandonlydean/salvage/libc-internal-9532
feat(libSceLibcInternal): declare 149 PS5 3.20 round four exports
2026-11-01 10:17:18 +13:00
blu 68a0d205c0 Merge remote-tracking branch 'origin/main' into refactor/siginterrupt-libc-internal 2026-10-31 02:05:49 -07:00
MaxandClaude Opus 5.5 a3b689bfdf docs(libSceLibcInternal): record that the _Mtx helpers follow PS4 code
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 04:48:57 +01:00
MaxandClaude Opus 5.5 0e8a80443a feat(libSceLibcInternal): implement _Mtxinit, _Mtxlock, _Mtxunlock and _Mtxdst
_Mtxinit makes a recursive mutex named SceLibcI_<name> (SceLibcI without
a name) and returns 0, or 1 when the attribute or the mutex cannot be
created. _Mtxlock, _Mtxunlock and _Mtxdst return 1 when the pthread call
fails and 0 otherwise. shadPS4 and fpPS4 agree on both.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 03:44:45 +01:00
Kyon 6eb80871af fix(libSceLibcInternal): prevent host symbol interposition 2026-10-30 12:32:42 +00:00
Kyon 967b1c74bf Merge remote-tracking branch 'origin/main' into feat/libc-internal-320-exports 2026-10-30 12:30:57 +00:00
Codex 48f1f0db57 feat(libcinternal): add recovered inventory placeholders 2026-10-30 12:46:45 +02:00
Adrià 3d19f3fed3 Merge pull request #13082 from Celegans12/feat/libcinternal-inventory-exports-20261030
feat(libcinternal): add missing heap inventory exports
2026-10-30 11:38:43 +01:00
Dean Galvin dca634500a Merge main into PR #11749 2026-10-30 23:05:29 +13:00
Adrià d6cf4d47ae Merge pull request #12977 from KernelPanicNT/feat/libcinternal-opendir2-flags
feat(libSceLibcInternal): handle every __opendir2 flag
2026-10-30 06:21:24 +01:00