Commit graph

47 commits

Author SHA1 Message Date
Nekotekina
3aefa2b4e1 ThreadBase rewritten (wip) 2015-07-10 04:31:16 +03:00
S Gopal Rajagopal
a800d21a31 SPURS: Fix some bugs
Conflicts:
	rpcs3/Emu/SysCalls/Modules/cellSpurs.cpp
2015-07-10 04:31:05 +03:00
S Gopal Rajagopal
46e4f2d48c SPURS: Implement some portions of spurs initialization
Conflicts:
	rpcs3/Emu/SysCalls/Modules/cellSpurs.cpp
	rpcs3/Emu/SysCalls/Modules/cellSpurs.h
	rpcs3/Emu/SysCalls/Modules/cellSpursSpu.cpp
	rpcs3/Emu/SysCalls/lv2/sys_event.cpp
	rpcs3/Emu/SysCalls/lv2/sys_event.h
	rpcs3/Emu/SysCalls/lv2/sys_lwmutex.cpp
	rpcs3/Emu/SysCalls/lv2/sys_lwmutex.h
	rpcs3/Emu/SysCalls/lv2/sys_semaphore.cpp
	rpcs3/Emu/SysCalls/lv2/sys_semaphore.h
	rpcs3/Emu/SysCalls/lv2/sys_spu.cpp
	rpcs3/Emu/SysCalls/lv2/sys_spu.h
2015-07-10 04:30:58 +03:00
Nekotekina
317417d541 vm::cptr/bcptr/lcptr used widely for const pointers 2015-07-10 04:30:53 +03:00
Nekotekina
6c4148a949 Bugfix 2015-07-10 04:30:47 +03:00
Nekotekina
edb9595721 Using vm::ps3 namespace moved in proper places
Various fixes
2015-07-10 04:30:41 +03:00
Nekotekina
a70d305806 IdManager fix 2015-05-28 22:13:35 +03:00
Nekotekina
22b78fec71 IdManager improved, atomic_t improved
Various changes
2015-05-27 06:11:59 +03:00
Nekotekina
d2ad84453d KernelExplorer fixed 2015-04-14 05:00:31 +03:00
Nekotekina
85b63de631 Events improved 2015-04-13 16:32:09 +03:00
Nekotekina
ea5110cec3 Various changes 2015-04-12 04:36:25 +03:00
Nekotekina
a3d400b5cc Minor cleanup 2015-03-11 18:30:50 +03:00
Nekotekina
befc0f62b8 Lv2 lwcond "true" syscalls 2015-03-10 17:42:08 +03:00
Nekotekina
dba249554d Lv2 Rwlock rewritten 2015-03-08 05:32:41 +03:00
Nekotekina
d234493b4a Compilation fix 2015-03-07 01:58:42 +03:00
Nekotekina
ef65299dff Lv2 Cond/Mutex rewritten, bugfixes 2015-03-07 01:10:04 +03:00
Nekotekina
e2a2709ad0 Event Flag refactoring, bugfixes 2015-03-06 00:29:05 +03:00
Nekotekina
5d768bd3cf Bugfix, sys_spu_thread_group_connect_event implemented 2015-03-05 16:18:06 +03:00
Nekotekina
f22001d527 Bugfix
+sys_spu_thread_group_disconnect_event_all_threads
2015-03-05 02:34:20 +03:00
Nekotekina
9e49a33b3c SPU syscall improvements 2015-03-05 00:51:14 +03:00
Nekotekina
ad38e9f0fe event_queue_t, event_port_t rewritten 2015-03-04 07:42:04 +03:00
Nekotekina
5f8cf18a5a SPU refactoring 2015-03-03 00:09:20 +03:00
Nekotekina
1c4e89d2bf Formatting fixes, ToBE() replaced with data() 2015-01-13 17:54:36 +03:00
Nekotekina
d8664c8da4 Bugfix 2015-01-02 19:02:31 +03:00
Nekotekina
f3cd908d5c Sync primitives reworked
(rwlock rewritten)
2015-01-02 02:41:29 +03:00
Nekotekina
653db28675 removed excessive stuff 2014-12-28 16:15:22 +03:00
Nekotekina
cbdc32e95e Kernel Explorer partially restored 2014-12-24 19:09:32 +03:00
Nekotekina
d8239a39c9 std::shared_ptr in IdManager 2014-12-24 02:38:13 +03:00
Nekotekina
b2de24db73 SMutex eliminated 2014-12-23 02:31:11 +03:00
Nekotekina
0fb092f2a5 Syscalls: minor fixes 2014-12-22 03:56:04 +03:00
Raul Tambre
9e5403aeb3 Remove unneeded be_t 2014-10-11 20:20:01 +03:00
Nekotekina
a4a4e572a0 vm::atomic update, small fixes 2014-09-23 18:27:18 +04:00
Nekotekina
bb77249ac8 CellSpurs initialization 2014-09-19 04:19:22 +04:00
Nekotekina
db9cbe6cdd MemoryBase::operator+ replaced 2014-09-06 00:26:36 +04:00
Nekotekina
b952017a3a mem_ptr_t replaced 2014-09-02 05:05:13 +04:00
Nekotekina
9501869aa1 mem32_t replaced 2014-09-01 04:51:48 +04:00
Nekotekina
b005ee3cda Log include fixes 2014-08-23 18:51:51 +04:00
Nekotekina
efa538f9d7 include clearing 2014-08-23 04:16:54 +04:00
Nekotekina
861ce9e733 include clearing 2014-08-23 01:15:02 +04:00
Alexandro Sánchez Bach
d53327f8bb Updated IDManager
ID member m_flags has been replaced with m_type, which stores the type
of the object referenced by the ID and added std::set<IDType> to the ID
manager to group relevant IDs in order to use them later in some
lv2/sys_process functions and the Kernel Explorer.
2014-08-19 13:10:41 +02:00
Nekotekina
dfd5fd388e Little cleanup 2014-08-08 22:13:17 +04:00
Nekotekina
b00e0fcf69 sys_event_flag.cpp restored 2014-08-08 19:55:12 +04:00
Nekotekina
8f04ab07ed IsGood() check elimination
Reasons: 1) It's unsafe - we cannot guarantee that address is still good
while it is used. 2) It's wrong in many modules which are usually just
compare pointer with zero.
2014-08-05 14:18:22 +04:00
Nekotekina
640de81571 Variadic templates for module logs
Two new module log types: Todo() and Notice()
2014-07-21 18:42:43 +04:00
Sacha
9816ec3aa0 Fix conflicts. 2014-07-12 17:02:39 +10:00
Alexandro Sánchez Bach
230ba0d360 Fixed conflicts and minor changes (2) 2014-07-06 18:05:52 +02:00
Alexandro Sánchez Bach
08d61163ea Removed external functions from SysCalls.h
* Replace `int` with `s32` as return type for syscalls.
* Renamed `SC_Something.*` files with the proper lv2 name
`sys_something.*`.
* Moving away from the lv2, those functions and folders that doesn't
correspond to lv2 functions. E.g. module functions from sys_io,
sysPrxForUser, cellGcmSys.
* Splitted some files (memory -> memory+mmapper) and merged other ones
(event+event_flag ->event, spu+spu_thread -> spu), according to common
sense, PSDevWiki docs, and checking firmware files.
* Removed external functions from `SysCalls.h`.

NOTE: What should we do about: cellGcmCallback? It's not a lv2 syscall
but it appears on the sc_table and it is actually called in games. Is
this some kind of hack?
2014-07-06 16:23:37 +02:00