Commit Graph

29 Commits

Author SHA1 Message Date
taba
db3fb0b2a9 fix typo 2023-09-21 22:11:49 +09:00
Damián Parrino
70678dd078 Update pspiofilemgr_devctl.h 2023-09-19 11:03:47 -03:00
Damián Parrino
b3a6694d46 Update Makefile.am 2023-09-18 18:41:39 -03:00
Damián Parrino
fd74b76a78 Create pspiofilemgr_devctl.h 2023-09-18 18:31:15 -03:00
Damián Parrino
909b42ae65 Update pspiofilemgr.h 2023-09-18 18:21:22 -03:00
Steam Deck User
78a1f9ac72 Guard _PSP_FW_VERSION macro to mitigate warnings with -Wundef
Fixes #123. Guards `_PSP_FW_VERSION` references with `#if defined()` to avoid the SDK headers returning warnings when compiling modules with the `-Wundef` cflag.
2023-04-24 23:28:33 -04:00
OrigamiK
0c7a3f1e5a fix parameter warning 2022-10-02 03:29:49 +05:30
Wally4000
8d1401caa5 Add missing include sys/time.h 2022-04-19 09:15:53 +10:00
Francisco Javier Trujillo Mata
a47efa52fa Merge pull request #91 from rofl0r/clock_t
psputils.h: fix header inclusion for clock_t
2022-04-04 19:51:04 +02:00
rofl0r
f35827f130 psputils.h: fix header inclusion for clock_t
clock_t is defined in <time.h>, but not <sys/time.h> in newlib 4.1.0.

this fixes a compile error in files including this header:

In file included from psp-elf/bin/../psp/sdk/include/pspuser.h:25:0,
                 from psp-elf/bin/../psp/sdk/include/pspkernel.h:17,
                 from ./include/driver/me.h:5,
                 from src/me.c:1:
psp-elf/bin/../psp/sdk/include/psputils.h:51:1: error: unknown type name 'clock_t'
make[1]: *** [src/me.o] Error 1

encountered while trying to compile MElib.
2022-03-28 00:28:35 +00:00
Francisco Javier Trujillo Mata
4cbabb73ae Macro for disabling usage of pthread 2022-03-26 14:31:53 +01:00
Francisco Javier Trujillo Mata
8a0ab6b14e Adding pthreadglue support 2022-03-26 14:31:53 +01:00
Francisco Javier Trujillo Mata
27d0081666 Fix copy & paste issue in the documentation 2021-12-06 21:55:15 +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
cfb9b04954 Improve exit process 2021-11-25 17:30: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
c0f526059a Rename libpsplibc to libcglue 2021-11-15 15:41:30 +01:00
Francisco Javier Trujillo Mata
0302a09f2a Create a macro for helping into defining the threshold in RAM 2021-11-15 15:25:02 +01:00
Francisco Javier Trujillo Mata
35e407e8f1 Create macro for defining and empty/dummy __psp_libc_init function 2021-11-15 15:25:02 +01:00
Francisco Javier Trujillo Mata
3adc56a88e Improve compatibility newer versions of newlib 2021-11-15 15:25:02 +01:00
Francisco Javier Trujillo Mata
d2a1abcc25 Adding missing LightWeight mutex functions 2021-11-15 15:25:02 +01:00
Paul Sajna
1f37590ef4 fix doxygen addgroup syntax 2020-10-03 13:02:09 -07:00
Sophie Kirschner
a04a2708c6 Fix inconsistent whitespace in added definitions 2020-09-02 11:52:33 +03:00
Sophie Kirschner
276d9e3ca6 Add sceKernelDeleteLwMutex and sceKernelGetModuleIdByAddress
d8334ba66f/Core/HLE/sceKernelModule.cpp (L2310)
6b6ecf4427/Core/HLE/sceKernelMutex.cpp (L95)
6b6ecf4427/Core/HLE/sceKernelMutex.cpp (L770)
2020-09-02 11:45:57 +03:00
Carsten Teibes
6f8e67656e Silence build output
Do not pass CPPFLAGS twice
2020-05-16 02:58:04 +02:00
Carsten Teibes
8c50361674 Modernize autotools usage (fix warnings) 2020-05-16 01:10:40 +02:00
Carsten Teibes
7c6e46b487 Remove outdated svn ids, change url, fix permissions
Convert to unix line endings
2020-05-08 00:50:41 +02:00
Sam Hegarty
e3279bfee3 sync with devkit psp 2011-10-24 21:07:54 +13:00
Dan Peori
8a3bef9012 first commit 2010-10-18 12:54:49 -03:00