Commit Graph

176 Commits

Author SHA1 Message Date
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
DH
6d9a8e8452 [orbis-elf] Attempt to fix crash on debug message with gcc debug build 2023-07-09 22:37:39 +03:00
DH
f0d106a3b9 Missed time.hpp 2023-07-09 14:03:41 +03:00
DH
23fcf2747a [orbis-kernel] umtx: read timeout 2023-07-09 13:52:38 +03:00
Ivan Chikish
cae3d4ec7a [Logs] Add colors to formatting 2023-07-09 12:07:39 +03:00
Ivan Chikish
863b5c3a4a [orbis-kernel] Workaround strange bug
Occurs in Debug builds.
2023-07-09 12:07:07 +03:00
Ivan Chikish
c2e47df91f Fix formatting 2023-07-08 21:47:13 +03:00
Ivan Chikish
c20eefdd26 Add .gdbinit 2023-07-08 21:39:01 +03:00
Ivan Chikish
ea31f142cf Add .editorconfig 2023-07-08 21:38:31 +03:00
DH
f1aa2d4951 Fix formatting 2023-07-08 21:31:24 +03:00
illusion0001
bfcc50d000
Add Build CI (#14)
* Add Build CI

Co-Authored-By: Margen67 <Margen67@users.noreply.github.com>

* Readme: Change badges

---------

Co-authored-by: Margen67 <Margen67@users.noreply.github.com>
2023-07-08 21:05:33 +03:00
Ivan Chikish
d1651531c3 [Logs] Implement format_n for char[N] 2023-07-08 19:10:48 +03:00
Ivan Chikish
bc4cd8dc4f Fix formatting 2023-07-08 17:40:10 +03:00
Ivan Chikish
aec2574018 [Logs] Don't read nullptr string 2023-07-08 17:39:59 +03:00
Ivan Chikish
f5623fe759 [orbis-kernel] Fix sys_namedobj_create
Use ureadString for name.
2023-07-08 16:54:26 +03:00
Ivan Chikish
6f678ef595 [orbis-kernel] Implement sys_namedobj_create and sys_namedobj_delete 2023-07-08 16:44:05 +03:00
Ivan Chikish
34b27c271c [orbis-kernel] Add Ref(nullptr) constructor 2023-07-08 07:26:53 +03:00
DH
6d3dc8d645 [orbis-kernel] umtx: initial template 2023-07-08 02:50:45 +03:00
DH
4d783245ad [orbis-kernel] remove example project 2023-07-08 02:22:25 +03:00
DH
800c1ffcdc [orbis-kernel] evf: implement shared evf
Protect shared evfs with mutex
Fixed memory leak on shared evf allocation
Fixed set condition on wait
Update RcIdMap usage to use new api
2023-07-08 02:21:10 +03:00
DH
e613f09b6d [orbis-kernel] RcIdMap: implement atomic destroy 2023-07-08 02:08:14 +03:00
DH
c29ce26415 [orbis-kernel] RcIdMap: protect with mutex 2023-07-08 02:02:27 +03:00
DH
cf9add7209 [rpcsx-os] export backtrace api 2023-07-08 02:01:24 +03:00
Ivan Chikish
820a97ddec [orbis-kernel] shared_cv: fix formatting 2023-07-07 21:37:24 +03:00