109 Commits (115ad8e16a69c8823118f210654fc9ea70a03213)

Author SHA1 Message Date
Subv 115ad8e16a fixup! Set the TLS address in the scheduler 11 years ago
Subv 000876858d Core/Memory: Give every emulated thread it's own TLS area. 11 years ago
Yuri Kunde Schlesner 1c0b87edc2 Memory: Re-organize and rename memory area address constants 11 years ago
Yuri Kunde Schlesner e1fbac3ca1 Common: Remove common.h 11 years ago
bunnei c7dc799e19 Kernel: Properly initialize and shutdown all modules. 11 years ago
bunnei 9c3419ebcc Kernel: Implemented priority inheritance for mutexes. 11 years ago
bunnei 7b9f428b23 Thread: Implement priority boost for starved threads. 11 years ago
archshift 4fb75d220a Misc cleanup of common and related functions 11 years ago
archshift ef24e72b26 Asserts: break/crash program, fit to style guide; log.h->assert.h 11 years ago
Kevin Hartman 5fcbfc06eb Scheduler refactor Pt. 1 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 869ec46683 Kernel: Introduce unique Object ids for debugging 11 years ago
Yuri Kunde Schlesner a9b86db3cf Kernel: Use separate Handle tables for CoreTiming userdata 11 years ago
Yuri Kunde Schlesner 664c79ff47 Thread: Modernize two functions that slipped through previous rebases 11 years ago
Lioncash 3f00dd9117 arm: Clean up ARMul_State 11 years ago
bunnei 68ddaaa2f5 Thread: Fix WaitSynchronization1 to not set register 1 on thread wakeup. 11 years ago
bunnei 4255f25647 Thread: Use std::find in CheckWait_WaitObject. 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 9412996c8f Kernel: Moved Wait and Acquire to WaitObject, added way to retrieve a WaitObject safely. 11 years ago
bunnei 254e4ebd58 AddressArbiter: Changed to Kernel::Object, big cleanup, removed code that made no sense. 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 1f7a04f05a Thread: Keep track of multiple wait objects. 11 years ago
bunnei c22bac6398 Kernel: Added WaitObject and changed "waitable" objects inherit from it. 11 years ago
Subv b68d51ed30 Thread: Prevent waking a thread multiple times. 11 years ago
Yuri Kunde Schlesner 8ad41775cc Kernel: Start using boost::intrusive_ptr for lifetime management 11 years ago
Yuri Kunde Schlesner 78ea76e12f Thread: Fix nullptr access in a logging function 11 years ago
Yuri Kunde Schlesner 7f1557fbbd Thread: Rename thread_queue => thread_list 11 years ago
Yuri Kunde Schlesner 9bf8462b96 Thread: Reduce use of Handles and move some funcs to inside the class. 11 years ago
Yuri Kunde Schlesner ba72208cd4 Kernel: Move Thread's definition to the header file 11 years ago
Yuri Kunde Schlesner 7b3452c730 Move ThreadContext to core/core.h and deal with the fallout 11 years ago
Subv dfc440785a SVC: Fixed SleepThread. 11 years ago
Subv 60a373a786 Threads: Use a dummy idle thread when no other are ready. 11 years ago
Yuri Kunde Schlesner 122c2bb324 Common: Clean up ThreadQueueList 11 years ago
Yuri Kunde Schlesner 7e2903cb74 Kernel: New handle manager 11 years ago
Yuri Kunde Schlesner 23f2142009 Kernel: Replace GetStaticHandleType by HANDLE_TYPE constants 11 years ago
Yuri Kunde Schlesner 73fba22c01 Rename ObjectPool to HandleTable 11 years ago
purpasmart96 ebfd831ccb License change 11 years ago
bunnei 4fcdbed9f6 Thread: Wait current thread on svc_SleepThread 11 years ago
Yuri Kunde Schlesner adee775f44 Kernel: Implement support for current thread pseudo-handle 11 years ago
Yuri Kunde Schlesner 0600e2d8b5 Convert old logging calls to new logging macros 11 years ago
bunnei dd203f7068 Thread: Fixed to wait on address when in arbitration. 11 years ago