Commit Graph

158 Commits

Author SHA1 Message Date
ryancaicse
0ba656ab48 Fix resource leaks in psp-prxgen.c
Fix resource leaks in psp-prxgen.c
2022-02-07 15:12:52 +08:00
Francisco Javier Trujillo Mata
34f7821758 Merge pull request #83 from fjtrujy/passwd
Improve getpgwan and getpwuid
2022-01-13 20:48:06 +01:00
Francisco Javier Trujillo Mata
4a16677d8d Improve getpgwan and getpwuid
Return dummy passwd struct
2022-01-13 20:44:25 +01:00
Francisco Javier Trujillo Mata
941f272544 Merge pull request #82 from pspdev/revert-79-passwd
Revert "Improve getpgwan and getpwuid"
2022-01-13 20:38:39 +01:00
Francisco Javier Trujillo Mata
d2796b684a Revert "Improve getpgwan and getpwuid" 2022-01-13 20:38:25 +01:00
Francisco Javier Trujillo Mata
550722d9fc Merge pull request #79 from fjtrujy/passwd
Improve getpgwan and getpwuid
2022-01-13 20:37:30 +01:00
Francisco Javier Trujillo Mata
20e2e8a561 Merge pull request #81 from sharkwouter/patch-1
Allow setting ENC_PRX as argument
2022-01-13 20:37:16 +01:00
Wouter Wijsman
745d5483a0 Allow setting ENC_PRX as argument
This make it a bit easier to deal, since encrypting a PRX makes it no longer work in psplink, but you might want to use it in an automated release.
2022-01-12 13:46:35 +01:00
Francisco Javier Trujillo Mata
d066a725d0 Improve getpgwan and getpwuid
Return dummy passwd struct
2022-01-05 19:47:06 +01:00
Paul Sajna
304c93a969 Merge pull request #78 from fjtrujy/fsync
Adding fsync function to libc glue  functions
2022-01-03 15:42:21 -08:00
Francisco Javier Trujillo Mata
9bd8355094 Adding fsync function to libc glue functions 2022-01-03 22:43:15 +01:00
Francisco Javier Trujillo Mata
8029a2a210 Merge pull request #77 from sharkwouter/patch-1 2021-12-25 00:41:13 +01:00
Wouter Wijsman
34fb512ae2 Add comment to install prefix 2021-12-24 20:44:40 +01:00
Wouter Wijsman
1db6cd197e Fix inconsistant behaviour with install prefix
Somehow it was still sometimes not working. I have no idea why that was, but setting is to cache and path fixed it for me.
2021-12-24 20:42:43 +01:00
Francisco Javier Trujillo Mata
4e982a686c Merge pull request #76 from sharkwouter/patch-1
Set CMAKE_INSTALL_PREFIX correctly
2021-12-23 20:41:45 +01:00
Wouter Wijsman
321cff4ee4 Set CMAKE_INSTALL_PREFIX correctly
CMAKE_TARGET_INSTALL_PREFIX isn't actually documented anywhere on the cmake website, so I guess that was a mistake. This change does not seem to cause warnings while building applications.
2021-12-23 20:35:34 +01:00
Francisco Javier Trujillo Mata
d916e68304 Merge pull request #75 from sharkwouter/patch-1
Don't make psp_artifacts directory
2021-12-17 19:04:52 +01:00
Wouter Wijsman
8911f4ea72 Add BUILD_PRX option to cmake 2021-12-15 23:37:18 +01:00
Wouter Wijsman
a94a5e4027 Don't make psp_artifacts directory
This makes it much easier to use psplink, since you'll no longer need to copy the prx into the build directory upon each build.
2021-12-15 23:23:01 +01:00
Paul Sajna
d726cd762f Merge pull request #74 from joel16/master
pspsysreg.h: Fix sceSysregGetTachyonVersion function prototype
2021-12-09 12:54:54 -08:00
Joel16
65ec4ecdf9 pspsysreg.h: Fix sceSysregGetTachyonVersion function prototype 2021-12-09 15:45:55 -05:00
Francisco Javier Trujillo Mata
191a1b366b Merge pull request #73 from davidgfnet/moreposix
Add some more POSIX API calls
2021-12-09 21:31:36 +01:00
David Guillen Fandos
eae72ff954 Make getuid/geteuid return 1000 to "look like" a non-root user. 2021-12-09 21:24:14 +01:00
David Guillen Fandos
d05f1945d1 Add getuid/geteuid to return user=0 (root)
Hopefully allows some programs to build even though there's no support
for users on the system.
2021-12-09 18:29:00 +01:00
David Guillen Fandos
85f34c19a6 Add dummy getpwuid and getpwnam for more POSIX compatibility.
This should get around libs/programs that just attempt to get the
current users's home directory.
2021-12-09 18:24:53 +01:00
Paul Sajna
8b9625399a Merge pull request #72 from fjtrujy/modinfo
Create modinfo & fix some issues
2021-12-06 13:13:31 -08:00
Francisco Javier Trujillo Mata
27d0081666 Fix copy & paste issue in the documentation 2021-12-06 21:55:15 +01:00
Francisco Javier Trujillo Mata
f6495356e8 Fix headers and imports 2021-12-06 21:24:44 +01:00
Francisco Javier Trujillo Mata
98b7d836ee Create specific modinfo library 2021-12-06 21:24:44 +01:00
Ben
1fefe31635 Merge pull request #67 from fjtrujy/pspsdk_stdlib
Add pspsdk to the standard libs
2021-12-05 18:50:16 +11:00
Francisco Javier Trujillo Mata
e66eddd9b3 Add pspsdk to the standard libs 2021-12-04 14:22:35 +01:00
Ben
0edae0ab81 Merge pull request #65 from fjtrujy/prx_heap
Remove specific condition for heap and PRX files
2021-12-04 09:26:22 +11:00
Francisco Javier Trujillo Mata
98ec5c7860 Merge pull request #66 from davidgfnet/master
Move inline stubs to a separated asm file
2021-12-03 23:23:36 +01:00
David Guillen Fandos
df9e296904 Move inline stubs to a separated asm file
Defining asm labels in inline assembly is not a good idea, according to
GCC docs it can result in labels being deleted (optimized away) or even
duplicated (see https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html).

