summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_condition_variable.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-10-21 22:47:43 +0200
committerLiam <byteslice@airmail.cc>2023-10-22 02:03:41 +0200
commit8c59543ee32c8bff575bab7ec1e70f76f8eda437 (patch)
treeafeee77ba66daf7ec6bff18515c8fbf1bb8468e0 /src/core/hle/kernel/k_condition_variable.h
parentMerge pull request #11831 from liamwhite/hosversionbetween (diff)
downloadyuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar
yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar.gz
yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar.bz2
yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar.lz
yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar.xz
yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.tar.zst
yuzu-8c59543ee32c8bff575bab7ec1e70f76f8eda437.zip
Diffstat (limited to 'src/core/hle/kernel/k_condition_variable.h')
-rw-r--r--src/core/hle/kernel/k_condition_variable.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/hle/kernel/k_condition_variable.h b/src/core/hle/kernel/k_condition_variable.h
index 8c2f3ae51..2620c8e39 100644
--- a/src/core/hle/kernel/k_condition_variable.h
+++ b/src/core/hle/kernel/k_condition_variable.h
@@ -24,11 +24,12 @@ public:
explicit KConditionVariable(Core::System& system);
~KConditionVariable();
- // Arbitration
- Result SignalToAddress(KProcessAddress addr);
- Result WaitForAddress(Handle handle, KProcessAddress addr, u32 value);
+ // Arbitration.
+ static Result SignalToAddress(KernelCore& kernel, KProcessAddress addr);
+ static Result WaitForAddress(KernelCore& kernel, Handle handle, KProcessAddress addr,
+ u32 value);
- // Condition variable
+ // Condition variable.
void Signal(u64 cv_key, s32 count);
Result Wait(KProcessAddress addr, u64 key, u32 value, s64 timeout);