Commit graph

149 commits

Author SHA1 Message Date
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
DH
734bc9110e [rpcsx-os] Simplify syscall dispatch configuration 2023-07-12 04:19:13 +03:00
DH
030327cd1d [rpcsx-os] Enable thr_new
Fix uwrite
2023-07-12 03:13:39 +03:00
DH
855b7ab75c [orbis-kernel] WIP new io device implementation
Not used yet
2023-07-11 23:14:33 +03:00
DH
679bf94b5c [orbis-kernel] Added uread/uwrite of arrays
Deprecate uread without error code
2023-07-11 23:13:09 +03:00
Ivan Chikish
764994f94c [orbis-kernel] Stub sys_sched_yield 2023-07-11 18:39:39 +03:00
Ivan Chikish
3ace6a6b05 [orbis-kernel] Fix sys_evf_create args
'initPattern'
2023-07-11 18:25:59 +03:00
Ivan Chikish
4020bc1108 [orbis-kernel] Implement umtx_wait_uint within umtx_wait
Remove separate functions:
* umtx_wait_uint
* umtx_wait_uint_private
2023-07-11 16:14:35 +03:00
Ivan Chikish
eda542561c [orbis-kernel] Implement umtx_cv_signal/broadcast 2023-07-11 08:48:15 +03:00
Ivan Chikish
e01dfbfbe7 [orbis-kernel] Implement umtx_cv_wait 2023-07-11 08:40:03 +03:00
Ivan Chikish
646b4f2b46 [orbis-kernel] Fix umtx_wait 2023-07-11 07:35:55 +03:00
Ivan Chikish
aa5adc7b6d [orbis-kernel] Fix timeout conversion in _umtx_op
Use __uint128_t
2023-07-10 21:48:02 +03:00
Ivan Chikish
205b7d91cf [orbis-kernel] Implement umtx_wait/umtx_wake 2023-07-10 20:46:23 +03:00
Ivan Chikish
9a3054a5d1 [orbis-kernel] Implement umtx_wake_umutex 2023-07-10 19:48:37 +03:00
Marcos Vinicius
51150f4b07
Resolve compilation warnings (#15) 2023-07-10 18:48:20 +03:00
Ivan Chikish
6b7474e34e [orbis-kernel] Fixup do_lock_normal (_umtx_op)
Incorrect wait condition
2023-07-10 16:59:23 +03:00
František Zatloukal
14f76e2a91 gcc: add a few missing includes (cstdlib, string) 2023-07-10 15:52:03 +03:00
Ivan Chikish
bfffd20946 [orbis-kernel] Implement _umtx_op for umutex (no PI) 2023-07-10 14:46:45 +03:00
Ivan Chikish
d273e649bd [orbis-kernel] Optimize kalloc a bit 2023-07-10 05:19:21 +03:00
Ivan Chikish
389627ff73 [Logs] Print colors only on TTY 2023-07-10 04:58:21 +03:00
Ivan Chikish
095b6b7728 [orbis-kernel] Fix sys_namedobj_(create|delete) 2023-07-10 04:47:29 +03:00