Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CPU_Manager: Unload/Reload threads on preemption on SingleCore | Fernando Sahmkow | 2020-06-27 | 1 | -0/+10 |
| | |||||
* | Kernel: Fixes, corrections and asserts to scheduler and different svcs. | Fernando Sahmkow | 2020-06-27 | 1 | -2/+3 |
| | |||||
* | Scheduler: Release old thread fiber before trying to switch to the next thread fiber. | Fernando Sahmkow | 2020-06-27 | 1 | -0/+9 |
| | |||||
* | Kernel: Corrections to Scheduling. | Fernando Sahmkow | 2020-06-27 | 1 | -0/+2 |
| | |||||
* | General: Add Asserts | Fernando Sahmkow | 2020-06-27 | 1 | -0/+1 |
| | |||||
* | SVC: Correct SendSyncRequest. | Fernando Sahmkow | 2020-06-27 | 1 | -0/+2 |
| | |||||
* | General: Recover Prometheus project from harddrive failure | Fernando Sahmkow | 2020-06-27 | 1 | -38/+56 |
| | | | | | | | 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: Implement separate A32/A64 ARM interfaces. | bunnei | 2020-03-03 | 1 | -2/+1 |
| | |||||
* | Kernel: Address Feedback. | Fernando Sahmkow | 2020-02-22 | 1 | -4/+4 |
| | |||||
* | Kernel: Implement Scheduler locks | Fernando Sahmkow | 2020-02-22 | 1 | -0/+41 |
| | |||||
* | Kernel: Make global scheduler depend on KernelCore | Fernando Sahmkow | 2020-02-22 | 1 | -2/+3 |
| | |||||
* | Core: Set all hardware emulation constants in a single file. | Fernando Sahmkow | 2020-02-12 | 1 | -6/+7 |
| | |||||
* | kernel: Remove unnecessary includes | Lioncash | 2019-12-08 | 1 | -2/+3 |
| | | | | | | Over the course of the changes to the kernel code, a few includes are no longer necessary, particularly with the change over to std::shared_ptr from Boost's intrusive_ptr. | ||||
* | kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154) | bunnei | 2019-11-25 | 1 | -6/+6 |
| | | | | | | * kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details. | ||||
* | kernel: Resolve sign conversion warnings | Lioncash | 2019-11-12 | 1 | -18/+18 |
| | | | | | | | | | Uncovered a bug within Thread's SetCoreAndAffinityMask() where an unsigned variable (ideal_core) was being compared against "< 0", which would always be a false condition. We can also get rid of an unused function (GetNextProcessorId) which contained a sign mismatch warning. | ||||
* | scheduler: Mark parameter of AskForReselectionOrMarkRedundant() as const | Lioncash | 2019-10-28 | 1 | -1/+1 |
| | | | | This is only compared against, so it can be made const. | ||||
* | scheduler: Initialize class members directly where applicable | Lioncash | 2019-10-28 | 1 | -1/+1 |
| | | | | Reduces the overall amount of code. | ||||
* | scheduler: Amend documentation comments | Lioncash | 2019-10-28 | 1 | -46/+59 |
| | | | | | Adjusts the formatting of a few of the comments an ensures they get recognized as proper Doxygen comments. | ||||
* | Kernel: Address Feedback. | Fernando Sahmkow | 2019-10-15 | 1 | -41/+24 |
| | |||||
* | Kernel Scheduler: Make sure the global scheduler shutdowns correctly. | Fernando Sahmkow | 2019-10-15 | 1 | -0/+7 |
| | |||||
* | Scheduler: Corrections to YieldAndBalanceLoad and Yield bombing protection. | Fernando Sahmkow | 2019-10-15 | 1 | -1/+1 |
| | |||||
* | Kernel: Initial implementation of thread preemption. | Fernando Sahmkow | 2019-10-15 | 1 | -0/+4 |
| | |||||
* | Scheduler: Add protections for Yield bombing | Fernando Sahmkow | 2019-10-15 | 1 | -4/+4 |
| | | | | | | In case of redundant yields, the scheduler will now idle the core for it's timeslice, in order to avoid continuously yielding the same thing over and over. | ||||
* | Kernel: Style and Corrections | Fernando Sahmkow | 2019-10-15 | 1 | -22/+31 |
| | |||||
* | Comment and reorganize the scheduler | Fernando Sahmkow | 2019-10-15 | 1 | -5/+33 |
| | |||||
* | Implement a new Core Scheduler | Fernando Sahmkow | 2019-10-15 | 1 | -103/+117 |
| | |||||
* | kernel/scheduler: Remove unused parameter to AddThread() | Lioncash | 2019-03-30 | 1 | -1/+1 |
| | | | | | This was made unused in b404fcdf1443b91ac9994c05ad1fe039fcd9675e, but the parameter itself wasn't removed. | ||||
* | Use MultiLevelQueue instead of old ThreadQueueList | Fernando Sahmkow | 2019-03-27 | 1 | -2/+2 |
| | |||||
* | kernel/scheduler: Pass in system instance in constructor | Lioncash | 2019-03-04 | 1 | -2/+4 |
| | | | | | | | | Avoids directly relying on the global system instance and instead makes an arbitrary system instance an explicit dependency on construction. This also allows removing dependencies on some global accessor functions as well. | ||||
* | scheduler: Only work steal higher priority threads from other cores | Zach Hilman | 2018-12-03 | 1 | -4/+1 |
| | |||||
* | scheduler: Add explanations for YieldWith and WithoutLoadBalancing | Zach Hilman | 2018-11-22 | 1 | -2/+68 |
| | |||||
* | svc: Implement yield types 0 and -1 | Zach Hilman | 2018-11-19 | 1 | -0/+6 |
| | |||||
* | svc: Implement svcGetInfo command 0xF0000002 | Lioncash | 2018-10-26 | 1 | -0/+19 |
| | | | | | | | | | | This retrieves: if (curr_thread == handle_thread) { result = total_thread_ticks + (hardware_tick_count - last_context_switch_ticks); } else if (curr_thread == handle_thread && sub_id == current_core_index) { result = hardware_tick_count - last_context_switch_ticks; } | ||||
* | kernel/scheduler: Take ARM_Interface instance by reference in the constructor | Lioncash | 2018-09-25 | 1 | -2/+2 |
| | | | | | It doesn't make sense to allow a scheduler to be constructed around a null pointer. | ||||
* | core: Namespace all code in the arm subdirectory under the Core namespace | Lioncash | 2018-08-25 | 1 | -2/+4 |
| | | | | Gets all of these types and interfaces out of the global namespace. | ||||
* | scheduler: Make HaveReadyThreads() a const member function | Lioncash | 2018-08-12 | 1 | -1/+1 |
| | | | | | This function doesn't modify instance state, so the const qualifier can be added to it. | ||||
* | kernel: Move object class to its own source files | Lioncash | 2018-08-02 | 1 | -0/+1 |
| | | | | | | General moving to keep kernel object types separate from the direct kernel code. Also essentially a preliminary cleanup before eliminating global kernel state in the kernel code. | ||||
* | kernel: Remove unnecessary includes | Lioncash | 2018-07-31 | 1 | -1/+2 |
| | | | | | Removes unnecessary direct dependencies in some headers and also gets rid of indirect dependencies that were being relied on to be included. | ||||
* | scheduler: Protect scheduling functions with a global mutex. | bunnei | 2018-05-11 | 1 | -0/+3 |
| | |||||
* | scheduler: Cleanup based on PR feedback. | bunnei | 2018-02-19 | 1 | -3/+2 |
| | |||||
* | kernel: Add Scheduler, which encapsulates the scheduling loading from Thread module. | bunnei | 2018-02-18 | 1 | -0/+74 |