Nekotekina
38531459df
Logging system rewritten
...
GUI doesn't freeze anymore
Some things simplified
2016-01-13 18:54:57 +03:00
Nekotekina
9d68c16c62
be_t (se_t) optimizations
2015-09-22 13:28:35 +03:00
Nekotekina
c6bdedf3b0
sleep_queue_t moved to SleepQueue.cpp, cleanup
...
Used ARMv7Thread instead of ARMv7Context in PSV HLE functions and
callbacks. However, interpreter still uses ARMv7Context.
Various PSV functions partially implemented:
sceKernelCreateEventFlag
sceKernelDeleteEventFlag
sceKernelOpenEventFlag
sceKernelCloseEventFlag
sceKernelWaitEventFlag
sceKernelWaitEventFlagCB
sceKernelPollEventFlag
sceKernelSetEventFlag
sceKernelClearEventFlag
sceKernelCancelEventFlag
sceKernelGetEventFlagInfo
sceKernelCreateSema
sceKernelDeleteSema
sceKernelCreateMutex
sceKernelDeleteMutex
sceKernelCreateCond
sceKernelDeleteCond
2015-08-24 21:22:30 +03:00
Nekotekina
dd665e7363
ID manager simplified
...
ID manager refactoring, redundant "type" information removed
2015-08-24 21:22:19 +03:00
Nekotekina
023d385af8
sys_semaphore improved
2015-07-21 23:14:39 +03:00
Nekotekina
c0f13f7084
sleep_queue_t rewritten, used in sys_cond/sys_mutex
...
Some synchronization fixes
2015-07-10 04:31:34 +03:00
Nekotekina
83321c5be7
sys_time_get_current_time fixed, CALL_FUNC draft
2015-07-10 04:31:30 +03:00
Nekotekina
3064cf8101
CHECK_EMU_STATUS, autojoin_thread_t
2015-07-10 04:31:27 +03:00
Nekotekina
39f836b495
re32/se32/... macro eliminated, some fixes
2015-07-10 04:31:09 +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
6c4148a949
Bugfix
2015-07-10 04:30:47 +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
fea6fd1a70
Bugfixes
2015-04-12 23:16:30 +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
0f233beff9
Lv2 Semaphore rewritten
2015-03-08 06:37:07 +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
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
Fabian Schaffert
00e0e85793
Fixes return value of sys_semaphore_create()
...
In case of att.addr() being NULL, CELL_EFAULT must be returnd and not
CELL_EINVAL, according to the corresponding ps3autotest.
2014-11-16 14:45:58 +01:00
Fabian Schaffert
4185c1e422
Fixes segfault described in #794
...
Fixes bug in sys_semaphore_create() when a NULL pointer address is
passed in sem or attr.
Fixes bug in sys_semaphore_get_value() when a NULL pointer address is
passed in count.
2014-11-12 23:25:27 +01:00
B1ackDaemon
9c8666573b
Merge pull request #842 from tambry/ChangesAndAdditions
...
Initial cellSail implementation
2014-10-17 18:43:46 +03:00
Nekotekina
18b69cac99
waiter_map_t : concept changed
...
Purpose-specific waiter_map_t objects instead of global one. SM_Sleep()
removed.
2014-10-16 20:29:41 +04:00
Raul Tambre
9e5403aeb3
Remove unneeded be_t
2014-10-11 20:20:01 +03:00
Nekotekina
89da242cd2
Warning fix
2014-09-20 04:08:12 +04:00
Nekotekina
bb77249ac8
CellSpurs initialization
2014-09-19 04:19:22 +04:00
O1L
dc7e143de5
More information in KernelExplorer.
2014-09-14 00:40:12 +04:00
Nekotekina
b952017a3a
mem_ptr_t replaced
2014-09-02 05:05:13 +04:00
Nekotekina
9c94a6943d
mem_bptr_t replaced
2014-09-02 02:22:13 +04:00
Nekotekina
51ea1e3bed
Compilation fix 5
2014-09-02 01:41:36 +04:00
Nekotekina
9501869aa1
mem32_t replaced
2014-09-01 04:51:48 +04:00
Nekotekina
78cbb90ef6
Some leaks fixed
2014-08-26 03:55:37 +04:00
Nekotekina
b005ee3cda
Log include fixes
2014-08-23 18:51:51 +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
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
6e06fdf638
Stdafx: Major header cleanup
2014-07-12 16:33:04 +10:00
Alexandro Sánchez Bach
0002cc0af3
Removed old / unnecessary code
...
* Removed Plugins.h file as I assume setting up a plugin hell is a bad
idea (does anyone disagree?).
* Removed FnIdGenerator, and moved FnIdGenerator::GenerateFnId to
getFunctionId in Modules.cpp
* Disabled RSX Debugger and Memory Viewer when the emulator is stopped.
* ELF64Loader::LoadPhdrData refactored.
2014-07-06 16:44:56 +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