Commit Graph

14855 Commits

Author SHA1 Message Date
Fernando Sahmkow
b2c283c80d Kernel: Fixes, corrections and asserts to scheduler and different svcs. 2020-06-04 16:53:01 -04:00
Fernando Sahmkow
05809e0faf Scheduler: Correct yields. 2020-06-04 16:53:00 -04:00
Fernando Sahmkow
12d3b542f2 Mutex: Revert workaround due to poor exclusive memory. 2020-06-04 16:52:59 -04:00
Fernando Sahmkow
ded21533ae ARM/Memory: Correct Exclusive Monitor and Implement Exclusive Memory Writes. 2020-06-04 16:52:59 -04:00
Fernando Sahmkow
2872041647 SVC: WaitSynchronization add Termination Pending Result. 2020-06-04 16:52:58 -04:00
Fernando Sahmkow
9818e76bf3 Scheduler: Remove arm_interface lock and a few corrections. 2020-06-04 16:52:58 -04:00
Fernando Sahmkow
97631eb155 Yuzu/Debuggers: Correct Wait Tree for Paused threads. 2020-06-04 16:52:57 -04:00
Fernando Sahmkow
599ef27cf0 SVC: Correct SetThreadActivity. 2020-06-04 16:52:56 -04:00
Fernando Sahmkow
adede5b07e SCC: Small corrections to CancelSynchronization 2020-06-04 16:52:56 -04:00
Fernando Sahmkow
940fb591b8 Scheduler: Correct locking for hle threads. 2020-06-04 16:52:55 -04:00
Fernando Sahmkow
9a98f56580 Scheduler: Fix HLE Threads on guard 2020-06-04 16:52:54 -04:00
Fernando Sahmkow
345710cc66 Scheduler: Protect on closed threads. 2020-06-04 16:52:54 -04:00
Fernando Sahmkow
074704806a Scheduler: Correct assert. 2020-06-04 16:52:53 -04:00
Fernando Sahmkow
27cef6fef5 Core: Correct rebase. 2020-06-04 16:52:52 -04:00
Fernando Sahmkow
b1b90f7926 Scheduler: Release old thread fiber before trying to switch to the next thread fiber. 2020-06-04 16:52:52 -04:00
Fernando Sahmkow
f0c6635921 NVDRV: Remove frame limiting as Host Timing already takes care. 2020-06-04 16:52:51 -04:00
Fernando Sahmkow
87a28a9b1a Mutex: Correct Result writting to clear exclusivity. 2020-06-04 16:52:51 -04:00
Fernando Sahmkow
955823442f SVC: Correct svcWaitForAddress and svcSignalToAddress. 2020-06-04 16:52:50 -04:00
Fernando Sahmkow
c574ad5f63 Scheduler: Correct Select Threads Step 2. 2020-06-04 16:52:49 -04:00
Fernando Sahmkow
8f67aa7e44 Kernel: Corrections to Scheduling. 2020-06-04 16:52:49 -04:00
Fernando Sahmkow
ddc7c342a2 Kernel: Correct Signal on Thread Death and Setup Sync Objects on Thread for Debugging 2020-06-04 16:52:48 -04:00
Fernando Sahmkow
2daf58437d Core: Correct HLE Event Callbacks and other issues. 2020-06-04 16:52:47 -04:00
Fernando Sahmkow
711e59036d Process: Protect TLS region and Modules. 2020-06-04 16:52:47 -04:00
Fernando Sahmkow
b5f150e4d3 General: Add Asserts 2020-06-04 16:52:46 -04:00
Fernando Sahmkow
e9174a2c0d General: Add better safety for JIT use. 2020-06-04 16:52:46 -04:00
Fernando Sahmkow
15a54c844d SVC: Correct races on physical core switching. 2020-06-04 16:52:45 -04:00
Fernando Sahmkow
6ae71376f3 NVFlinger: Lock race condition between CPU, Host Timing, VSync. 2020-06-04 16:52:44 -04:00
Fernando Sahmkow
4df9cec67c SVC: Add locks to the memory management. 2020-06-04 16:52:44 -04:00
Fernando Sahmkow
90f63c0f87 SVC: Correct WaitSynchronization, WaitProcessWideKey, SignalProcessWideKey. 2020-06-04 16:52:43 -04:00
Fernando Sahmkow
9aa352dafa SVC: Cleanup old methods. 2020-06-04 16:52:42 -04:00
Fernando Sahmkow
1400998bfa CPU_Manager: Reconfigre guest threads for dynamrmic downsides 2020-06-04 16:52:41 -04:00
Fernando Sahmkow
666e7033e7 SVC: Correct SendSyncRequest. 2020-06-04 16:52:41 -04:00
Fernando Sahmkow
25455d9926 SVC: Correct ArbitrateUnlock 2020-06-04 16:52:40 -04:00
Fernando Sahmkow
beb8887db8 SVC: Correct SignalEvent, ClearEvent, ResetSignal, WaitSynchronization, CancelSynchronization, ArbitrateLock 2020-06-04 16:52:39 -04:00
Fernando Sahmkow
2dded4e40b SVC: Remove global HLE Lock. 2020-06-04 16:52:38 -04:00
Fernando Sahmkow
e9fe507da9 SVC: Correct GetThreadPriority, SetThreadPriority, GetThreadCoreMask, SetThreadCoreMask, GetCurrentProcessorNumber 2020-06-04 16:52:38 -04:00
Fernando Sahmkow
12f69fa598 SVC: Correct CreateThread, StartThread, ExitThread, SleepThread. 2020-06-04 16:52:37 -04:00
Fernando Sahmkow
52f469b266 HostTiming: Pause the hardware clock on pause. 2020-06-04 16:52:36 -04:00
Fernando Sahmkow
c482d3c849 AudioCore: Use nanoseconds instead of cycles for buffer time. 2020-06-04 16:52:36 -04:00
Fernando Sahmkow
69d043490e General: Setup yuzu threads' microprofile, naming and registry. 2020-06-04 16:52:35 -04:00
Fernando Sahmkow
35f68628f2 CPU_Manager: remove debugging code. 2020-06-04 16:52:35 -04:00
Fernando Sahmkow
8af7539cba YuzuCMD/Tester: Correct execution 2020-06-04 16:52:34 -04:00
Fernando Sahmkow
1c1a5a3401 General: Recover Prometheus project from harddrive failure
This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host 
Timing, Reworks the Kernel's Scheduler, Introduce Idle State and 
Suspended State, Recreates the bootmanager, Initializes Multicore 
system.
2020-06-04 16:52:33 -04:00
Fernando Sahmkow
8a45acb7e6 Tests/HostTiming: Correct GCC Compile error. 2020-06-04 16:51:57 -04:00
Fernando Sahmkow
1333be6f6d Common/Fiber: Address Feedback and Correct Memory leaks. 2020-06-04 16:51:56 -04:00
Fernando Sahmkow
74b23a849c Common/Fiber: Implement Rewind on Boost Context. 2020-06-04 16:51:56 -04:00
Fernando Sahmkow
63ec12c83e Common/uint128: Correct MSVC Compilation in old versions. 2020-06-04 16:51:55 -04:00
Fernando Sahmkow
d99ce728ee Common/Fiber: Document fiber interexchange. 2020-06-04 16:51:54 -04:00
Fernando Sahmkow
cc19edfd56 Common/Fiber: Implement Rewinding. 2020-06-04 16:51:54 -04:00
Fernando Sahmkow
cb021f6a71 Common/Fiber: Additional corrections to f_context. 2020-06-04 16:51:53 -04:00