| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-01-30 | Move VAddr/PAddr typedefs to kernel.h | Yuri Kunde Schlesner | |
| 2015-01-30 | Kernel: Remove useless/duplicated comments; mark functions static | Yuri Kunde Schlesner | |
| 2015-01-21 | Thread: Fix WaitSynchronization1 to not set register 1 on thread wakeup. | bunnei | |
| 2015-01-21 | Thread: Use std::find in CheckWait_WaitObject. | bunnei | |
| 2015-01-21 | Mutex: Cleanup and remove redundant code. | bunnei | |
| 2015-01-21 | Kernel: Renamed some functions for clarity. | bunnei | |
| - ReleaseNextThread->WakeupNextThread - ReleaseAllWaitingThreads->WakeupAllWaitingThreads. | |||
| 2015-01-21 | Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void. | bunnei | |
| 2015-01-21 | WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" ↵ | bunnei | |
| pure virtual. | |||
| 2015-01-21 | Event: Fix implementation of "non-sticky" events. | bunnei | |
| 2015-01-21 | Session: Change to a WaitObject. | bunnei | |
| 2015-01-21 | Kernel: Reschedule on SignalEvent and SendSyncRequest, fix some bugs. | bunnei | |
| 2015-01-21 | Mutex: Fix a bug where the thread should not wait if it already has the mutex. | bunnei | |
| 2015-01-21 | Kernel: Moved Wait and Acquire to WaitObject, added way to retrieve a ↵ | bunnei | |
| WaitObject safely. | |||
| 2015-01-21 | AddressArbiter: Changed to Kernel::Object, big cleanup, removed code that ↵ | bunnei | |
| made no sense. | |||
| 2015-01-21 | Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks. | bunnei | |
| 2015-01-21 | WaitSynchronizationN: Refactor to fix several bugs | bunnei | |
| - Separate wait checking from waiting the current thread - Resume thread when wait_all=true only if all objects are available at once - Set output to correct wait object index when there are duplicate handles | |||
| 2015-01-21 | Kernel: Separate WaitSynchronization into Wait and Acquire methods. | bunnei | |
| 2015-01-21 | WaitSynchronizationN: Implement return values | bunnei | |
| 2015-01-21 | Event: Fixed some bugs and cleanup (Subv) | bunnei | |
| 2015-01-21 | Thread: Keep track of multiple wait objects. | bunnei | |
| 2015-01-21 | Event: Get rid of permanent_lock hack. | bunnei | |
| 2015-01-21 | WaitObject: Added RemoveWaitingThread, fixed a bug, and cleanup. | bunnei | |
| 2015-01-21 | Kernel: Added WaitObject and changed "waitable" objects inherit from it. | bunnei | |
| 2015-01-20 | core: Fix a few docstrings | Lioncash | |
| 2015-01-13 | AddrArbiter: Implement arbitration types 3 and 4. | Subv | |
| 2015-01-11 | Merge pull request #466 from Subv/wake | bunnei | |
| Thread: Prevent waking a thread multiple times. | |||
| 2015-01-11 | Thread: Prevent waking a thread multiple times. | Subv | |
| If a thread was woken up by something, cancel the wakeup timeout. | |||
| 2015-01-09 | Kernel: Start using boost::intrusive_ptr for lifetime management | Yuri Kunde Schlesner | |
| 2015-01-09 | Kernel: Don't re-assign object's handle when duplicating one | Yuri Kunde Schlesner | |
| 2015-01-09 | Thread: Fix nullptr access in a logging function | Yuri Kunde Schlesner | |
| 2015-01-09 | Thread: Rename thread_queue => thread_list | Yuri Kunde Schlesner | |
| 2015-01-09 | Thread: Reduce use of Handles and move some funcs to inside the class. | Yuri Kunde Schlesner | |
| 2015-01-09 | Kernel: Move Thread's definition to the header file | Yuri Kunde Schlesner | |
| 2015-01-09 | Move ThreadContext to core/core.h and deal with the fallout | Yuri Kunde Schlesner | |
| 2015-01-08 | Merge pull request #255 from Subv/cbranch_3 | bunnei | |
| Implemented timers | |||
| 2015-01-08 | SVC: Implemented the Timer service calls. | Subv | |
| 2015-01-08 | SVC: Fixed SleepThread. | Subv | |
| It will now properly wait the specified number of nanoseconds and then wake up the thread. | |||
| 2015-01-07 | Threads: Use a dummy idle thread when no other are ready. | Subv | |
| This thread will not actually execute instructions, it will only advance the timing/events and try to yield immediately to the next ready thread, if there aren't any ready threads then it will be rescheduled and start its job again. | |||
| 2015-01-07 | Common: Clean up ThreadQueueList | Yuri Kunde Schlesner | |
| Replace all the C-style complicated buffer management with a std::deque. In addition to making the code easier to understand it also adds support for non-POD IdTypes. Also clean the rest of the code to follow our code style. | |||
| 2015-01-05 | Merge pull request #407 from Subv/arbiter | bunnei | |
| AddressArbiter: Ported arbitration type 2 from 3dmoo. | |||
| 2015-01-04 | Mutex: Add the calling thread to the waiting list when needed | Subv | |
| This will happen when the mutex is already owned by another thread. Should fix some issues with games being stuck due to waiting threads not being awoken. | |||
| 2015-01-03 | AddressArbiter: Ported arbitration type 2 from 3dmoo. | Subv | |
| (Thanks 3dmoo!) | |||
| 2014-12-28 | Kernel: New handle manager | Yuri Kunde Schlesner | |
| This handle manager more closely mirrors the behaviour of the CTR-OS one. In addition object ref-counts and support for DuplicateHandle have been added. Note that support for DuplicateHandle is still experimental, since parts of the kernel still use Handles internally, which will likely cause troubles if two different handles to the same object are used to e.g. wait on a synchronization primitive. | |||
| 2014-12-28 | Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants | Yuri Kunde Schlesner | |
| 2014-12-28 | Rename ObjectPool to HandleTable | Yuri Kunde Schlesner | |
| 2014-12-21 | Merge pull request #291 from purpasmart96/license | bunnei | |
| License change | |||
| 2014-12-20 | License change | purpasmart96 | |
| 2014-12-20 | Thread: Wait current thread on svc_SleepThread | bunnei | |
| - Removed unused VBLANK sleep mode - Added error log for bad context switch - Renamed VerifyWait to CheckWaitType to be more clear | |||
| 2014-12-20 | Merge pull request #316 from yuriks/thread-handle | bunnei | |
| Kernel: Implement support for current thread pseudo-handle | |||
| 2014-12-20 | Clean up some warnings | Chin | |
