ryujinx/Ryujinx.HLE/HOS/Kernel/Threading
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
..
ArbitrationType.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
KAddressArbiter.cs Update KAddressArbiter implementation to 11.x kernel (#1851) 2021-01-01 14:59:26 -03:00
KConditionVariable.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KCriticalSection.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KEvent.cs Move kernel state out of the Horizon class (#1107) 2020-05-04 13:41:29 +10:00
KPriorityQueue.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KReadableEvent.cs Move kernel state out of the Horizon class (#1107) 2020-05-04 13:41:29 +10:00
KScheduler.cs kernel: Implement thread pinning support (#2840) 2021-12-30 10:55:06 +01:00
KSynchronization.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KThread.cs kernel: Implement thread pinning support (#2840) 2021-12-30 10:55:06 +01:00
KThreadContext.cs Rewrite scheduler context switch code (#1786) 2020-12-09 19:20:05 -03:00
KWritableEvent.cs Move kernel state out of the Horizon class (#1107) 2020-05-04 13:41:29 +10:00
SignalType.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00
ThreadSchedState.cs kernel: Implement thread pinning support (#2840) 2021-12-30 10:55:06 +01:00
ThreadType.cs Refactor SVC handler (#540) 2018-12-18 03:33:36 -02:00