| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-10-09 | loader: Various improvements for NSO/NRO loaders. | bunnei | |
| 2017-09-30 | kernel: Various threading fixes to support 64-bit addressing. | bunnei | |
| 2017-06-18 | ResultVal: Remove MoveFrom() | Yuri Kunde Schlesner | |
| Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue. | |||
| 2017-05-29 | Kernel: Move HandleTable to a separate file | Yuri Kunde Schlesner | |
| 2017-05-24 | Kernel: Centralize error definitions in errors.h | Yuri Kunde Schlesner | |
| 2017-01-11 | Threads: Check the process' resource limit for the max allowed priority when ↵ | Subv | |
| creating a thread and remove the priority clamping code. | |||
| 2017-01-11 | Thread: Added priority range checking to svcSetThreadPriority and removed ↵ | Subv | |
| priority clamping code from Thread::SetPriority. | |||
| 2017-01-06 | Merge pull request #2410 from Subv/sleepthread | bunnei | |
| Don't yield execution in SleepThread(0) if there are no available threads to run | |||
| 2017-01-06 | Merge pull request #2408 from Subv/priority_boosting | bunnei | |
| Kernel: Removed the priority boost code for starved threads. | |||
| 2017-01-05 | Kernel: Don't attempt to yield execution in SleepThread(0) if there are no ↵ | Subv | |
| available threads to run. With this we avoid an useless temporary deschedule of the current thread. | |||
| 2017-01-05 | Kernel: Remove some unused functions. | Subv | |
| 2017-01-05 | Kernel: Removed the priority boost code for starved threads. | Subv | |
| After hwtesting and reverse engineering the kernel, it was found that the CTROS scheduler performs no priority boosting for threads like this, although some other forms of scheduling priority-starved threads might take place. For example, it was found that hardware interrupts might cause low-priority threads to run if the CPU is preempted in the middle of an SVC handler that deschedules the current (high priority) thread before scheduling it again. | |||
| 2017-01-05 | Kernel: Add some asserts to enforce the invariants in the scheduler. | Subv | |
| 2017-01-05 | Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all ↵ | Subv | |
| the objects that a thread is waiting on. | |||
| 2017-01-04 | Kernel: Use different thread statuses when a thread calls ↵ | Subv | |
| WaitSynchronization1 and WaitSynchronizationN with wait_all = true. This commit removes the overly general THREADSTATUS_WAIT_SYNCH and replaces it with two more granular statuses: THREADSTATUS_WAIT_SYNCH_ANY when a thread waits on objects via WaitSynchronization1 or WaitSynchronizationN with wait_all = false. THREADSTATUS_WAIT_SYNCH_ALL when a thread waits on objects via WaitSynchronizationN with wait_all = true. | |||
| 2017-01-04 | Kernel/Mutex: Propagate thread priority changes to other threads inheriting ↵ | Subv | |
| the priority via mutexes | |||
| 2017-01-04 | Kernel/Mutex: Implemented priority inheritance. | Subv | |
| The implementation is based on reverse engineering of the 3DS's kernel. A mutex holder's priority will be temporarily boosted to the best priority among any threads that want to acquire any of its held mutexes. When the holder releases the mutex, it's priority will be boosted to the best priority among the threads that want to acquire any of its remaining held mutexes. | |||
| 2017-01-04 | Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter. | Subv | |
| This will be useful when implementing mutex priority inheritance. | |||
| 2016-12-22 | ThreadContext: Move from "core" to "arm_interface". | bunnei | |
| 2016-12-22 | core: Replace "AppCore" nomenclature with just "CPU". | bunnei | |
| 2016-12-21 | core: Remove HLE module, consolidate code & various cleanups. | bunnei | |
| 2016-12-21 | core: Consolidate core and system state, remove system module & cleanups. | bunnei | |
| 2016-12-17 | Thread: remove the thread from the thread list when exiting | wwylele | |
| 2016-12-10 | Properly remove a thread from its wait_objects' waitlist when it is awoken ↵ | Subv | |
| by a timeout. | |||
| 2016-12-03 | Threading: Reworked the way our scheduler works. | Subv | |
| Threads will now be awakened when the objects they're waiting on are signaled, instead of repeating the WaitSynchronization call every now and then. The scheduler is now called once after every SVC call, and once after a thread is awakened from sleep by its timeout callback. This new implementation is based off reverse-engineering of the real kernel. See https://gist.github.com/Subv/02f29bd9f1e5deb7aceea1e8f019c8f4 for a more detailed description of how the real kernel handles rescheduling. | |||
| 2016-10-20 | Fix typos | Ricardo de Almeida Gonzaga | |
| 2016-09-22 | implement wait tree widget | wwylele | |
| 2016-09-21 | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | |
| 2016-09-21 | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | |
| This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | |||
| 2016-09-18 | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | |
| 2016-09-18 | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | |
| 2016-09-15 | arm: ResetContext shouldn't be part of ARM_Interface. | bunnei | |
| 2016-06-28 | Merge pull request #1869 from wwylele/dont-be-lazy | Yuri Kunde Schlesner | |
| Switch context to the same thread if necessary | |||
| 2016-06-04 | Thread: update timeout when rerunning WaitSynch | wwylele | |
| 2016-05-30 | Switch context on the same thread if necessary | wwylele | |
| 2016-05-21 | Kernel/Thread: Remove use of Memory::GetPointer | MerryMage | |
| 2016-05-17 | Set fpscr for new threads | Jannik Vogel | |
| 2016-05-12 | Merge pull request #1695 from Subv/tls_alloc | bunnei | |
| Kernel/Threads: Dynamically allocate the TLS region for threads. | |||
| 2016-05-07 | Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE ↵ | Subv | |
| region of the linear heap. Each thread gets a 0x200-byte area from the 0x1000-sized page, when all 8 thread slots in a single page are used up, the kernel allocates a new page to hold another 8 entries. This is consistent with what the real kernel does. | |||
| 2016-03-21 | hle: Get rid of global access to g_reschedule | Lioncash | |
| This shouldn't be directly exposed if there's already a partial API that operates on it. We can just provide the rest of that API. | |||
| 2015-12-27 | SVC: Fixed ArbitrateAddress to behave as it does on hardware. | Subv | |
| This was verified with hwtests that i plan to upload later on. | |||
| 2015-11-30 | Kernel: Implement svcGetSystemInfo | Yuri Kunde Schlesner | |
| This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work with Citra. | |||
| 2015-10-06 | Silence -Wsign-compare warnings. | Rohit Nirmal | |
| 2015-08-16 | Kernel: Implement svcGetProcessInfo in a basic way | Yuri Kunde Schlesner | |
| This also adds some basic memory usage accounting. These two types are used by Super Smash Bros. during startup. | |||
| 2015-07-25 | dyncom: Rename armdefs.h to armstate.h | Lioncash | |
| 2015-07-20 | Kernel/Scheduling: Clean up a thread's wait_objects when its scheduled. | Subv | |
| They'll be reset if needed during the next svcWaitSynchronization call (if there's any pending) | |||
| 2015-07-17 | Ensure all kernel objects are released during shutdown | Yuri Kunde Schlesner | |
| This commit fixes several kernel object leaks. The most severe of them was threads not being removed from the private handle table used for CoreTiming events. This resulted in Threads never being released, which in turn held references to Process, causing CodeSets to never be freed when loading other applications. | |||
| 2015-06-16 | kernel: Fix svcWaitSynch to always acquire requested wait objects. | bunnei | |
| 2015-05-29 | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | |
| 2015-05-20 | Kernel: Move reschedules from SVCs to actual mechanisms that reschedule. | bunnei | |
