Macdu
9889c472a9
kernel: better handling of thread priority and mask affinity
2022-05-25 15:23:21 +03:00
bookmist
b49b56081b
kernel/tracy: set guest thread names
2022-05-18 22:22:13 +03:00
Macdu
3c221fdc5b
kernel: Implement RWLock
2022-05-16 20:23:05 +02:00
Macdu
6e5d8dee2d
kernel: Fix event flags
2022-05-14 10:54:01 +02:00
Macdu
777650e882
modules/SceSysmodule: prevent random crash when calling sceSysmoduleLoadModule
2022-05-13 19:21:49 +02:00
Macdu
cff586cd60
SceDisplay: implement proper behavior of sceDisplayWait...Multi
2022-05-05 01:23:29 +02:00
Macdu
ca9933cb7b
kernel: fix debug build
2022-05-04 14:51:59 +02:00
Macdu
8c2b070ab9
kernel: Immediatly resume from wait if *timeout is 0
2022-05-03 02:57:37 +02:00
Zangetsu38
9c224e3358
modules/SceThreadmgr: using callback of sceKernelWaitSemaCB.
2022-05-02 21:41:05 +02:00
Macdu
37fe91a53a
kernel: Fix and performance improvements for thread data queue
2022-04-30 00:11:17 +02:00
Macdu
e4beed2791
kernel: Wait for the thread mutex lock in eventflag_set
2022-04-30 00:11:17 +02:00
Macdu
8682419fe9
kernel: Fix mutex lock order in handle_timeout
2022-04-30 00:11:17 +02:00
Macdu
c7e787a572
kernel: Fix fifo event thread queue treated as a priority queue
2022-04-28 21:16:44 +02:00
Macdu
b1427a4612
kernel: Make ThreadState resume thread safe
2022-04-28 02:00:29 +02:00
Zangetsu38
f298f955c1
modules/SceDisplay: Implement (Un)RegisterVblankStartCallback.
...
- add support of cb vblank function.
Co-authored-by: bookmist <roshst@yandex.ru>
2022-04-04 14:37:12 +02:00
sunho
f703e4a5e3
kernel: Fix callback execution.
2022-04-03 00:03:31 +02:00
bookmist
016f8ece12
kernel\thread, modules: fix TLS in callback calls
2022-04-01 06:22:11 +02:00
Zangetsu38
77fd8e8f78
project: run format.
2022-03-16 02:11:11 +01:00
pent0
c85b005db7
display: Attempt emulate vsync instead of relying on main thread.
2022-02-25 14:55:11 +01:00
CreepNT
79cca68372
modules/SceLibKernel: Add ring buffer-based message pipes.
...
- fix MsgPipe implementation.
- fix one kernel warning on ThreadDataQueue.
2022-02-20 22:07:12 +01:00
bookmist
dc7a8f8b1e
modules/SceKernelThreadMgr: fix pointer type
2021-12-23 13:25:44 +01:00
scribam
dabfb08f8a
Misc code quality fixes ( #1498 )
...
* clang-tidy: run modernize-use-equals-default
* clang-tidy: run modernize-use-override
* screen_render.h: remove redundant access specifier
2021-11-11 17:08:34 +01:00
Nicolas Jallamion
85cdbbf200
modules/SceKernelThreadMgr: stub sceKernel(Resume/Suspend)ThreadForVM. ( #1493 )
...
- Stub sceKernelGetThreadContextForVM.
- prepare sceKernelGmSetThreadContextForVM of futur implemênt.
Co-authored-by: sunho <ksunhokim123@naver.com>
Co-authored-by: sunho <ksunhokim123@naver.com>
2021-11-08 09:52:23 +01:00
Zangetsu38
bdfebfad58
modules/SceKernelThreadMgr: implement sceKernelGet(EventFlag/Cond)Info.
...
- move sceKernelCreateCond inside it and refactor sceKernelGetThreadInfo.
2021-11-06 12:27:47 +01:00
bookmist
532e13daa6
kernel/object_store: fix crash when try erase object no exist.
2021-11-06 10:04:18 +09:00
bookmist
9188447fce
modules/SceKernelThreadMgr: fix mutex deadlock and clean code of callback implementation
2021-11-05 20:16:32 +01:00
Zangetsu38
ce225b5733
modules/SceThreadmgr: Implement sceKernelGetSemaInfo.
...
- fix find callbackId and return error in few Callback function.
2021-11-05 20:14:24 +01:00
Zangetsu38
ce260f1c1f
modules/SceKernelModulemgr: Implement sceKernelStartModule.
...
modules: register nid and function of SceShellSvc libary.
2021-11-05 13:45:48 +01:00
CreepNT
e095ab06af
kernel: Add Callback object implementation.
...
- modules/SceKernelThreadMgr: add some callback function.
- build fixed by sunho
2021-11-04 19:18:51 +01:00
sunho
ffcaf0da26
Add missing virtual destructors
2021-10-17 13:07:15 +02:00
pent0
49cd19108c
kernel: Fix rare timeout deadlock
...
if both timeout and signal happens at the same time, the deadlock will happen, since the thread that ran the timeout try to accquire the primitive lock, while the thread signaling already has the primitive lock, and is trying to wait for threads in the queue to done releasing the lock, in order to change thread state
The array element will most likely be fine, since we have the exist check and the data is stack based
2021-09-19 21:17:46 +02:00
hobyst
168dfb19ca
Add license notice on source files which didn't have one
...
- Also updated the copyright notice year on all files to 2021
2021-08-19 23:14:27 +02:00
Taylor Whatley
1f439ee859
gui: fix missing atomic header
2021-07-14 02:48:47 +02:00
Zangetsu38
0acde9a6d3
gui/app context menu: Add time app used in information.
...
gui: refactor last loaded app.
- move cfg to new value.
2021-06-22 23:01:13 -07:00
sunho
8576b497a7
kernel: Pull out sysmem state from kernelstate
2021-06-01 14:20:05 +02:00
sunho
6c790558e0
Move load_self from host to kernel
2021-05-27 13:12:17 +02:00
sunho
57614cdcf0
kernel: Fix uninits
2021-05-27 19:32:31 +09:00
sunho
6a0caa1af1
kernel: Ignore some invalid process param
2021-05-27 04:04:17 +02:00
sunho
58617042c8
kernel: Implement stack arguments in guest function job
2021-05-27 01:56:07 +09:00
sunho
1a9aab4d44
kernel: ThreadState constructor
2021-05-27 01:56:07 +09:00
sunho
ac5ce30772
kernel: Fix waitthread regression
2021-05-26 10:32:02 +02:00
sunho
dcfdb2a01b
kernel: Rename thread functions and move thread runner out from thread.cpp
...
kernel: Fill init cpu context from kernel
kernel: Various style nits
2021-05-26 04:53:21 +02:00
MerryMage
965101eccb
debugger: Fix crash when update_watches is called without valid parent
...
Happens when Debug settings are configured prior to initialization of kernel
2021-05-25 09:45:52 +09:00
sunho
17bad14cf5
kernel: Add runClocks to thread info
2021-05-24 23:27:52 +02:00
sunho
11ddada291
kernel: Don't generate null uid
2021-05-24 23:27:52 +02:00
Zangetsu38
6ed1818ce8
Revert "kernel: Add missing lock"
...
This reverts commit 587db01986
.
2021-05-24 15:43:03 +02:00
sunho
68bb26a33f
kernel: Space efficient trampoline that modifies only one original instruction
2021-05-24 03:36:52 +02:00
sunho
d7e8275e8b
rtc: Use time since process starts
2021-05-24 03:36:52 +02:00
sunho
587db01986
kernel: Add missing lock
2021-05-24 03:36:52 +02:00
sunho
d2e676c970
kernel: Add stack traceback
2021-05-24 03:36:52 +02:00