summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/board/nintendo
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-03-20 08:00:49 +0100
committerbunnei <bunneidev@gmail.com>2021-03-21 22:45:03 +0100
commit10265ad0e4fbc5e54c1607d18eded80d8340606c (patch)
treec5cbba076072af1acf2b47492f3b54dea92e706e /src/core/hle/kernel/board/nintendo
parentcommon: Move common sizes to their own header for code reuse. (diff)
downloadyuzu-10265ad0e4fbc5e54c1607d18eded80d8340606c.tar
yuzu-10265ad0e4fbc5e54c1607d18eded80d8340606c.tar.gz
yuzu-10265ad0e4fbc5e54c1607d18eded80d8340606c.tar.bz2
yuzu-10265ad0e4fbc5e54c1607d18eded80d8340606c.tar.lz
yuzu-10265ad0e4fbc5e54c1607d18eded80d8340606c.tar.xz
yuzu-10265ad0e4fbc5e54c1607d18eded80d8340606c.tar.zst
yuzu-10265ad0e4fbc5e54c1607d18eded80d8340606c.zip
Diffstat (limited to 'src/core/hle/kernel/board/nintendo')
-rw-r--r--src/core/hle/kernel/board/nintendo/nx/secure_monitor.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/core/hle/kernel/board/nintendo/nx/secure_monitor.h b/src/core/hle/kernel/board/nintendo/nx/secure_monitor.h
new file mode 100644
index 000000000..0c366b252
--- /dev/null
+++ b/src/core/hle/kernel/board/nintendo/nx/secure_monitor.h
@@ -0,0 +1,26 @@
+// 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::Board::Nintendo::Nx::Smc {
+
+enum MemorySize {
+ MemorySize_4GB = 0,
+ MemorySize_6GB = 1,
+ MemorySize_8GB = 2,
+};
+
+enum MemoryArrangement {
+ MemoryArrangement_4GB = 0,
+ MemoryArrangement_4GBForAppletDev = 1,
+ MemoryArrangement_4GBForSystemDev = 2,
+ MemoryArrangement_6GB = 3,
+ MemoryArrangement_6GBForAppletDev = 4,
+ MemoryArrangement_8GB = 5,
+};
+
+} // namespace Kernel::Board::Nintendo::Nx::Smc