mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 05:55:16 -04:00
kern: KConditionVariable arbiter functions now static
This commit is contained in:
parent
572cbd8619
commit
d80ad222cc
3 changed files with 4 additions and 12 deletions
|
@ -30,7 +30,7 @@ namespace ams::kern::svc {
|
|||
R_UNLESS(!IsKernelAddress(address), svc::ResultInvalidCurrentMemory());
|
||||
R_UNLESS(util::IsAligned(address, sizeof(u32)), svc::ResultInvalidAddress());
|
||||
|
||||
return GetCurrentProcess().WaitForAddress(thread_handle, address, tag);
|
||||
return KConditionVariable::WaitForAddress(thread_handle, address, tag);
|
||||
}
|
||||
|
||||
Result ArbitrateUnlock(uintptr_t address) {
|
||||
|
@ -38,7 +38,7 @@ namespace ams::kern::svc {
|
|||
R_UNLESS(!IsKernelAddress(address), svc::ResultInvalidCurrentMemory());
|
||||
R_UNLESS(util::IsAligned(address, sizeof(u32)), svc::ResultInvalidAddress());
|
||||
|
||||
return GetCurrentProcess().SignalToAddress(address);
|
||||
return KConditionVariable::SignalToAddress(address);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue