Commit Graph

55 Commits

Author SHA1 Message Date
Francisco Javier Trujillo Mata
c0f526059a Rename libpsplibc to libcglue 2021-11-15 15:41:30 +01:00
Francisco Javier Trujillo Mata
0a803b844d Update all samples to new requirements, and expose a makefile to compile all of them 2021-11-15 15:38:42 +01:00
Francisco Javier Trujillo Mata
6e80c9bd29 Add the cmake toolchain file to the base sdk and psp share dir to variables 2021-11-15 15:25:02 +01:00
Francisco Javier Trujillo Mata
514f7947d7 Improve base makefiles to be used with the new POSIX and standard environment 2021-11-15 15:25:02 +01:00
Francisco Javier Trujillo Mata
cee267dcb7 Add new libc headers in the sdk include lists 2021-11-15 15:25:02 +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
1857e98f0d Creation of the libpsplibc library:
- Implement callback functions needed by newlib
- POSIX environment
- Thread safe alloc/dealloc open/close files
- Changed the way that HEAP is allocated, now by default it uses all available RAM except 512KB/
- Implement a lot of missing functions for having a real POSIX environment (some implementations are dummy because are impossible to do in the PSP OS)
- Adding specific inet changes that previously where in the PSP newlib patch
- Deleting the uncompleted & custom libc library
- Create some weak functions during init of libc process to save some KB if we want to have tiny apps
- Other I/O improvements
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
1fdb7fd770 Make strong references for __psp_libc_init in the crt0 files 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
Francisco Javier Trujillo Mata
13db378d32 Adding missing stub for sceKernelMaxFreeMemSize 2021-11-15 15:25:01 +01:00
Francisco Javier Trujillo Mata
8a724e4367 Adding some missing headers to pspnet_inet 2021-11-15 15:25:01 +01:00
Siddharth Singh
80bf720df2 pspctrl.h: Document PSP_CTRL_MODE_DIGITAL behavior 2021-11-03 23:28:06 +05:30
Felix-Dev
312cd74a50 pspctrl.h: Remove useless spaces 2021-04-05 22:48:28 +02:00
Felix-Dev
505bd55b0a pspctrl.h: Remove newlines which were not required 2021-04-05 22:43:44 +02:00
Felix-Dev
75f47de778 pspctrl.h: Attempt to add newlines to doxygen output 2021-04-05 22:41:46 +02:00
Felix-Dev
e6773cc928 pspctrl.h: Fix link to PspCtrlButtons 2021-04-05 22:36:03 +02:00
Felix-Dev
34773491be Fix typo and adjust button macros 2021-04-05 21:57:01 +02:00
Felix-Dev
2ad9c7655b pspctrl.h: Add SceCtrlLatch API documentation. 2021-04-05 21:53:48 +02:00
John Kelley
8595e112e1 Fix GetTachyonVersion prefix 2021-03-25 23:10:17 -04:00
Florin9doi
d1e5220c92 Resolve a documentation error for sceUsbStop parameters
Signed-off-by: Florin9doi <Florin9doi@users.noreply.github.com>
2020-11-17 14:13:23 -08:00
mills32
0d3c974dd1 Add MIP Mapping Sample (#44)
* MIP Mapping sample

* Add files via upload

* MIP Mapping Sample

* Update mipmapping.c
2020-10-04 16:29:18 -07:00
Paul Sajna
1f37590ef4 fix doxygen addgroup syntax 2020-10-03 13:02:09 -07:00
Sophie Kirschner
d373d44872 Corrections to dmac makefile 2020-09-02 11:58:31 +03:00
Sophie Kirschner
a04a2708c6 Fix inconsistent whitespace in added definitions 2020-09-02 11:52:33 +03:00
Sophie Kirschner
6c59eaa5c7 Add psputility error code definitions
https://github.com/hrydgard/ppsspp/issues/13187#issuecomment-680941546
2020-09-02 11:46:23 +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
Sophie Kirschner
1d1546d75e Add pspaudio error codes
http://uofw.github.io/uofw/audio_8h_source.html
2020-09-02 11:45:09 +03:00
Sophie Kirschner
87232db654 Add DMAC definitions 2020-09-02 11:44:38 +03:00
Carsten Teibes
30c8272ba3 Do not use a0 register in pspgum
Fixes some examples (see #26)

Reason is newlib's `memset()` clobbers the a0 register, meaning that `t`
points to garbage after the call.
2020-07-10 02:04:22 +02:00
Carsten Teibes
526d0423b4 Add missing header for MAXPATHLEN in newer newlib 2020-07-09 05:27:34 +02:00
Carsten Teibes
3cfacc675d Fix duplicated stub functions 2020-06-23 00:20:51 +02:00
Carsten Teibes
f8f252343c Cleanup some compiler warnings 2020-06-22 21:24:12 +02:00
Carsten Teibes
d88103a9be Fix/improve make distcheck 2020-05-16 05:23:12 +02: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
Carsten Teibes
9e63c70dad Merge pull request #23 from Fighter19/Ident
Added functions to identify PSP Model
2020-04-20 19:30:40 +02:00
Jessica Stokes
7cb699f0b8 Remove the -mno-crt0 flag from build_prx.mak
`-mno-crt0` does not exist in current versions of psp-gcc installed by the toolchain, and `-nostartfiles` appears to be equivalent.
2018-08-17 21:42:01 -07:00
Fighter19
024abb63f2 Added functions to identify PSP Model 2016-05-15 12:02:58 +02:00
Nabil Bendafi
38ba73ac43 Race condition during make install-data
- pspmpegbase.h installed twice
2015-11-16 14:28:35 +01:00
Johannes Ekberg
30aaae4a62 Eliminated doxygen warnings 2014-02-07 22:37:13 +01:00
Sam Hegarty
b9c150bc32 Add missing include 2012-03-11 09:02:59 +13:00
artart78
ab6481a90c Merge pull request #4 from artart78/master
Prxgen fixes
2012-02-29 04:58:48 -08:00
Sam Hegarty
8d9fee4d9e add structure missing from last commit 2012-02-16 21:49:19 +13:00
Sam Hegarty
9a233be9c6 add fields to structure (taken from uOFW project) 2012-02-16 19:55:17 +13:00
Arthur Blot
7e588eee7e Fixed/clarified/completed sceGe_user 2012-01-22 18:49:48 +01:00
Sam Hegarty
467e14b708 remove fake-sign section from build.mak for "pure" elf type executable 2011-12-13 15:22:20 +13:00
Sam Hegarty
581fe4b853 add PrxEncrypter to tools 2011-12-07 04:39:59 +13:00