Commit Graph

14839 Commits

Author SHA1 Message Date
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
Fernando Sahmkow
04e3077659 Common/Fiber: Correct f_context based Fibers. 2020-06-04 16:51:53 -04:00
Fernando Sahmkow
3ce6df190b Host Timing: Correct clang format. 2020-06-04 16:51:52 -04:00
Fernando Sahmkow
b6f6495251 HostTiming: Correct rebase and implement AddTicks. 2020-06-04 16:51:52 -04:00
Fernando Sahmkow
f8655f4fee Core/HostTiming: Allow events to be advanced manually. 2020-06-04 16:51:51 -04:00
Fernando Sahmkow
a59d20a586 Common/Tests: Address Feedback 2020-06-04 16:51:50 -04:00
Fernando Sahmkow
ef0b49f420 Common: Make MinGW build use Windows Fibers instead of fcontext_t 2020-06-04 16:51:49 -04:00
Fernando Sahmkow
eb5ddff4b5 Common/Tests: Clang Format. 2020-06-04 16:51:49 -04:00
Fernando Sahmkow
fbd211a6be Common: Correct fcontext fibers. 2020-06-04 16:51:48 -04:00
Fernando Sahmkow
e1a2c6ba95 Common: Refactor & Document Wall clock. 2020-06-04 16:51:47 -04:00
Fernando Sahmkow
88283c4e1a Common: Implement WallClock Interface and implement a native clock for x64 2020-06-04 16:51:47 -04:00
Fernando Sahmkow
45d8f48e3c Tests: Add base tests to host timing 2020-06-04 16:51:46 -04:00
Fernando Sahmkow
929a88479b Core: Implement a Host Timer. 2020-06-04 16:51:46 -04:00
Fernando Sahmkow
f6e5692dae Common: Polish Fiber class, add comments, asserts and more tests. 2020-06-04 16:51:45 -04:00
Fernando Sahmkow
f33e42c770 Tests: Add tests for fibers and refactor/fix Fiber class 2020-06-04 16:51:44 -04:00
Fernando Sahmkow
fc788a13f1 Common: Implement a basic Fiber class. 2020-06-04 16:51:44 -04:00
Fernando Sahmkow
618a61071d Common: Implement a basic SpinLock class 2020-06-04 16:51:44 -04:00