This affects LTO linking, since LTO removes the four symbols and results
in undefined references. Using an ASM file makes sure that symbols exist
with the correct attributes.
2021-12-03 21:52:59 +01:00
Francisco Javier Trujillo Mata
01d000e03e Remove specific condition for heap and PRX files 2021-12-03 20:14:30 +01:00
Carsten Teibes
1ca89ebe87 Merge pull request #63 from fjtrujy/master
Improve Exit/Terminate process
2021-11-29 22:00:26 +01:00
Francisco Javier Trujillo Mata
cfb9b04954 Improve exit process 2021-11-25 17:30:24 +01:00
Francisco Javier Trujillo Mata
af5e24ef06 Deinit mutexs 2021-11-25 17:20:55 +01:00
Francisco Javier Trujillo Mata
976707e8a0 Merge pull request #62 from pspdev/wally4000-patch-1 2021-11-25 09:18:45 +01:00
Ben
bfcc5ca744 Update README.md 2021-11-25 15:43:58 +11:00
Ben
9feb201936 Merge pull request #61 from fjtrujy/master
Fix gettimeofday & other small improvements
2021-11-23 11:41:23 +11:00
Francisco Javier Trujillo Mata
227b0de587 Make CI to fail if one sample fails 2021-11-23 01:31:57 +01:00
Francisco Javier Trujillo Mata
515834c2bf Improve return error nanosleep 2021-11-23 01:31:39 +01:00
Francisco Javier Trujillo Mata
04c4d9e76f Add ftime function 2021-11-23 01:31:24 +01:00
Francisco Javier Trujillo Mata
98bed321f1 Fix wrong struct used for timeval. Newlib expects 64bits for seconds and PSP expects 32 2021-11-23 01:31:06 +01:00
Francisco Javier Trujillo Mata
6192ee8bdf Merge pull request #60 from sharkwouter/improve-cmake
Add CreatePBP.cmake and add some variables relied on by software
2021-11-17 22:39:22 +01:00
Wouter Wijsman
75085d4970 Also set PSP definition for gcc and cmake 2021-11-17 22:35:02 +01:00
Wouter Wijsman
074a740bce Add CreatePBP.cmake and add some variables relied on by software 2021-11-17 15:45:44 +01:00
Ben
2186ee2441 Merge pull request #59 from fjtrujy/master
Remove fjtrujy docker reference
2021-11-17 21:20:50 +11:00
Francisco Javier Trujillo Mata
ac08cad362 Remove fjtrujy docker reference 2021-11-17 11:13:14 +01:00