Commit graph

45 commits

Author SHA1 Message Date
Macdu
9889c472a9 kernel: better handling of thread priority and mask affinity 2022-05-25 15:23:21 +03:00
Macdu
3c221fdc5b kernel: Implement RWLock 2022-05-16 20:23:05 +02:00
Zangetsu38
9c224e3358 modules/SceThreadmgr: using callback of sceKernelWaitSemaCB. 2022-05-02 21:41:05 +02:00
Macdu
7e7ad01dcb modules/SceKernelThreadMgr: Handle null workarea for _sceKernelDeleteLwMutex 2022-04-19 01:36:50 +02:00
sunho
f703e4a5e3 kernel: Fix callback execution. 2022-04-03 00:03:31 +02:00
Zangetsu38
77fd8e8f78 project: run format. 2022-03-16 02:11:11 +01:00
bookmist
dc7a8f8b1e modules/SceKernelThreadMgr: fix pointer type 2021-12-23 13:25:44 +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
sunho
563e7575d1 kernel: Fix race condition in kernel callback 2021-11-07 07:24:56 +09: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
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
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
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
sunho
1a9aab4d44 kernel: ThreadState constructor 2021-05-27 01:56:07 +09: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
sunho
c6790fa021 kernel: Merge thread state and functions & fix gdb 2021-05-22 21:12:11 +02:00
sunho
7d6d79c399 kernel: Merge state and functions 2021-05-19 11:36:18 +09:00
sunho
c6a20fc894 kernel: Redesign guest function calling 2021-05-18 03:18:25 +09:00
sunho
634e2ddb22 kernel: Remove hacks in thread signal and simpify it 2021-05-16 01:38:29 +02:00
sunho
73419cfd10 kernel: Add checks in _sceKernelStartThread 2021-05-11 07:03:12 +02:00
sunho
76a351e770 kernel: Correct copying data to stack in startthread 2021-05-10 17:21:33 +02:00
sunho
d9018c0965 kernel: Add null checks 2021-05-09 12:54:54 +02:00
sunho
20677bee52 kernel: Refactor handling of exiting thread 2021-05-08 14:34:20 +02:00
sunho
f76f2f2c39 cpu: Fix dynarmic exclusive instructions, halting, breakpoint, stepping
kernel: Refactor CPUDepInject
config: Add dynarmic_cpu option
2021-05-08 14:34:20 +02:00
sunho
2d60b18522 kernel: Implement MsgPipe 2021-05-04 17:05:28 +02:00
sunho
c10e4d0b8e mem: Add Block class 2021-05-01 19:18:53 +09:00
sunho
fa7c84a43f kernel: Add ThreadDataQueue 2021-05-01 11:16:19 +09:00
bookmist
9c74668af4 kernel. TLS init fix, GetThreadInfo thread stack fix 2021-04-26 02:02:17 +02:00
Zangetsu38
61c1a077a2 modules: Add some nids and funtions for new kernel library.
- relate modules SceKernelThreadMgr, SceProcessmgr, SceSysmem, ScePaf.
2021-04-16 14:07:05 +02:00
Francisco José García García
8411642fb1 modules/Sce(LibKernel/Threadmgr): Implement some event function.
Co-authored-by: Zangetsu38 <Dante38@free.fr>
2021-03-03 13:33:17 +01:00
Pedro Montes Alcalde
100a7a6bfe
vita3k: Some refactor on compiler warnings (#1170) 2021-02-22 15:59:47 +01:00
Pedro Montes Alcalde
560a3f6749
Add missing checks in draw precomputed and lock lw mutex (#1169) 2021-02-22 03:12:23 +01:00
bookmist
7a17f83b6a modules/sceLibKernel: _sceKernelGetThreadInfo. fix stack pointer 2021-02-17 08:36:18 +01:00
bookmist
c74a5c7d20 modules/SceLibKernel,SceThreadmgr: sceKernelGetLwMutexInfo, sceKernelGetLwMutexInfoById, _sceKernelGetLwMutexInfoById implemented 2021-01-30 03:05:57 +01:00
Francisco José García García
4738ce7d90 thread: move and implement some functions to SceThreadmgr. 2021-01-25 15:49:21 +01:00
Zangetsu38
4c91313273 modules/SceAppMgrUser,SceDisplayUser & SceRtc/SceRtcUser: move all function inside kernel modules. 2021-01-25 15:49:21 +01:00
scribam
296203fbf7 modules: sync with latest vita-headers/db.yml 2020-12-04 17:47:43 +01:00
sunho
69cfb81b7f kernel: implement sceKernelClearEventFlag 2020-10-31 16:48:56 +09:00
Sunho Kim
e2c331c18a SceKernel: implement sceKernelPollSema
(cherry picked from commit 0cf0d538c379876653018603089d6ccadc080c3d)
2020-06-21 22:34:23 +03:00
Sunho Kim
ed06af8354 kernel: implement sceKernelSendSignal and sceKernelWaitSignal 2020-06-13 09:16:33 +02:00
1whatleytay
34a02553c4
vita3k: remove vita-headers (#649) 2020-02-06 09:44:49 -05:00
Zangetsu38
ba41e627c2 all: Format project 2020-01-12 22:35:27 -05:00
Taylor Whatley
6463b34cc1 modules: implement avcdec and yuv format 2019-12-22 00:15:36 -05:00
Nicolas Jallamion
06299de242 emulator: Refactor file structure (#557)
Also:
- external: update some submodules.
2019-08-28 16:52:07 +03:00