diff options
author | Subv <subv2112@gmail.com> | 2018-04-20 12:01:14 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-04-20 21:04:25 -0500 |
commit | e81a2080ebf9712231dd29c081141780ffd46cfb (patch) | |
tree | b93d23dde3c3a0e86edeb44a1c1f1e18ac839bd6 /src/yuzu/debugger/wait_tree.cpp | |
parent | 326b044c19df0b1a342acf87f2ba7cd06e9a1e97 (diff) |
Kernel: Corrected the implementation of svcArbitrateLock and svcArbitrateUnlock.
Switch mutexes are no longer kernel objects, they are managed in userland and only use the kernel to handle the contention case.
Mutex addresses store a special flag value (0x40000000) to notify the guest code that there are still some threads waiting for the mutex to be released. This flag is updated when a thread calls ArbitrateUnlock.
TODO:
* Fix svcWaitProcessWideKey
* Fix svcSignalProcessWideKey
* Remove the Mutex class.
Diffstat (limited to 'src/yuzu/debugger/wait_tree.cpp')
0 files changed, 0 insertions, 0 deletions