| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | Kernel/Semaphore: Fixed a regression in semaphore waits. | 2017-01-05 | 1 | -1/+2 | ||
| | |/ / / | | | | | | | | | | | | | | | | | | | | | The regression was caused by a missing check in #2260. The new behavior is consistent with the real kernel. | |||||
| * | | | | Kernel: Fix SharedMemory objects always returning error when addr = 0 (#2404) | 2017-01-06 | 1 | -1/+5 | ||
| | | | | | | | | | | | | | Closes #2400 | |||||
| * | | | | Merge pull request #2408 from Subv/priority_boosting | 2017-01-06 | 1 | -27/+0 | ||
| |\ \ \ \ | | | | | | | | | | | Kernel: Removed the priority boost code for starved threads. | |||||
| | * | | | | Kernel: Removed the priority boost code for starved threads. | 2017-01-05 | 1 | -27/+0 | ||
| | |/ / / | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * / / / | Kernel: Remove some unused functions. | 2017-01-05 | 2 | -32/+0 | ||
| |/ / / | ||||||
| * | | | Merge pull request #2393 from Subv/synch | 2017-01-05 | 17 | -159/+221 | ||
| |\ \ \ | | | | | | | | | Kernel: Mutex priority inheritance and synchronization improvements. | |||||
| | * | | | Kernel: Add some asserts to enforce the invariants in the scheduler. | 2017-01-05 | 2 | -2/+13 | ||
| | | | | | ||||||
| | * | | | Kernel: Remove a thread from all of its waiting objects' waiting_threads ↵ | 2017-01-05 | 1 | -18/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | list when it is awoken. 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 | |||||
| | * | | | Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all ↵ | 2017-01-05 | 4 | -21/+22 | ||
| | | | | | | | | | | | | | | | | | the objects that a thread is waiting on. | |||||
| | * | | | Kernel: Use different thread statuses when a thread calls ↵ | 2017-01-04 | 3 | -16/+20 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| | * | | | Kernel/Mutex: Propagate thread priority changes to other threads inheriting ↵ | 2017-01-04 | 5 | -42/+60 | ||
| | | | | | | | | | | | | | | | | | the priority via mutexes | |||||
| | * | | | Kernel/Mutex: Update a mutex priority when a thread stops waiting on it. | 2017-01-04 | 5 | -24/+42 | ||
| | | | | | ||||||
| | * | | | Kernel/Mutex: Implemented priority inheritance. | 2017-01-04 | 5 | -31/+51 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| | * | | | Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter. | 2017-01-04 | 17 | -68/+56 | ||
| | | | | | | | | | | | | | | | | | This will be useful when implementing mutex priority inheritance. | |||||
| | * | | | Kernel/Synch: Do not attempt a reschedule on every syscall. | 2017-01-04 | 2 | -2/+18 | ||
| | | |/ | |/| | | | | | | | Not all syscalls should cause reschedules, this commit attempts to remedy that, however, it still does not cover all cases. | |||||
| * | | | Fix some warnings (#2399) | 2017-01-04 | 7 | -15/+8 | ||
| | | | | ||||||
| * | | | Service/NFC: stub GetTagInRangeEvent | 2016-12-30 | 5 | -0/+42 | ||
| |/ / | | | | | | | Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge | |||||
| * | | Merge pull request #2240 from wwylele/auto-region | 2016-12-29 | 5 | -2/+91 | ||
| |\ \ | | | | | | | Config: auto-select region and language | |||||
| | * | | Config: auto-select region and language | 2016-12-07 | 5 | -2/+91 | ||
| | | | | ||||||
| * | | | Core: remove unused hle.cpp | 2016-12-27 | 1 | -58/+0 | ||
| | | | | ||||||
| * | | | Core: reset cpu_core in Shutdown to make IsPoweredOn work properly | 2016-12-24 | 1 | -0/+1 | ||
| | |/ |/| | ||||||
| * | | core: Move emu_window and key_map into core | 2016-12-23 | 7 | -2/+648 | ||
| | | | | | | | | | * Removes circular dependences (common should not depend on core) | |||||
| * | | Service/NWM: add nwm services | 2016-12-22 | 18 | -10/+317 | ||
| | | | ||||||
| * | | Merge pull request #2366 from MerryMage/MemoryReadCode | 2016-12-22 | 1 | -0/+1 | ||
| |\ \ | | | | | | | arm_dynarmic: Provide MemoryReadCode callback | |||||
| | * | | arm_dynarmic: Provide MemoryReadCode callback | 2016-12-22 | 1 | -0/+1 | ||
| | | | | | | | | | | | | | Change of interface in dynarmic 36082087ded632079b16d24137fdd0c450ce82ea | |||||
| * | | | Merge pull request #2343 from bunnei/core-cleanup | 2016-12-22 | 32 | -407/+377 | ||
| |\ \ \ | |/ / |/| | | Core: Top-level consolidate & misc cleanup | |||||
| | * | | ThreadContext: Move from "core" to "arm_interface". | 2016-12-22 | 8 | -37/+26 | ||
| | | | | ||||||
| | * | | core: Replace "AppCore" nomenclature with just "CPU". | 2016-12-22 | 8 | -93/+91 | ||
| | | | | ||||||
| | * | | Address clang-format issues. | 2016-12-21 | 6 | -32/+33 | ||
| | | | | ||||||
| | * | | core: Remove HLE module, consolidate code & various cleanups. | 2016-12-21 | 19 | -107/+94 | ||
| | | | | ||||||
| | * | | core: Consolidate core and system state, remove system module & cleanups. | 2016-12-21 | 12 | -311/+264 | ||
| | | | | ||||||
| | * | | core: Consolidate top-level system state into a singleton. | 2016-12-21 | 2 | -23/+120 | ||
| | | | | ||||||
| | * | | loader: Remove duplicate docstrings. | 2016-12-21 | 3 | -56/+0 | ||
| | | | | ||||||
| * | | | Merge pull request #2285 from mailwl/csnd-format | 2016-12-22 | 2 | -49/+92 | ||
| |\ \ \ | |/ / |/| | | csnd:SND: Reformat source code | |||||
| | * | | csnd:SND reformat source code | 2016-12-12 | 2 | -49/+92 | ||
| | | | | ||||||
| * | | | Revert "Memory: Always flush whole pages from surface cache" | 2016-12-17 | 1 | -10/+0 | ||
| | | | | ||||||
| * | | | Thread: remove the thread from the thread list when exiting | 2016-12-17 | 3 | -3/+15 | ||
| | | | | ||||||
| * | | | Merge pull request #2337 from lioncash/gdb | 2016-12-16 | 1 | -9/+8 | ||
| |\ \ \ | | | | | | | | | gdbstub: const correctness changes | |||||
| | * | | | gdbstub: const correctness changes | 2016-12-16 | 1 | -9/+8 | ||
| | | | | | | | | | | | | | | | | | Also uses size_t as the length indicator type, as is common with buffers. | |||||
| * | | | | Merge pull request #2322 from MerryMage/ctx-mnu | 2016-12-16 | 5 | -0/+35 | ||
| |\ \ \ \ | | | | | | | | | | | game_list: Add a context menu with "Open Save Location" option | |||||
| | * | | | | loader: Implement ReadProgramId | 2016-12-15 | 3 | -0/+28 | ||
| | | | | | | ||||||
| | * | | | | archive_source_sd_savedata: Add static method to get a specific save data path | 2016-12-15 | 2 | -0/+7 | ||
| | | | | | | ||||||
| * | | | | | Kernel: remove object's waiting thread if it is dead | 2016-12-16 | 1 | -1/+2 | ||
| | |/ / / |/| | | | ||||||
| * | | | | Merge pull request #2260 from Subv/scheduling | 2016-12-16 | 7 | -195/+209 | ||
| |\ \ \ \ | | | | | | | | | | | Threading: Reworked the way our scheduler works. | |||||
| | * | | | | Fixed the codestyle to match our clang-format rules. | 2016-12-14 | 3 | -27/+39 | ||
| | | | | | | ||||||
| | * | | | | Properly remove a thread from its wait_objects' waitlist when it is awoken ↵ | 2016-12-10 | 3 | -2/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | by a timeout. | |||||
| | * | | | | WaitSynch: Removed unused variables and reduced SharedPtr copies. | 2016-12-09 | 4 | -73/+56 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define a variable with the value of the sync timeout error code. Use a boost::flat_map instead of an unordered_map to hold the equivalence of objects and wait indices in a WaitSynchN call. | |||||
| | * | | | | Use boost remove_erase_if instead of the erase-remove idiom | 2016-12-06 | 1 | -2/+3 | ||
| | | | | | | ||||||
| | * | | | | Improved the algorithm for GetHighestPriorityReadyThread. | 2016-12-06 | 1 | -14/+13 | ||
| | | | | | | ||||||
| | * | | | | Threading: Added some utility functions and const correctness. | 2016-12-04 | 3 | -15/+35 | ||
| | | | | | | ||||||