aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-01-05Kernel: Add some asserts to enforce the invariants in the scheduler.Subv
2017-01-05Kernel: Remove a thread from all of its waiting objects' waiting_threads ↵Subv
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
2017-01-05Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all ↵Subv
the objects that a thread is waiting on.
2017-01-04Kernel: 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-04Kernel/Mutex: Propagate thread priority changes to other threads inheriting ↵Subv
the priority via mutexes
2017-01-04Kernel/Mutex: Update a mutex priority when a thread stops waiting on it.Subv
2017-01-04Kernel/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-04Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.Subv
This will be useful when implementing mutex priority inheritance.
2017-01-04Kernel/Synch: Do not attempt a reschedule on every syscall.Subv
Not all syscalls should cause reschedules, this commit attempts to remedy that, however, it still does not cover all cases.
2017-01-04Fix some warnings (#2399)Jonathan Hao
2017-01-03Merge pull request #2382 from mailwl/nfcYuri Kunde Schlesner
Service/NFC: stub GetTagInRangeEvent
2016-12-30fix comments alignmentLectem
2016-12-30Merge pull request #2386 from bunnei/fix-bg-colorSebastian Valle
config: SDL: Move background color setting to correct section.
2016-12-30Service/NFC: stub GetTagInRangeEventmailwl
Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge
2016-12-30Service/AC: add ac:i servicemailwl
2016-12-30config: SDL: Move background color setting to correct section.bunnei
2016-12-29Merge pull request #2240 from wwylele/auto-regionbunnei
Config: auto-select region and language
2016-12-29Frontend: make motion sensor interfaced thread-safewwylele
2016-12-29Merge pull request #2367 from JayFoxRox/lighting-lut-quickfixbunnei
Lighting LUT Quickfix
2016-12-27Core: remove unused hle.cppwwylele
2016-12-26move Pop methods out of class bodyLectem
2016-12-26IPC helpers exampleLectem
2016-12-26IPC helpersLectem
2016-12-26Frontend: emulate motion sensorwwylele
2016-12-26Common: add Quaternionwwylele
2016-12-26vector math: add implementation of Length and Normalizewwylele
2016-12-26MathUtil: add PI constantwwylele
2016-12-26Common::Event: add WaitUntilwwylele
2016-12-25Minor cleanup in GLSL codeJannik Vogel
2016-12-25Offset lighting LUT samples correctlyJannik Vogel
2016-12-24Core: reset cpu_core in Shutdown to make IsPoweredOn work properlywwylele
2016-12-23Merge pull request #2369 from MerryMage/core-frontendbunnei
core: Move emu_window and key_map into core
2016-12-23Merge pull request #2370 from wwylele/where-is-my-shared-fontYuri Kunde Schlesner
file_util: fix missing sysdata path
2016-12-23file_util: fix missing sysdata pathwwylele
2016-12-23core: Move emu_window and key_map into coreMerryMage
* Removes circular dependences (common should not depend on core)
2016-12-22Service/NWM: add nwm servicesmailwl
2016-12-22Merge pull request #2366 from MerryMage/MemoryReadCodebunnei
arm_dynarmic: Provide MemoryReadCode callback
2016-12-22Merge pull request #2343 from bunnei/core-cleanupbunnei
Core: Top-level consolidate & misc cleanup
2016-12-22arm_dynarmic: Provide MemoryReadCode callbackMerryMage
Change of interface in dynarmic 36082087ded632079b16d24137fdd0c450ce82ea
2016-12-22Merge pull request #2285 from mailwl/csnd-formatbunnei
csnd:SND: Reformat source code
2016-12-22ThreadContext: Move from "core" to "arm_interface".bunnei
2016-12-22core: Replace "AppCore" nomenclature with just "CPU".bunnei
2016-12-22Merge pull request #2361 from lioncash/disasmbunnei
disassembler: Remove mutable specifier from breakpoints member variable
2016-12-21Address clang-format issues.bunnei
2016-12-21core: Remove HLE module, consolidate code & various cleanups.bunnei
2016-12-21core: Consolidate core and system state, remove system module & cleanups.bunnei
2016-12-21file_util: Remove unused paths.bunnei
2016-12-21core: Consolidate top-level system state into a singleton.bunnei
2016-12-21loader: Remove duplicate docstrings.bunnei
2016-12-21citra-qt: Move graphics debugging code into its own folderLioncash
Keeps all graphics debugging stuff from cluttering up the root debugger folder