1
0
This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
citra-canary/src/core/arm
Sebastian Valle 9ae37da292
Kernel/Process: Fixed scheduling multiple processes in the SysCore using Dynarmic (#5193)
* Kernel/Process: Notify the CPUs that a new pagetable has been set every time the process they're executing changes.

Previously the page table would only be changed when the current CPU's page table was changed, this lead to stale JIT states and the PC going to 0 when context-switching a different core inside the ThreadManager::SwitchContext function because the JIT for a new pagetable is only constructed upon receiving the change notification.

* Kernel/Process: Use the relevant CPU's last process to determine when to switch its current process.

Previously it was checking the kernel's current_process variable, which gets overwritten every time a CPU runs its slice. The rescheduling happens after all CPUs have run their slice so the code was effectively only checking the last CPU's process.
2020-04-15 14:35:19 +02:00
..
dynarmic Kernel/Process: Fixed scheduling multiple processes in the SysCore using Dynarmic (#5193) 2020-04-15 14:35:19 +02:00
dyncom Kernel/Process: Fixed scheduling multiple processes in the SysCore using Dynarmic (#5193) 2020-04-15 14:35:19 +02:00
skyeye_common Core timing 2.0 (#4913) 2020-02-21 19:31:32 +01:00
arm_interface.h Kernel/Process: Fixed scheduling multiple processes in the SysCore using Dynarmic (#5193) 2020-04-15 14:35:19 +02:00