From eb348f7da2f88074aa6ad22c1367983ff40e201f Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 13 May 2020 20:51:58 -0700 Subject: [PATCH] exo2: by default, map end of iram for debug --- libexosphere/include/exosphere/secmon/secmon_memory_layout.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexosphere/include/exosphere/secmon/secmon_memory_layout.hpp b/libexosphere/include/exosphere/secmon/secmon_memory_layout.hpp index ce0fa4cf..a7818c11 100644 --- a/libexosphere/include/exosphere/secmon/secmon_memory_layout.hpp +++ b/libexosphere/include/exosphere/secmon/secmon_memory_layout.hpp @@ -218,7 +218,7 @@ namespace ams::secmon { static_assert(MemoryRegionPhysicalIram.Contains(MemoryRegionPhysicalIramSc7Firmware)); constexpr inline const MemoryRegion MemoryRegionVirtualDebug = MemoryRegion(UINT64_C(0x1F0160000), 0x10000); - static_assert(MemoryRegionVirtual.Contains(MemoryRegionVirtualIramSc7Firmware)); + static_assert(MemoryRegionVirtual.Contains(MemoryRegionVirtualDebug)); constexpr inline const MemoryRegion MemoryRegionVirtualTzramBootCode = MemoryRegion(UINT64_C(0x1F01C0000), 0x2000); constexpr inline const MemoryRegion MemoryRegionPhysicalTzramBootCode = MemoryRegion( UINT64_C(0x7C010000), 0x2000);