kern: fix use of plr vs plr_heap, fix close/unlock order in ArbitrateLock
This commit is contained in:
1 parent
52c914afcc
commit
42b6c2dd95
4 files changed
+21
-15
No files matched your search
@@ -21,7 +21,7 @@ namespace ams::kern {
|
||||
|
||||
constexpr inline s32 TerminatingThreadPriority = ams::svc::SystemThreadPriorityHighest - 1;
|
||||
|
||||
constexpr bool IsKernelAddressKey(KProcessAddress key) {
|
||||
constexpr ALWAYS_INLINE bool IsKernelAddressKey(KProcessAddress key) {
|
||||
const uintptr_t key_uptr = GetInteger(key);
|
||||
return KernelVirtualAddressSpaceBase <= key_uptr && key_uptr <= KernelVirtualAddressSpaceLast && (key_uptr & 1) == 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user