sunho
3550d37253
kernel: Add hook-before-original trampoline
2021-05-22 21:12:11 +02:00
sunho
c6790fa021
kernel: Merge thread state and functions & fix gdb
2021-05-22 21:12:11 +02:00
sunho
be53a21f2f
kernel: Polish trampoline injection
2021-05-19 11:36:18 +09:00
sunho
7d6d79c399
kernel: Merge state and functions
2021-05-19 11:36:18 +09:00
sunho
d5f4b954fc
kerenl: Implement trampoline injection
...
kernel: Move debugging helpers to one place
2021-05-19 11:36:18 +09:00
sunho
33f9f4ef5b
kernel: Factor common thread logic to functions
2021-05-18 03:18:25 +09:00
sunho
c6a20fc894
kernel: Redesign guest function calling
2021-05-18 03:18:25 +09:00
sunho
3921ada1f2
kernel: Move cpu protocol to kernel
2021-05-18 03:18:25 +09:00
MerryMage
7e7f1b3b88
Add option to enable/disable CPU optimizations
2021-05-17 01:31:52 +02:00
sunho
e84d5e3c16
kernel: Free core num on self deleting thread
2021-05-17 00:23:06 +02:00
sunho
08fd88e72d
kernel: Give thread stack to no context fiber properly
2021-05-16 01:38:29 +02:00
sunho
634e2ddb22
kernel: Remove hacks in thread signal and simpify it
2021-05-16 01:38:29 +02:00
pent0
01e9a3be1e
cpu: Support different processor id.
...
kernel: Support exclusive monitor for CPU pool, add core number allocation.
2021-05-15 18:31:12 +02:00
pent0
6fdc28270b
kernel: Fix CPU pool initialisation not using exclusive monitor.
2021-05-15 18:31:12 +02:00
bookmist
8ebefa4935
kernel, load_self: Another fix for empty tls
2021-05-14 20:57:47 +02:00
sunho
0c032620a7
kernel: Correct default priority and priority order in queue
2021-05-14 12:23:12 +02:00
bookmist
3121086434
kernel, load_self: Fix for empty tls
2021-05-14 12:20:59 +02:00
Zangetsu38
b8daf98d8e
settings_dialog: Add support cpu backend for custom config.
...
main menu bar: Add custom support for app running.
- Set also other config inside custom setting.
2021-05-13 21:27:38 +02:00
sunho
9b482c9375
kernel: Reimplement SceFiber
2021-05-13 14:25:31 +02:00
sunho
eeab2c1e93
kernel: Fix semaphore
2021-05-12 20:02:09 +02:00
sunho
1b9715c916
kernel: Align size of copied argp
2021-05-11 07:03:12 +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
1e96724d45
kernel: Pull out avplayer,auidodev,videodec,fiber state
...
kernel: Add ObjectStore
modules: Support library init function
modules: Pull out cpu_protocol
vita3k: Rename .h -> .inc
io: Remove unneccesary base_tick argument
cmake: Folderify modules and kernel
2021-05-09 19:47:59 +02:00
bookmist
05618b1464
kernel: Fix bug and memory leak in thread local storages.
2021-05-09 17:35:36 +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
d506bc8edc
kernel: Remove useless assert
2021-05-04 17:05:28 +02:00
sunho
65e243f098
kernel: Fix incorrect flag check
2021-05-04 17:05:28 +02:00
sunho
2d60b18522
kernel: Implement MsgPipe
2021-05-04 17:05:28 +02:00
sunho
364a15efad
kernel: Swap thread.cpu
2021-05-03 14:51:13 +02:00
sunho
8972833f82
kernel: Fix gdb
2021-05-03 14:51:13 +02:00
sunho
41f084e5c1
cpu: Rework cpu & thread code base
...
1. CPU Abstraction
2. More readable, accurate, intuitive thread execution loop
3. Eliminate weird unintuitive callback flag in thread function
4. Use halt instruction to return control to host
5. More accurate context
6. Correctly implement float registers
7. Add basic dynarmic cpu implementation
2021-05-03 14:51:13 +02:00
sunho
c10e4d0b8e
mem: Add Block class
2021-05-01 19:18:53 +09:00
sunho
4a0f35abda
kernel: Add missing template type
2021-05-01 11:16:19 +09:00
sunho
fa7c84a43f
kernel: Add ThreadDataQueue
2021-05-01 11:16:19 +09:00
sunho
13f7a8d423
kernel: Remove waiting_threads from SyncPrimitive
2021-05-01 11:16:19 +09:00
sunho
0c51726e68
kernel: Tidy event flag wait
2021-05-01 11:16:19 +09:00
sunho
4b1b1def0b
kernel: Fix condvar signal
2021-05-01 11:16:19 +09:00
sunho
e37cfa101b
kernel: Use set instead of heap for priority queue
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
sunho
bc11cee273
thread: Log thread id at breakpoint
2021-04-25 23:51:58 +02:00
sunho
225c454755
kernel: Fix event flag wait infinite loop
2021-04-25 23:51:58 +02:00
sunho
05cbb938cc
gdb: Toggle gdbstub with config file
2021-04-25 05:56:02 +02:00
totlmstr
024b71285f
mem: split mem.h
2021-04-12 17:32:23 +02:00
scribam
cecc44cba4
kernel: Update SceKernelSegmentInfo/SceKernelModuleInfo structures ( #1213 )
2021-04-04 22:36:57 +02:00
bookmist
892f88cbff
kernel: callback from callback fix
2021-03-29 01:15:30 +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