Ryujinx-uplift/Ryujinx.HLE/HOS/Kernel
Mary e96ef6d532
kernel: Implement thread pinning support (#2840)
* kernel: Implement Thread pinning support

This commit adds support for 8.x thread pinning changes and implement SynchronizePreemptionState syscall.

Based on kernel 13.x reverse.

* Address gdkchan's comment

* kernel: fix missing critical section leave in SetActivity

Fix Unity games

* Implement missing bits on the interrupt handler and inline update pinning function as it cannot be generic

* Fix some bugs in SetActivity and SetCoreAndAffinityMask

* Address gdkchan's comments
2021-12-30 10:55:06 +01:00
..
Common kernel: Fix sleep timing accuracy (#2828) 2021-11-28 13:15:26 +01:00
Ipc POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
Memory kernel: Clear pages allocated with SetHeapSize (#2776) 2021-10-24 18:52:59 -03:00
Process kernel: Implement thread pinning support (#2840) 2021-12-30 10:55:06 +01:00
SupervisorCall kernel: Implement thread pinning support (#2840) 2021-12-30 10:55:06 +01:00
Threading kernel: Implement thread pinning support (#2840) 2021-12-30 10:55:06 +01:00
KernelConstants.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KernelContext.cs POWER - Performance Optimizations With Extensive Ramifications (#2286) 2021-05-24 22:52:44 +02:00
KernelStatic.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00