summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-07Merge pull request #1951 from wwylele/motion-sensorbunnei
Emulate motion sensor in frontend
2017-01-06Merge pull request #2410 from Subv/sleepthreadbunnei
Don't yield execution in SleepThread(0) if there are no available threads to run
2017-01-06Merge pull request #2396 from Subv/sema_acquirebunnei
Kernel/Semaphore: Fixed a regression in semaphore waits.
2017-01-06Kernel: Fix SharedMemory objects always returning error when addr = 0 (#2404)Hyper
Closes #2400
2017-01-06Merge pull request #2408 from Subv/priority_boostingbunnei
Kernel: Removed the priority boost code for starved threads.
2017-01-05Kernel: 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-05Merge pull request #2409 from Subv/unused_funcsSebastian Valle
Kernel: Remove some unused functions.
2017-01-05Kernel: Remove some unused functions.Subv
2017-01-05Kernel: 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-05Kernel/Semaphore: Fixed a regression in semaphore waits.Subv
The regression was caused by a missing check in #2260. The new behavior is consistent with the real kernel.
2017-01-05Merge pull request #2393 from Subv/synchSebastian Valle
Kernel: Mutex priority inheritance and synchronization improvements.
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-04Merge pull request #2407 from jroweboy/nightly-deployJames Rowe
Change travis to deploy on push to citra-nightly.
2017-01-04Change travis to deploy on push to citra-nightly. Add more information to ↵James Rowe
the releases page
2017-01-04Merge pull request #2405 from jroweboy/nightly-deployJames Rowe
Change deploy to use github releases instead
2017-01-04Change deploy to use github releases instead, but only for the citra-nightly ↵James Rowe
repo
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-03Update .travis.ymlbunnei
2017-01-03Merge pull request #2401 from jroweboy/travis-keyJames Rowe
Try a different travis key
2017-01-03Try a different travis keyJames Rowe
2017-01-03Merge pull request #2382 from mailwl/nfcYuri Kunde Schlesner
Service/NFC: stub GetTagInRangeEvent
2016-12-31Merge pull request #2390 from jroweboy/bintrayJames Rowe
Try a different encrypted bintray api key for travis.
2016-12-31Try a different encrypted bintray api key for travis. Change appveyor to ↵James Rowe
upload to a long git hash (since travis is stuck uploading to the full hash name)
2016-12-31Merge pull request #2254 from jroweboy/bintrayJames Rowe
Add deploy to bintray for builds to master
2016-12-31Trying to make a consistent nightly versioningJames Rowe
2016-12-31Add deploy to bintray for builds to masterJames Rowe
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-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-27Merge pull request #2376 from wwylele/remove-unusedbunnei
Core: remove unused hle.cpp
2016-12-27Core: remove unused hle.cppwwylele
2016-12-26Merge pull request #2374 from wwylele/whats-going-on-with-that-prbunnei
Core: reset cpu_core in Shutdown to make IsPoweredOn work properly
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