diff options
author | bunnei <bunneidev@gmail.com> | 2022-02-22 02:38:11 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-02-27 19:34:02 +0100 |
commit | a6496deeed4e78352bdd5eb83d91bb7f41854ea4 (patch) | |
tree | 8ee2f635eadf6e26a667d00bea7ecaafc38cb779 /src/core | |
parent | hle: kernel: k_system_control: Add GetRealMemorySize and update GetKernelPhysicalBaseAddress. (diff) | |
download | yuzu-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 'src/core')
-rw-r--r-- | src/core/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/core/hle/kernel/board/nintendo/nx/k_memory_layout.h | 13 |
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 |