summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/board/nintendo/nx/k_system_control.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-03-20 08:23:06 +0100
committerbunnei <bunneidev@gmail.com>2021-03-21 22:45:03 +0100
commitedbc505e52c8dacce91c7f89c798ae1b6da801e7 (patch)
tree9ee4410d8231a90e0547a529d24023a65013f4a6 /src/core/hle/kernel/board/nintendo/nx/k_system_control.h
parenthle: kernel: board: Add secure_monitor module. (diff)
downloadyuzu-edbc505e52c8dacce91c7f89c798ae1b6da801e7.tar
yuzu-edbc505e52c8dacce91c7f89c798ae1b6da801e7.tar.gz
yuzu-edbc505e52c8dacce91c7f89c798ae1b6da801e7.tar.bz2
yuzu-edbc505e52c8dacce91c7f89c798ae1b6da801e7.tar.lz
yuzu-edbc505e52c8dacce91c7f89c798ae1b6da801e7.tar.xz
yuzu-edbc505e52c8dacce91c7f89c798ae1b6da801e7.tar.zst
yuzu-edbc505e52c8dacce91c7f89c798ae1b6da801e7.zip
Diffstat (limited to 'src/core/hle/kernel/board/nintendo/nx/k_system_control.h')
-rw-r--r--src/core/hle/kernel/board/nintendo/nx/k_system_control.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/board/nintendo/nx/k_system_control.h b/src/core/hle/kernel/board/nintendo/nx/k_system_control.h
index 3fde61971..52f230ced 100644
--- a/src/core/hle/kernel/board/nintendo/nx/k_system_control.h
+++ b/src/core/hle/kernel/board/nintendo/nx/k_system_control.h
@@ -12,7 +12,13 @@ class KSystemControl {
public:
class Init {
public:
+ // Initialization.
+ static std::size_t GetIntendedMemorySize();
+ static PAddr GetKernelPhysicalBaseAddress(u64 base_address);
static bool ShouldIncreaseThreadResourceLimit();
+ static std::size_t GetApplicationPoolSize();
+ static std::size_t GetAppletPoolSize();
+ static std::size_t GetMinimumNonSecureSystemPoolSize();
};
static u64 GenerateRandomRange(u64 min, u64 max);