summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_system_control.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-02-12 03:55:22 +0100
committerbunnei <bunneidev@gmail.com>2021-02-19 01:16:24 +0100
commitf7a008d77f8aa47baf4c874c508b38af4965a145 (patch)
tree3a11b865d5f49be8fa0588ee5187f1b6c12022fb /src/core/hle/kernel/k_system_control.h
parenthle: kernel: memory: PageHeap: Migrate to KPageBitmap class. (diff)
downloadyuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar
yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar.gz
yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar.bz2
yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar.lz
yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar.xz
yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.tar.zst
yuzu-f7a008d77f8aa47baf4c874c508b38af4965a145.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/k_system_control.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/core/hle/kernel/k_system_control.h b/src/core/hle/kernel/k_system_control.h
new file mode 100644
index 000000000..1d5b64ffa
--- /dev/null
+++ b/src/core/hle/kernel/k_system_control.h
@@ -0,0 +1,19 @@
+// Copyright 2021 yuzu Emulator Project
+// Licensed under GPLv2 or any later version
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include "common/common_types.h"
+
+namespace Kernel {
+
+class KSystemControl {
+public:
+ KSystemControl() = default;
+
+ static u64 GenerateRandomRange(u64 min, u64 max);
+ static u64 GenerateRandomU64();
+};
+
+} // namespace Kernel