Commit Graph

569 Commits

Author SHA1 Message Date
Ivan Chikish
4e37240cb9 Implement basic TSC calibration 2023-07-15 10:15:32 +03:00
Ivan Chikish
50a6d1a074 [Logs] Use std::string_view for msg 2023-07-15 09:25:41 +03:00
Ivan Chikish
86d059ddd1 [orbis-kernel] Fix sys_gettimeofday
Disable sys_utc_to_localtime and sys_localtime_to_utc for now.
Libkernel will fallback to sys_gettimeofday.
2023-07-15 06:05:43 +03:00
Ivan Chikish
1d4b96b3de [orbis-kernel] Fix sys_localtime_to_utc 2023-07-14 21:23:23 +03:00
Ivan Chikish
0d7f50a246 [orbis-kernel] +sys_utc_to_localtime, +sys_localtime_to_utc 2023-07-14 20:59:57 +03:00
Ivan Chikish
14b41d1af9 [orbis-kernel] Fix sys_gettimeofday 2023-07-14 18:48:21 +03:00
Ivan Chikish
24d8a8ae8e [orbiskernel] +sys_gettimeofday 2023-07-14 17:35:37 +03:00
Ivan Chikish
2e8afc27bc Try to fix compilation 2023-07-14 15:16:57 +03:00
Ivan Chikish
bc39c9be63 Linker: search /app0/sce_module/
Currently limited, requires decrypted modules with .elf ext
2023-07-14 15:04:23 +03:00
Ivan Chikish
cca5a79200 Reduce libSceAbstractTwitch spam 2023-07-14 15:02:18 +03:00
Ivan Chikish
d89f315bd8 Logs: compact small hex numbers 2023-07-14 15:01:36 +03:00
DH
81c7920a73 [rpcsx-os] Disallow sys_close on fd 0
Hack, will be removed
2023-07-14 04:34:57 +03:00
DH
665d74740a [amdgpu] Implement V_FMA_F32, IMAGE_SAMPLE_LZ, V_CVT_OFF_F32_I4
Loops fix
Decompile spirv on error
Wait for rpcsx-os if memory not exists
2023-07-14 04:34:57 +03:00
Ivan Chikish
d6c8353636 Fix sys_open compilation 2023-07-13 23:37:21 +03:00
Ivan Chikish
653eff3d16 More flockfile 2023-07-13 23:34:46 +03:00
Ivan Chikish
66bc415dc3 [orbis-kernel] Stub sys_cpuset_setaffinity 2023-07-13 23:33:52 +03:00
DH
39c2dc3dbb [rpcsx-os] Temporary pread implementation
Trace open/close
2023-07-13 22:34:49 +03:00
Ivan Chikish
4c2e3c2429 [orbis-kernel] log _umtx_op to trace 2023-07-13 22:15:52 +03:00
Ivan Chikish
b9e6d952ae [orbis-kernel] Fix umtx_cv_wait 2023-07-13 21:23:55 +03:00
Ivan Chikish
0bf03555ef [orbis-kernel] umtx_op: robust waiting 2023-07-13 18:08:58 +03:00
Ivan Chikish
42ff87545a [orbis-kernel] Stub ipmi 0x320 2023-07-13 17:55:14 +03:00
Ivan Chikish
aa00adc9ec Minor logging improvements 2023-07-13 17:55:14 +03:00
DH
f11efcd324 [rpcsx-os] use 8mb for alt stack 2023-07-13 17:50:36 +03:00
DH
7c45d9bb90 [rpcsx-os] Attempt to fix crash for gcc-12 2023-07-13 16:18:38 +03:00
Ivan Chikish
3c3fcaaea4 [orbis-kernel] Check overflow in kalloc 2023-07-13 16:05:37 +03:00
elad335
0e3cbd6627 [SharedCV] Fix typo in shared_cv::impl_wait 2023-07-13 15:54:38 +03:00
DH
38f562181f [rpcsx-os] Setup altstack per thread 2023-07-13 15:53:05 +03:00
DH
01a98af098 [rpcsx-os] Wake umtx on thr_exit 2023-07-13 14:44:57 +03:00
Ivan Chikish
d3f08e6210 [orbis-kernel] Fix umtx_cv_broadcast rv 2023-07-13 14:31:13 +03:00
Ivan Chikish
4030fbdc1f [orbis-kernel] umtx_cv_wait ignore flags if no timeout 2023-07-13 14:23:47 +03:00
Ivan Chikish
725127eafa [orbis-kernel] Hack PI mutex
Maybe it will work as normal for now.
2023-07-13 14:23:20 +03:00
DH
0bfc969b8e Disable clang-format for macros
clang-format-16 wrongly formats them
2023-07-13 13:41:03 +03:00
DH
6a137ea557 [rpcsx-os] backtrace: print module name if so name empty 2023-07-13 13:35:22 +03:00
DH
ee46dd49a0 [orbis-kernel] Ignore sys_cpuset_getaffinity 2023-07-13 13:34:29 +03:00
DH
ce1b421d62 [orbis-kernel] Return correct id for nameobj_create
Ignore sys_osem_create/sys_socketclose
2023-07-13 13:34:13 +03:00
DH
dd9351843b [orbis-kernel] Dummy sys_stat implementation
Ignore shm_open
Correct Stat argument for syscalls
2023-07-13 13:33:17 +03:00
DH
9482bd6704 [rpcsx-os] Implement munmap
Hack for unimplemented device mmap
Hack to ignore ftruncate (requires shm implementation)
2023-07-13 13:30:37 +03:00
DH
6a66bcfcfc [rpcsx-os] dce: Ignore 0xc0308203 0x21 ioctl 2023-07-13 13:28:31 +03:00
DH
6e5792aff2 [rpcsx-os] Ignore 0x802450c9 gc ioctl 2023-07-13 13:27:15 +03:00
Ivan Chikish
0aacfbcee3 [orbis-kernel] sys_ipmimgr_call minor fixup 2023-07-12 22:10:00 +03:00
Ivan Chikish
a4ad666817 [Logs] Don't print empty () 2023-07-12 21:41:14 +03:00
Ivan Chikish
230193129f [orbis-kernel] Add basic EFAULT check
Check for valid pointer range
Replace some deprecated checks
2023-07-12 17:40:11 +03:00
Ivan Chikish
204336989d [orbis-kernel] Trace sys_evf 2023-07-12 17:23:59 +03:00
Ivan Chikish
1550bfc7b1 Partially replace printf with ORBIS_LOG 2023-07-12 15:12:34 +03:00
Ivan Chikish
de973e369f Fix shared_cv deadlock
Was incorrect order of args for futex
2023-07-12 14:05:31 +03:00
Ivan Chikish
123321e2bc [orbis-kernel] Implement umtx_nwake_private 2023-07-12 13:17:53 +03:00
DH
fa2db8ed4b Fixed compilation errors 2023-07-12 05:22:57 +03:00
Ivan Chikish
98d3e30a22 [Logs] Fix ptr to char array formatting 2023-07-12 05:09:31 +03:00
DH
985ba2d6fb [orbis-kernel] Stub kevent 2023-07-12 04:20:28 +03:00
DH
25ea51b972 [orbis-kernel] implement sys_clock_gettime 2023-07-12 04:19:52 +03:00