summaryrefslogtreecommitdiffstats
path: root/src/core/cpu_manager.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-15kernel: fix single-core preemption pointsLiam1-1/+0
2022-07-15kernel: fix issues with single core modeLiam1-7/+4
2022-07-15kernel: use KScheduler from mesosphereLiam1-4/+10
2022-07-02common/fiber: make fibers easier to useLiam1-8/+13
2022-06-17core: fix initialization in single core, sync GPU modeLiam1-0/+5
2022-06-14kernel: implement KProcess suspensionLiam1-13/+6
2022-06-09CpuManager: simplify pausingLiam1-8/+3
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-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.
2021-09-04core: cpu_manager: Use jthread.bunnei1-3/+3
2021-08-26Revert "kernel: Various improvements to scheduler"bunnei1-3/+3
2021-08-07core: cpu_manager: Use jthread.bunnei1-3/+3
2021-05-16core: Make variable shadowing a compile-time errorLioncash1-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.
2021-05-03core: Resolve misc cases of variable shadowingLioncash1-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).
2021-03-06Revert "core: Switch to unique_ptr for usage of Common::Fiber."bunnei1-1/+1
2021-02-27core: Switch to unique_ptr for usage of Common::Fiber.bunnei1-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.
2020-07-16cpu_manager: Mark function getters as staticLioncash1-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.
2020-07-16cpu_manager: Remove unused preemption_count variableLioncash1-1/+0
Shrinks the data structure by 8 bytes.
2020-07-16cpu_manager: Add missing includesLioncash1-0/+3
Previously this header was relying on indirect inclusions that are no longer satisfied.
2020-06-27General: Correct rebase, sync gpu and context management.Fernando Sahmkow1-7/+0
2020-06-27SingleCore: Use Cycle Timing instead of Host Timing.Fernando Sahmkow1-1/+1
2020-06-27SingleCore: Move Host Timing from a sepparate thread to main cpu thread.Fernando Sahmkow1-0/+1
2020-06-27GUI: Make multicore only work with Async and add GUI for multicore.Fernando Sahmkow1-0/+14
2020-06-27Kernel: Preempt Single core on redudant yields.Fernando Sahmkow1-2/+2
2020-06-27CPU_Manager: Unload/Reload threads on preemption on SingleCoreFernando Sahmkow1-2/+3
2020-06-27General: Initial Setup for Single Core.Fernando Sahmkow1-4/+26
2020-06-27General: Add better safety for JIT use.Fernando Sahmkow1-0/+2
2020-06-27General: Recover Prometheus project from harddrive failure Fernando Sahmkow1-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.
2020-02-12Core: Set all hardware emulation constants in a single file.Fernando Sahmkow1-3/+2
2020-01-27System: Address FeedbackFernando Sahmkow1-2/+0
2020-01-26Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.Fernando Sahmkow1-0/+52
This commit instends on better naming the new purpose of this classes.