82 Commits (09da76805e8f7937594823250b188671e0d4fcca)

Author SHA1 Message Date
Lioncash 29751de47d kernel/mutex: Replace ResultCode construction for invalid addresses with the named variant 7 years ago
Lioncash 4913549d6b kernel: Eliminate kernel global state 7 years ago
Lioncash 38c2af9330 kernel: Move object class to its own source files 8 years ago
Lioncash ea4e7b7fc5 kernel: Remove unused object_address_table.cpp/.h 8 years ago
Lioncash 3d2d454c36 kernel: Remove unnecessary includes 8 years ago
Lioncash ecc4f5065a mutex: Pass SharedPtr to GetHighestPriorityMutexWaitingThread() by reference 8 years ago
Lioncash 059d0017f1 thread: Convert ThreadStatus into an enum class 8 years ago
Michael Scire 6e9b11ffa0 Kernel/Arbiters: Add stubs for 4.x SignalToAddress/WaitForAddres SVCs. 8 years ago
Subv fe463e2a1c Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release. 8 years ago
Subv 329bec6dbd Kernel: Implemented mutex priority inheritance. 8 years ago
Subv e499b48f97 Kernel: Remove old and unused Mutex code. 8 years ago
Subv 4e47dd5b59 Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock. 8 years ago
bunnei 41042e7b81 mutex: Update hasWaiters on release. 8 years ago
bunnei a689a33995 mutex: Remove unused call to VerifyGuestState. 8 years ago
Subv 2ca36ac394 Kernel: Properly keep track of mutex lock data in the guest memory. This fixes userland locking/unlocking. 8 years ago
bunnei 16c66e09cc svc: Implement svcLockMutex. 8 years ago
Huw Pascoe da1c8d1522 Fixed type conversion ambiguity 8 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. 9 years ago
Subv 90570c153b Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter. 9 years ago
Subv a1718862e3 Kernel/Synch: Do not attempt a reschedule on every syscall. 9 years ago
Yuri Kunde Schlesner fa5d9d8266 Use negative priorities to avoid special-casing the self-include 9 years ago
Emmanuel Gil Peyrot 1138ec0d49 Remove empty newlines in #include blocks. 9 years ago
Yuri Kunde Schlesner 1e4a5da9f4 Manually tweak source formatting and then re-run clang-format 9 years ago
Emmanuel Gil Peyrot 628ed4376a Sources: Run clang-format on everything. 9 years ago
bunnei 71e8822d23 kernel: Fix svcWaitSynch to always acquire requested wait objects. 11 years ago
bunnei 0b7d2941cf Kernel: Move reschedules from SVCs to actual mechanisms that reschedule. 11 years ago
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 11 years ago
bunnei 9c3419ebcc Kernel: Implemented priority inheritance for mutexes. 11 years ago
archshift ef24e72b26 Asserts: break/crash program, fit to style guide; log.h->assert.h 11 years ago
bunnei 1b0bf00cbc Mutex: Locks should be recursive. 11 years ago
Yuri Kunde Schlesner 88a4a808c6 Kernel: Stop creating useless Handles during object creation 11 years ago
Yuri Kunde Schlesner 52f58e64ef Kernel: Make WaitObjects share ownership of Threads waiting on them 11 years ago
Yuri Kunde Schlesner 7725256f64 Explicitly instantiate constructors/destructors for Kernel objects 11 years ago
Yuri Kunde Schlesner 4e84df8be3 Mutex: Replace g_mutex_held_locks with a set inside Thread 11 years ago
Yuri Kunde Schlesner 882b6fed75 Kernel: Convert Mutex to not use Handles 11 years ago
Yuri Kunde Schlesner 9a345de2bd Kernel: Remove useless/duplicated comments; mark functions static 11 years ago
bunnei 2f3020a102 Mutex: Cleanup and remove redundant code. 11 years ago
bunnei f09806aed2 Kernel: Renamed some functions for clarity. 11 years ago
bunnei 15b6a4d9ad Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void. 11 years ago
bunnei c68eb15695 WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual. 11 years ago
bunnei dde02f79af Mutex: Fix a bug where the thread should not wait if it already has the mutex. 11 years ago
bunnei e5a9f1c644 Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks. 11 years ago
bunnei 6643673f28 WaitSynchronizationN: Refactor to fix several bugs 11 years ago
bunnei aa01c57ae9 Kernel: Separate WaitSynchronization into Wait and Acquire methods. 11 years ago
bunnei 7faf2d8e06 WaitSynchronizationN: Implement return values 11 years ago
bunnei c22bac6398 Kernel: Added WaitObject and changed "waitable" objects inherit from it. 11 years ago
Yuri Kunde Schlesner 8ad41775cc Kernel: Start using boost::intrusive_ptr for lifetime management 11 years ago
Yuri Kunde Schlesner 9bf8462b96 Thread: Reduce use of Handles and move some funcs to inside the class. 11 years ago