Nekotekina
5b19908996
Escape problematic characters in VFS
...
With full-width <>:"\|?*
2017-10-11 22:01:37 +03:00
Robbie
47b121a700
PPU Page Faults ( #3309 )
...
I guess I'll merge it and fix some issues later myself.
2017-10-08 23:37:54 +03:00
Nekotekina
3907dd0444
Implement SYS_NET_SO_REUSEPORT
2017-10-05 19:51:37 +03:00
Nekotekina
3d64b65813
Fix /dev/urandom typo
2017-10-05 19:51:37 +03:00
Nekotekina
ab4e66a0bf
Add cellVdec hack (stolen TLS)
2017-10-05 19:51:37 +03:00
Nekotekina
d296e6021d
libbeisobmf.sprx
2017-10-05 19:51:37 +03:00
Nekotekina
e5f756205c
sys_net full rewrite
...
Implement sys_net syscalls
Clean libnet functions
Use libnet.sprx
Use libhttp.sprx
Use libssl.sprx
Use librudp.sprx
Implement sys_ss_random_number_generator
2017-10-05 19:51:37 +03:00
Nekotekina
b9a0c107ab
Fix library loading mode 'both'
2017-09-20 14:26:42 +03:00
Nekotekina
5c93acefd9
Try to fix some fs errors
2017-09-19 15:07:07 +03:00
Nekotekina
a428dac71c
sys_fs_mkdir: implement ENOENT
2017-09-19 15:07:07 +03:00
Nekotekina
3901f08fa0
Fix error on loading a library twice
2017-09-19 15:07:07 +03:00
Nekotekina
519f21db18
Exitspawn support renewal
...
Implemented _sys_process_exit2 syscall
Rewritten sys_game_process_exitspawn
Rewritten sys_game_process_exitspawn2
Implemented _sys_process_atexitspawn
Implemented _sys_process_at_Exitspawn
And some other changes
2017-09-19 15:07:07 +03:00
Nekotekina
ae2ea02377
Implemented _sys_prx_load_module_on_memcontainer
2017-09-19 15:07:07 +03:00
Nekotekina
b9b71ccbc1
Implemented syscall _sys_process_exit
2017-09-19 15:07:07 +03:00
Nekotekina
669b1385cc
Move sys_process_exit
2017-09-19 15:07:07 +03:00
Robbie
d5fb7180d0
HGA calls sys_rsx_context_attribute before calling sys_rsx_memory_allocate. This inevitably causes RPCS3 to crash. Add nullptr check to prevent this.
2017-09-18 21:24:13 +01:00
Nekotekina
669d953529
Implement fs::error::notempty
2017-09-14 00:23:23 +03:00
Nekotekina
22d8b57027
Improve lv2_memory object
2017-09-14 00:23:23 +03:00
Nekotekina
0e691e2c51
sys_mmapper: minor range fix
2017-09-14 00:23:23 +03:00
Nekotekina
ae1e9e78db
sys_fs: use g_tls_error for diagnostic
...
Affected syscalls:
sys_fs_open
sys_fs_opendir
sys_fs_stat
sys_fs_mkdir
sys_fs_fcntl (get free space)
2017-09-14 00:23:23 +03:00
RipleyTom
e4105f46de
Implement _sys_prx_get_module_info
2017-09-08 00:06:53 +03:00
jjsat
634c411946
Fix sys_tty_write() if called with pwritelen == NULL.
2017-09-06 00:14:15 +03:00
Nekotekina
83e139cd1a
Improve sys_fs_ftruncate
...
Handle stream API lock (EBUSY)
Handle append mode
2017-09-04 02:15:29 +03:00
Nekotekina
1262263f5c
Fix sys_event_port_connect_ipc
2017-09-04 02:15:28 +03:00
Nekotekina
9b9e2bcafb
Move sys_gamepad filter
2017-09-04 02:15:28 +03:00
Talkashie
ca6064b109
sys_usbd stuff ( #3346 )
...
* Create sys_usbd.cpp
* Create sys_usbd.h
* Update lv2.cpp
2017-09-02 04:21:42 +03:00
Ani
e57caefd09
libad: Enable LLE load
...
Removes libad from ignore list.
It will only affect games that call for it, making them progress further with the Recompiler instead of dying in Unregistered Function, as there's no HLE implementation of libad.
Tested with Guitar Hero 5 [BLES00576]
2017-09-01 21:10:50 +01:00
Nekotekina
5b00aaf561
Fix decrypt_self usage
2017-09-01 02:10:57 +03:00
Nekotekina
05442bdb11
Protect SPU segments
2017-09-01 00:59:25 +03:00
Nekotekina
8f9410ceff
Implemented syscall sys_event_port_connect_ipc
2017-08-31 22:10:22 +03:00
Nekotekina
90b8346312
Implemented syscall _sys_spu_image_get_segments
2017-08-31 21:39:12 +03:00
Nekotekina
167d6a08f8
Implemented syscall _sys_spu_image_get_information
2017-08-31 21:30:13 +03:00
Nekotekina
b533d57717
sys_spu_image: minor update
...
Cleanup
Templates extended
2017-08-31 20:36:51 +03:00
Nekotekina
010b75251f
fs::rename fixed
...
Added overwriting policy
sys_fs_rename improved
2017-08-30 17:14:30 +03:00
Nekotekina
f59a448f3f
Copy sys_spu_segment info in SPU TG
...
No idea whether it fixes something or not
2017-08-27 03:00:10 +03:00
Nekotekina
aa5dc5455e
_sys_spu_image_import implemented
...
vm:var<T[]> improved (begin/end)
sys_spu_image_import rewritten
2017-08-27 03:00:10 +03:00
kd-11
8358bda133
gl/rsx: Fixes to zcull pixel counting
2017-08-26 21:53:54 +03:00
scribam
93bfe8164c
Move sys_gamepad files to the correct directory
2017-08-18 21:59:25 +03:00
Nekotekina
613214cdca
Improve error formatting
2017-08-08 22:17:51 +03:00
kd-11
fcb7072fee
Implement hardware zcull emulation
...
rsx/gl: Support s1 immediate values; ogl minor refactoring
2017-08-06 14:29:42 +03:00
Jake
02845f546e
Add gcm to auto lle / liblv2
2017-08-02 01:33:12 +03:00
Jake
21dd715b42
sys_rsx: implement support for lle-gcm
2017-08-02 01:33:12 +03:00
Jake
d9a693019b
rsx/gcm: Implement rsx dma. Refactor gcm/rsx to not be as codependent
2017-08-02 01:33:12 +03:00
Nekotekina
bf14cbdb27
Fix _sys_lwcond_signal, _sys_lwcond_signal_all
2017-07-30 01:09:42 +03:00
Nekotekina
a209d0d7fa
Minor fix of sys_event_queue_receive
2017-07-30 01:09:42 +03:00
Nekotekina
7fa42cfaad
Fix sys_semaphore_wait (on timeout)
2017-07-26 22:35:45 +03:00
Nekotekina
bf53035e3f
IPC support for lv2 sync objects
2017-07-26 21:03:41 +03:00
Nekotekina
67b71c0f89
Fix sys_rwlock_wunlock
2017-07-26 21:03:41 +03:00
Nekotekina
5766fb1f31
Fix sys_rwlock_wlock
2017-07-26 21:03:41 +03:00
scribam
1899f399b6
Mixed minor changes
2017-07-26 17:49:40 +03:00
Nekotekina
adf119e960
sys_rwlock_runlock fixed
...
Registered _sys_rwlock_trywlock
2017-07-23 16:01:52 +03:00
Nekotekina
3f9affd2ad
Stub some SPU syscalls
2017-07-23 11:03:38 +03:00
Jake
7b3693bb29
sys_timer: Fix initial timer state
2017-07-22 09:41:00 +03:00
Nekotekina
f91f2e3e6d
Patch: add floating point support
...
Also count applied entries
2017-07-17 18:36:54 +03:00
Nekotekina
e39ee10105
Patch system improved
...
SPU patch rewritten
PPU patch implemented
2017-07-17 16:49:46 +03:00
Nekotekina
7702eb2fa7
PPU: clean linkage info
2017-07-12 21:29:09 +03:00
Nekotekina
ff53ff3bbf
Force HLE for net-related libraries
2017-07-12 14:00:38 +03:00
Nekotekina
8202352452
Do not load sprx twice
2017-07-12 14:00:38 +03:00
Nekotekina
74f2be7307
PPU: free prx segments
2017-07-12 14:00:38 +03:00
Nekotekina
9a38d63661
Store sys_spu_image value
2017-07-12 14:00:38 +03:00
RipleyTom
d793f8ad78
Implements sys_fs_disk_free
2017-07-04 16:16:32 +03:00
Nekotekina
f0d184f38b
PPU LLVM: relocation support
2017-07-04 02:04:22 +03:00
Nekotekina
8034196c25
ppu_syscall_code type added (for fmt)
2017-06-26 16:56:13 +03:00
Nekotekina
1196e9decc
PPU LLVM: remove unnecessary code
2017-06-26 16:56:13 +03:00
Nekotekina
d0b37777c3
Remove throw cpu_flag
2017-06-23 20:09:33 +03:00
Nekotekina
aea094730b
PPU LLVM: paradigm shift
...
For now, compile only one block at time
Use tail calls to move between blocks
Fully write PPU context (except CIA)
This fixes many compatibility problems
2017-06-23 20:09:33 +03:00
scribam
4d294e7a69
Stub sys_rsxaudio_ functions
2017-06-22 20:08:21 +03:00
Jake
d3df83a3ea
Sprx: loading / reloc fixes
2017-06-21 19:28:05 +03:00
Jake
80fc471067
Ignore LLE savedata modules
2017-05-21 18:07:43 +03:00
Nekotekina
f010b5b235
Configuration simplified
2017-05-20 16:01:48 +03:00
Nekotekina
88fef183a3
config.yml: Log section optimized
2017-05-15 14:37:05 +03:00
Nekotekina
8df95dbe39
Stub sys_fs syscalls
2017-05-11 19:05:41 +03:00
Nekotekina
08c955d177
Remove AutoPause.cpp
2017-05-11 19:05:41 +03:00
Nekotekina
8209e6c1e3
ppu_initialize_syscalls draft
2017-05-11 19:05:41 +03:00
Nekotekina
5ffb4766b0
sys_ppu_thread_once rewritten
...
sys_initialize_tls moved
sys_interrupt_thread_disestablish moved
2017-05-11 19:05:41 +03:00
Nekotekina
b1e8eefad0
cellFs fixes
...
cellFsAllocateFileAreaWithoutZeroFill implemented
2017-05-07 15:24:07 +03:00
Nekotekina
e8d76ede14
sys_fs_fsync fix
2017-05-05 00:11:57 +03:00
Nekotekina
8055d83da2
sys_fs_fget_block_size improved
2017-04-26 20:31:39 +03:00
Nekotekina
b0a83cdb56
sys_fs_lsn_get_cda_size stub
2017-04-26 20:26:29 +03:00
Nekotekina
3f5951c9f8
sys_fs_fcntl update
2017-04-26 16:10:26 +03:00
Nekotekina
c3c442ccb1
cellFsGetFreeSize implemented
2017-04-26 02:27:35 +03:00
Nekotekina
a95a63a58a
sys_fs_lsn_lock implemented
2017-04-26 02:27:35 +03:00
Nekotekina
1bbb76fa20
sys_fs_test implemented
2017-04-26 02:27:35 +03:00
Nekotekina
256dfc5729
sys_fs_fsync implemented
...
sys_fs_fdatasync implemented as equal function
2017-04-26 02:27:34 +03:00
Nekotekina
19fd8c109e
cellFsSdataOpenByFd fixed
2017-04-26 02:27:34 +03:00
Nekotekina
d7c3d1ce12
sys_fs: 0xc0000006 stub
2017-04-26 02:27:34 +03:00
Nekotekina
0f95736c36
cellFsGetDirectoryEntries rewritten
2017-04-26 02:27:34 +03:00
Nekotekina
d05b6135c6
Use libfs.sprx (LLE)
2017-04-26 02:27:34 +03:00
Nekotekina
4ceaab10a5
_mxr000 hack moved
2017-04-16 17:44:20 +03:00
Nekotekina
402df68235
sys_spu_image loading rewritten
2017-04-16 17:44:20 +03:00
Nekotekina
2fd58dc7e8
sys_prx updated
2017-04-16 17:44:19 +03:00
Ani
94ab3ae7cf
Misc ( #2614 )
...
* cellSysmodule: Register libad modules
Register libad_core, libad_async, libad_billboard_util
* Misc
sys_ss_get_console_open_psid (Called on Project Diva F 2nd),
sys_ss_get_console_id
Stub cellWebBrowserGetUsrdataOnGameExit for Professional Baseball
Spirits 2015
Fix two logs on GcmSys
2017-04-13 19:30:25 +03:00
scribam
9ba0a9189b
Update sys_spu
...
- Implement sys_spu_thread_group_set_priority
- Implement sys_spu_thread_group_get_priority
2017-04-10 04:08:55 +03:00
scribam
49ba4bbfb5
Typo
2017-04-10 02:39:52 +03:00
Nekotekina
3ec156b2f2
Enable patch engine for SPU images
2017-03-30 12:04:59 +03:00
Nekotekina
0393c7f52c
fs:: handle negative seek
2017-03-27 01:15:41 +03:00
Jake
65696bf6a3
Crypto: fix sprx/self check in npDrm and edata fixes
2017-03-25 14:26:27 +03:00
Inviuz
c729d6d65a
Use sys_vm_memory_map plus add default value for sys_allocate ( #2560 )
...
for different memory map(unconfirmed) also handle default action.
Fixes unknown syscall 313 error
Issue 2510
2017-03-21 16:02:00 +03:00
Inviuz
b70a1edbc7
Mmapper with Neko's review fixes ( #2503 )
2017-03-12 03:15:22 +03:00
Nekotekina
ce35554a55
Fixes (sys_memory, sys_mmapper)
...
DeS
2017-03-11 21:37:18 +03:00
Nekotekina
4739eb3601
Reservation fix
2017-03-11 15:48:43 +03:00
Jake
a6f8e4f6b3
Edat / Sdata: On the fly decryption for edat, fix EDAT_FLAG_0x20 decryption
2017-03-10 19:39:01 -06:00
Nekotekina
5e3bacbd9b
New reservations
...
Memory system cleanup
sys_memory_get_page_attribute
2017-03-10 15:51:40 +03:00
Jake
87fe93ee9a
Mself / Sdata: on the fly partial decoding support ( #2468 )
2017-03-07 08:59:05 +08:00
Nekotekina
8e4a09d9e5
cellFsSdataOpenByFd draft
...
LLE-compatible implementation
lv2_file::make_view implemented
2017-03-04 16:54:49 +03:00
clienthax
bd85f23ed9
Stub sys_gamepad ycon interface ( #2435 )
...
* Attempt to add sys_gamepad...
* Stub ycon methods
Signed-off-by: clienthax <clienthax@gmail.com>
2017-02-28 19:15:11 +03:00
Nekotekina
0eb6bf6a67
LLVM: splitting and caching
2017-02-26 20:14:18 +03:00
Nekotekina
9000407a77
cpu_thread::test_state added
...
lv2_obj::sleep adjustment
synchronization fixes
2017-02-22 13:23:21 +03:00
Nekotekina
598c90f376
PPU thread scheduler
2017-02-13 22:26:11 +03:00
Nekotekina
e8bfce4ebd
decrypt_self() function
...
Fixed SPU self decryption
Fixed PSV debug self load
2017-02-11 21:36:48 +03:00
Nekotekina
257b9a2015
Debugger fix
...
Crash fixes
GUI fixes
Debug enhancements
2017-02-10 16:33:22 +03:00
raven02
a1189fa37a
finding from @3141card on PS3 console
2017-02-08 23:33:43 +03:00
Nekotekina
246b9f3182
CHECK_EMU_STATUS removal
2017-02-05 17:35:27 +03:00
Nekotekina
bf6854d121
LV2_LOCK removed
2017-02-05 16:35:10 +03:00
Nekotekina
11b0b6958f
sys_spu diag
2017-02-05 15:48:11 +03:00
Nekotekina
ec943b38a2
sys_spu...
2017-02-05 02:26:57 +03:00
Nekotekina
68f0393cf3
sys_interrupt...
2017-02-04 20:39:04 +03:00
Nekotekina
fe26db4d36
idm::last_id cleanup
2017-02-04 20:39:04 +03:00
Nekotekina
e3e4decabf
sys_timer...
2017-02-04 20:39:04 +03:00
Nekotekina
6537909fd2
sys_event_queue...
2017-02-04 20:39:04 +03:00
Nekotekina
26ced19e18
sys_event_flag...
2017-02-04 20:39:03 +03:00
Nekotekina
3d85a89cc9
sys_lwcond, sys_lwmutex
2017-02-04 20:39:03 +03:00
Nekotekina
16944b0c4c
sys_cond, sys_mutex
2017-02-04 20:39:03 +03:00
Nekotekina
c4cc3ad81e
sys_rwlock...
2017-02-04 20:39:03 +03:00
Nekotekina
0674a58502
idm::check extended
...
idm::check_unlocked
idm::find_unlocked
idm::get_unlocked
2017-02-04 20:39:03 +03:00
Nekotekina
213527ca71
sys_semaphore...
2017-01-31 19:36:17 +03:00
Nekotekina
dc7ac22f84
sys_ppu
...
LV2_LOCK removal
error_code introduction
2017-01-31 18:03:09 +03:00
Nekotekina
b21fce4d6f
IdManager improved
...
lv2_obj for kernel objects
Simple lookup (vector)
Another idm API refactoring
2017-01-29 21:37:04 +03:00
Nekotekina
a5a2d43d7c
Thread.cpp refinement
...
Hide thread mutex
Safe notify() method
Other refactoring
2017-01-29 19:52:19 +03:00
Nekotekina
df6607e236
Minor fixes
2017-01-28 03:21:11 +03:00
Nekotekina
4ecf05aa13
cellFsUtime implemented
2017-01-26 20:01:16 +03:00
Nekotekina
5db0f47710
lv2_fs_object fix
2017-01-26 04:22:15 +03:00
Nekotekina
591a6c8671
IdManager improved
2017-01-25 23:29:36 +03:00
Nekotekina
a06223b844
IdManager sugar
2017-01-25 04:43:12 +03:00
Yishuai Li
80a9abcfc8
fix type conflict with macOS ( #2157 )
2016-10-20 03:42:14 +03:00
Nekotekina
c20756136a
Minor diagnostic added
2016-08-18 13:29:53 +03:00
Nekotekina
ad174eb12c
error_code implemented
...
Reports based on formatting system
ppu_error_code removed
arm_error_code removed
2016-08-16 18:57:44 +03:00
Nekotekina
dbcb5df172
WRAP_EXPR macro removed
2016-08-15 17:11:45 +03:00
Nekotekina
84d0d396ed
EXPECTS usage removed
2016-08-15 16:29:38 +03:00
Nekotekina
56b9b38c9c
verify() fix
2016-08-15 14:59:19 +03:00
Nekotekina
05fb57baff
VERIFY macro removed
2016-08-15 03:13:31 +03:00
Nekotekina
1f3433464c
ENSURES usage removed
2016-08-14 22:41:01 +03:00
Nekotekina
0f87c4485d
Silly macro removed-2
2016-08-14 18:19:42 +03:00
Nekotekina
7a2802a5e0
Silly macro removed
2016-08-12 19:31:28 +03:00
Nekotekina
fc56e70172
vm::ptr<char> formatting
2016-08-11 16:47:20 +03:00
Nekotekina
bdeccd889f
cpu_type removed, system_type added
...
cpu_state -> cpu_flag
vm::stack_allocator template improved
ppu_cmd type changed to enum, cmd64 type added
2016-08-09 17:14:41 +03:00
Nekotekina
a7e808b35b
EXCEPTION macro removed
...
fmt::throw_exception<> implemented
::narrow improved
Minor fixes
2016-08-08 19:19:32 +03:00
Nekotekina
46735d6b3d
New bitsets (experimental)
2016-08-08 16:29:37 +03:00
Nekotekina
5a36c57c57
Formatting system improved
...
`unveil<>` renamed to `fmt_unveil<>`, now packs args to u64 imitating va_args
`bijective...` removed, `cfg::enum_entry` now uses formatting system
`fmt_class_string<>` added, providing type-specific "%s" handler function
Added `fmt::append`, removed `fmt::narrow` (too obscure)
Utilities/cfmt.h: C-style format template function (WIP)
Minor formatting fixes and cleanup
2016-08-04 21:34:00 +03:00
raven02
61c6f82f74
Regression fix #1995 ( #2014 )
2016-08-01 19:47:14 +08:00
Nekotekina
f8719c1230
PPUThread refactoring
...
`CallbackManager` removed, added _gcm_intr_thread for cellGcmSys
`PPUThread` renamed to `ppu_thread`, inheritance allowed
Added lightweight command queue for `ppu_thread`
Implemented call stack dump for PPU
`get_current_thread_mutex` removed
`thread_ctrl::spawn`: minor initialization fix
`thread_ctrl::wait_for` added
`named_thread`: some methods added
`cpu_thread::run` added
Some bugs fixes, including SPU channels
2016-07-30 16:35:02 +03:00
Nekotekina
a026d35c97
sys_interrupt_thread_eoi fixed
...
thread_ctrl::interrupt improved
BIND_FUNC improved: preparations
2016-07-24 21:06:07 +03:00
Nekotekina
7ccdea7822
Removed std::enable_shared_from_this
...
Minor ID manager refactoring
2016-07-24 21:06:05 +03:00
Nekotekina
0227c03366
GUI logging improved
...
logs::listener resurrected
rpcs3 version: constexpr
2016-07-21 01:54:39 +03:00
Nekotekina
fc9fdca3f6
Make TLS great again
...
And clean System.h a bit
2016-07-19 14:06:39 +03:00
Nekotekina
438e057dc8
Partial commit: sys_fs
2016-07-17 02:27:52 +03:00
Nekotekina
96728a83f6
Partial commit: sys_memory, sys_mmapper
2016-07-16 14:46:01 +03:00
Nekotekina
f5e65e4ad9
Partial commit: sys_tty
2016-07-16 14:45:59 +03:00
Nekotekina
c95f6c8c56
Partial commit: sys_vm
2016-07-16 14:45:58 +03:00
Nekotekina
73c2115968
BEType: explicit alignment specifier
2016-07-16 14:45:57 +03:00
Nekotekina
06c6c8212d
Minor fixes
...
elf_object
Loader fix
Analyser fix
2016-07-11 16:30:11 +03:00
Ivan
77594dc66c
PPU LLVM: New analyser ( #1858 )
...
Minor fixes
VEX prefix support
2016-07-07 21:42:39 +03:00
Nekotekina
9db7de29fb
Syscall analysis implemented
2016-06-27 16:43:56 +03:00
Nekotekina
860926d731
File op buffer
2016-06-21 13:22:07 +03:00
Nekotekina
a8bebcba55
LLVM AOT
2016-06-19 21:29:48 +03:00
Raul Tambre
97083ebba4
Implement cellFsAllocateFileAreaWithoutZeroFill
...
And a couple minor null pointer checks in sys_fs.
2016-06-03 08:56:37 +03:00
Nekotekina
e2d82394f6
Cell
2016-05-23 16:22:23 +03:00
Ivan
aafcf44581
Header optimizations ( #1684 )
...
Shouldn't break anything. I hope.
2016-04-27 01:27:24 +03:00
Ivan
da7472fe81
Optimizations ( #1680 )
...
* Optimizations
1) Some headers simplified for better compilation time
2) Some templates simplified for smaller executable size
3) Eliminate std::future to fix compilation for mingw64
4) PKG installation can be cancelled now
5) cellGame fixes
6) XAudio2 fix for mingw64
7) PPUInterpreter bug fixed (Clang)
* any_pod<> implemented
Aliases: any16, any32, any64
rsx::make_command fixed
2016-04-25 13:49:12 +03:00
Ivan
efc8779275
SPU channel optimization ( #1675 )
2016-04-19 16:04:02 +03:00
Nekotekina
42e1d4d752
Partial commit: Syscalls
2016-04-15 19:22:30 +03:00