From 11073d9ae33c3a0c8b85f28d2ac6dfda32643e61 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sun, 15 Nov 2020 08:35:57 -0800 Subject: [PATCH] exo: load mariko-only program during boot --- libexosphere/include/exosphere/secmon/secmon_memory_layout.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libexosphere/include/exosphere/secmon/secmon_memory_layout.hpp b/libexosphere/include/exosphere/secmon/secmon_memory_layout.hpp index 196c1f87..a1208ede 100644 --- a/libexosphere/include/exosphere/secmon/secmon_memory_layout.hpp +++ b/libexosphere/include/exosphere/secmon/secmon_memory_layout.hpp @@ -199,6 +199,9 @@ namespace ams::secmon { constexpr inline const MemoryRegion MemoryRegionPhysicalTzramMarikoProgram(UINT64_C(0x7C020000), 0x20000); static_assert(MemoryRegionPhysicalTzramMariko.Contains(MemoryRegionPhysicalTzramMarikoProgram)); + constexpr inline const MemoryRegion MemoryRegionPhysicalMarikoProgramImage(UINT64_C(0x80020000), 0x20000); + static_assert(MemoryRegionDram.Contains(MemoryRegionPhysicalMarikoProgramImage)); + constexpr inline const MemoryRegion MemoryRegionVirtualTzramProgramMain(UINT64_C(0x1F00C0800), 0xB800); static_assert(MemoryRegionVirtualTzramProgram.Contains(MemoryRegionVirtualTzramProgramMain));