Subv
a81290ffb4
Threads: Check the process' resource limit for the max allowed priority when creating a thread and remove the priority clamping code.
9 years ago
Subv
fbe090645c
Thread: Added priority range checking to svcSetThreadPriority and removed priority clamping code from Thread::SetPriority.
9 years ago
Subv
c77cafb0a7
Y2R: Use the proper error code when GetStandardCoefficient receives an invalid value.
9 years ago
Kloen
93c2abb5d8
QT: Fix ui file format
9 years ago
Kloen
225cfcf539
QT: Fix some UI related warnings
9 years ago
Kloen
b9a0167e86
SDL2: Config.cpp fix double to float warning
9 years ago
wwylele
caee572f78
CAM: implement basic camera functions with a blank camera
9 years ago
bunnei
cb38ee3497
Merge pull request #2397 from Subv/pulse
Kernel: Implemented Pulse event and timers.
9 years ago
James Rowe
c702ecce9e
Merge pull request #2418 from jroweboy/appveyor_master
Prevents appveyor from attempting to deploy except on the nightly repo
9 years ago
James Rowe
dac81a1e2a
Prevents appveyor from attempting to deploy except on the nightly repo
9 years ago
bunnei
564207ac20
Merge pull request #2384 from bunnei/internal-res-option
config: Add option for specifying screen resolution scale factor.
9 years ago
bunnei
64cafd74d1
Merge pull request #1951 from wwylele/motion-sensor
Emulate motion sensor in frontend
9 years ago
bunnei
d2a2789dda
config: Add option for specifying screen resolution scale factor.
9 years ago
bunnei
961bb24cf9
Merge pull request #2410 from Subv/sleepthread
Don't yield execution in SleepThread(0) if there are no available threads to run
9 years ago
bunnei
ba71c889f0
Merge pull request #2396 from Subv/sema_acquire
Kernel/Semaphore: Fixed a regression in semaphore waits.
9 years ago
Hyper
82ed89eec2
Kernel: Fix SharedMemory objects always returning error when addr = 0 ( #2404 )
Closes #2400
9 years ago
bunnei
cff8e614bd
Merge pull request #2408 from Subv/priority_boosting
Kernel: Removed the priority boost code for starved threads.
9 years ago
Subv
6c6117868a
Kernel: Don't attempt to yield execution in SleepThread(0) if there are no available threads to run.
With this we avoid an useless temporary deschedule of the current thread.
9 years ago
Sebastian Valle
1563588e57
Merge pull request #2409 from Subv/unused_funcs
Kernel: Remove some unused functions.
9 years ago
Subv
975f3e0853
Kernel: Remove some unused functions.
9 years ago
Subv
d27ef4a5d3
Kernel: Removed the priority boost code for starved threads.
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.
9 years ago
Subv
c6ccb7c6f2
Kernel: Implemented Pulse event and timers.
Closes #1904
9 years ago
Subv
f8d98e241d
Kernel/Semaphore: Fixed a regression in semaphore waits.
The regression was caused by a missing check in #2260 .
The new behavior is consistent with the real kernel.
9 years ago
Sebastian Valle
35aea29a77
Merge pull request #2393 from Subv/synch
Kernel: Mutex priority inheritance and synchronization improvements.
9 years ago
Subv
a0ae8f7c26
Kernel: Add some asserts to enforce the invariants in the scheduler.
9 years ago
Subv
1ba3dd032e
Kernel: Remove a thread from all of its waiting objects' waiting_threads 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
9 years ago
Subv
3ce2c24665
Kernel: Remove Thread::wait_objects_index and use wait_objects to hold all the objects that a thread is waiting on.
9 years ago
James Rowe
6f09721968
Merge pull request #2407 from jroweboy/nightly-deploy
Change travis to deploy on push to citra-nightly.
9 years ago
James Rowe
a4f6da944b
Change travis to deploy on push to citra-nightly. Add more information to the releases page
9 years ago
James Rowe
5282295553
Merge pull request #2405 from jroweboy/nightly-deploy
Change deploy to use github releases instead
9 years ago
James Rowe
1f5772c010
Change deploy to use github releases instead, but only for the citra-nightly repo
9 years ago
Subv
bcad1d6f12
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.
9 years ago
Subv
8503e56689
Kernel/Mutex: Propagate thread priority changes to other threads inheriting the priority via mutexes
9 years ago
Subv
d33885b60b
Kernel/Mutex: Update a mutex priority when a thread stops waiting on it.
9 years ago
Subv
4e6369d41d
Kernel/Mutex: Implemented priority inheritance.
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.
9 years ago
Subv
90570c153b
Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.
This will be useful when implementing mutex priority inheritance.
9 years ago
Subv
a1718862e3
Kernel/Synch: Do not attempt a reschedule on every syscall.
Not all syscalls should cause reschedules, this commit attempts to remedy that, however, it still does not cover all cases.
9 years ago
Jonathan Hao
1df720ed08
Fix some warnings ( #2399 )
9 years ago
bunnei
3214e3135d
Update .travis.yml
9 years ago
James Rowe
1c51be48e2
Merge pull request #2401 from jroweboy/travis-key
Try a different travis key
9 years ago
James Rowe
672e14d506
Try a different travis key
9 years ago
Yuri Kunde Schlesner
c87d3eaf28
Merge pull request #2382 from mailwl/nfc
Service/NFC: stub GetTagInRangeEvent
9 years ago
James Rowe
b014d8de0a
Merge pull request #2390 from jroweboy/bintray
Try a different encrypted bintray api key for travis.
9 years ago
James Rowe
1163f92f1e
Try a different encrypted bintray api key for travis. Change appveyor to upload to a long git hash (since travis is stuck uploading to the full hash name)
9 years ago
James Rowe
496d3b32bf
Merge pull request #2254 from jroweboy/bintray
Add deploy to bintray for builds to master
9 years ago
James Rowe
843b1829ae
Trying to make a consistent nightly versioning
9 years ago
James Rowe
9576e45104
Add deploy to bintray for builds to master
9 years ago
Lectem
aff0ef44d2
fix comments alignment
9 years ago
Sebastian Valle
c5bf85ecce
Merge pull request #2386 from bunnei/fix-bg-color
config: SDL: Move background color setting to correct section.
9 years ago
mailwl
45b03ee367
Service/NFC: stub GetTagInRangeEvent
Fix Fatal Error in Mini-Mario & Friends - amiibo Challenge
9 years ago