mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-02-12 18:54:29 +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?
12 lines
285 B
C
12 lines
285 B
C
#pragma once
|
|
|
|
// Auxiliary functions
|
|
u64 get_time();
|
|
u64 get_system_time();
|
|
|
|
// SysCalls
|
|
s32 sys_time_get_timezone(mem32_t timezone, mem32_t summertime);
|
|
s32 sys_time_get_current_time(u32 sec_addr, u32 nsec_addr);
|
|
s64 sys_time_get_system_time();
|
|
u64 sys_time_get_timebase_frequency();
|