summaryrefslogtreecommitdiffstats
path: root/src/core/cpu_manager.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common/fiber: make fibers easier to useLiam2022-07-021-8/+13
|
* core: fix initialization in single core, sync GPU modeLiam2022-06-171-0/+5
|
* kernel: implement KProcess suspensionLiam2022-06-141-13/+6
|
* CpuManager: simplify pausingLiam2022-06-091-8/+3
|
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-3/+2
| | | | | This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
* core: cpu_manager: Use jthread.bunnei2021-09-041-3/+3
|
* Revert "kernel: Various improvements to scheduler"bunnei2021-08-261-3/+3
|
* core: cpu_manager: Use jthread.bunnei2021-08-071-3/+3
|
* core: Make variable shadowing a compile-time errorLioncash2021-05-161-1/+1
| | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
* 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.