summaryrefslogtreecommitdiffstats
path: root/src/core/cpu_manager.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: Resolve misc cases of variable shadowingLioncash2021-05-031-4/+4
| | | | | | | | | 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).
* Revert "core: Switch to unique_ptr for usage of Common::Fiber."bunnei2021-03-061-1/+1
|
* core: Switch to unique_ptr for usage of Common::Fiber.bunnei2021-02-271-1/+1
| | | | | - 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.
* cpu_manager: Mark function getters as staticLioncash2020-07-161-3/+3
| | | | | All these do are return std::function instances of static functions, so these can be used without an instance of the CPU manager.
* cpu_manager: Remove unused preemption_count variableLioncash2020-07-161-1/+0
| | | | Shrinks the data structure by 8 bytes.
* cpu_manager: Add missing includesLioncash2020-07-161-0/+3
| | | | | Previously this header was relying on indirect inclusions that are no longer satisfied.
* General: Correct rebase, sync gpu and context management.Fernando Sahmkow2020-06-271-7/+0
|
* SingleCore: Use Cycle Timing instead of Host Timing.Fernando Sahmkow2020-06-271-1/+1
|
* SingleCore: Move Host Timing from a sepparate thread to main cpu thread.Fernando Sahmkow2020-06-271-0/+1
|
* GUI: Make multicore only work with Async and add GUI for multicore.Fernando Sahmkow2020-06-271-0/+14
|
* Kernel: Preempt Single core on redudant yields.Fernando Sahmkow2020-06-271-2/+2
|
* CPU_Manager: Unload/Reload threads on preemption on SingleCoreFernando Sahmkow2020-06-271-2/+3
|
* General: Initial Setup for Single Core.Fernando Sahmkow2020-06-271-4/+26
|
* General: Add better safety for JIT use.Fernando Sahmkow2020-06-271-0/+2
|
* General: Recover Prometheus project from harddrive failure Fernando Sahmkow2020-06-271-12/+37
| | | | | | | 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.
* Core: Set all hardware emulation constants in a single file.Fernando Sahmkow2020-02-121-3/+2
|
* System: Address FeedbackFernando Sahmkow2020-01-271-2/+0
|
* Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.Fernando Sahmkow2020-01-261-0/+52
This commit instends on better naming the new purpose of this classes.