Commit Graph

18 Commits (ebb64d5bf4c6a1b3e89e7addbd72ca310be7807b)

Author SHA1 Message Date
Lioncash ebb64d5bf4 core: Resolve misc cases of variable shadowing
Resolves shadowing warnings that aren't in a particularly large
subsection of core. Brings us closer to turning -Wshadow into an error.

All that remains now is for cases in the kernel (left untouched for now
since a big change by bunnei is pending), and a few left over in the
service code (will be tackled next).
4 years ago
bunnei a5ab85ac37
Revert "core: Switch to unique_ptr for usage of Common::Fiber." 4 years ago
bunnei 51fb0a6f96 core: Switch to unique_ptr for usage of Common::Fiber.
- With using unique_ptr instead of shared_ptr, we have more explicit ownership of the context.
- Fixes a memory leak due to circular reference of the shared pointer.
4 years ago
Lioncash f0125b2be8 cpu_manager: Mark function getters as static
All these do are return std::function instances of static functions, so
these can be used without an instance of the CPU manager.
5 years ago
Lioncash 51546ce57e cpu_manager: Remove unused preemption_count variable
Shrinks the data structure by 8 bytes.
5 years ago
Lioncash 201514cb50 cpu_manager: Add missing includes
Previously this header was relying on indirect inclusions that are no
longer satisfied.
5 years ago
Fernando Sahmkow ad92865497 General: Correct rebase, sync gpu and context management. 5 years ago
Fernando Sahmkow f5e32935ca SingleCore: Use Cycle Timing instead of Host Timing. 5 years ago
Fernando Sahmkow f2ade343e2 SingleCore: Move Host Timing from a sepparate thread to main cpu thread. 5 years ago
Fernando Sahmkow 5d3a2be04f GUI: Make multicore only work with Async and add GUI for multicore. 5 years ago
Fernando Sahmkow d494b074e8 Kernel: Preempt Single core on redudant yields. 5 years ago
Fernando Sahmkow a439cdf22e CPU_Manager: Unload/Reload threads on preemption on SingleCore 5 years ago
Fernando Sahmkow ab9aae28bf General: Initial Setup for Single Core. 5 years ago
Fernando Sahmkow 04e0f8776c General: Add better safety for JIT use. 5 years ago
Fernando Sahmkow e31425df38 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.
5 years ago
Fernando Sahmkow 1e6f8aba04 Core: Set all hardware emulation constants in a single file. 5 years ago
Fernando Sahmkow 2d1984c20c System: Address Feedback 5 years ago
Fernando Sahmkow e4a1ead897 Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.
This commit instends on better naming the new purpose of this classes.
5 years ago