mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-03-06 05:24:03 +01:00
* 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?
16 lines
455 B
C
16 lines
455 B
C
#pragma once
|
|
|
|
// SysCalls
|
|
s32 sys_rsx_device_open();
|
|
s32 sys_rsx_device_close();
|
|
s32 sys_rsx_memory_allocate();
|
|
s32 sys_rsx_memory_free();
|
|
s32 sys_rsx_context_allocate();
|
|
s32 sys_rsx_context_free();
|
|
s32 sys_rsx_context_iomap();
|
|
s32 sys_rsx_context_iounmap();
|
|
s32 sys_rsx_context_attribute(s32 context_id, u64 a2, u64 a3, u64 a4, u64 a5, u64 a6);
|
|
s32 sys_rsx_device_map(mem32_t a1, mem32_t a2, u32 a3);
|
|
s32 sys_rsx_device_unmap();
|
|
s32 sys_rsx_attribute();
|