- Jan 18, 2017
-
-
Thomas Farr authored
As per devkitPro/3dstools@47bea18
-
- Jan 16, 2017
- Jan 14, 2017
-
-
mailwl authored
-
- Jan 11, 2017
- Jan 07, 2017
-
-
bunnei authored
-
- Jan 06, 2017
- Jan 05, 2017
-
-
Subv authored
-
Subv authored
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.
-
Subv authored
Closes #1904
-
Subv authored
The regression was caused by a missing check in #2260. The new behavior is consistent with the real kernel.
-
Subv authored
-
Subv authored
This fixes a potential bug where threads would not get removed from said list if they awoke after waiting with WaitSynchronizationN with wait_all = false
-
Subv authored
Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all the objects that a thread is waiting on.
-
- Jan 04, 2017
-
-
Subv authored
Kernel: Use different thread statuses when a thread calls 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.
-
Subv authored
Kernel/Mutex: Propagate thread priority changes to other threads inheriting the priority via mutexes
-
Subv authored
-
Subv authored
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.
-
Subv authored
This will be useful when implementing mutex priority inheritance.
-
Subv authored
Not all syscalls should cause reschedules, this commit attempts to remedy that, however, it still does not cover all cases.
-
Jonathan Hao authored
-
- Dec 30, 2016
- Dec 29, 2016
-
-
wwylele authored
-
- Dec 27, 2016
-
-
wwylele authored
-
- Dec 26, 2016
-
-
wwylele authored
-
- Dec 24, 2016
-
-
wwylele authored
-
- Dec 23, 2016
-
-
MerryMage authored
* Removes circular dependences (common should not depend on core)
-
- Dec 22, 2016