summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-02-22 02:38:11 +0100
committerbunnei <bunneidev@gmail.com>2022-02-27 19:34:02 +0100
commita6496deeed4e78352bdd5eb83d91bb7f41854ea4 (patch)
tree8ee2f635eadf6e26a667d00bea7ecaafc38cb779 /src
parenthle: kernel: k_system_control: Add GetRealMemorySize and update GetKernelPhysicalBaseAddress. (diff)
downloadyuzu-a6496deeed4e78352bdd5eb83d91bb7f41854ea4.tar
yuzu-a6496deeed4e78352bdd5eb83d91bb7f41854ea4.tar.gz
yuzu-a6496deeed4e78352bdd5eb83d91bb7f41854ea4.tar.bz2
yuzu-a6496deeed4e78352bdd5eb83d91bb7f41854ea4.tar.lz
yuzu-a6496deeed4e78352bdd5eb83d91bb7f41854ea4.tar.xz
yuzu-a6496deeed4e78352bdd5eb83d91bb7f41854ea4.tar.zst
yuzu-a6496deeed4e78352bdd5eb83d91bb7f41854ea4.zip
Diffstat (limited to '')
-rw-r--r--src/core/CMakeLists.txt1
-rw-r--r--src/core/hle/kernel/board/nintendo/nx/k_memory_layout.h13
2 files changed, 14 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 0c10cd019..ce5886f22 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -152,6 +152,7 @@ add_library(core STATIC
hle/api_version.h
hle/ipc.h
hle/ipc_helpers.h
+ hle/kernel/board/nintendo/nx/k_memory_layout.h
hle/kernel/board/nintendo/nx/k_system_control.cpp
hle/kernel/board/nintendo/nx/k_system_control.h
hle/kernel/board/nintendo/nx/secure_monitor.h
diff --git a/src/core/hle/kernel/board/nintendo/nx/k_memory_layout.h b/src/core/hle/kernel/board/nintendo/nx/k_memory_layout.h
new file mode 100644
index 000000000..01e225088
--- /dev/null
+++ b/src/core/hle/kernel/board/nintendo/nx/k_memory_layout.h
@@ -0,0 +1,13 @@
+// Copyright 2022 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 {
+
+constexpr inline PAddr MainMemoryAddress = 0x80000000;
+
+} // namespace Kernel