From 596a0f25513163b9f77d76e488dedd40badbdbe1 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 23 Mar 2022 11:51:16 -0700 Subject: [PATCH] ams.mitm: wrong stack was increased --- .../source/sysupdater/sysupdater_async_thread_allocator.cpp | 2 +- stratosphere/ams_mitm/source/sysupdater/sysupdater_module.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stratosphere/ams_mitm/source/sysupdater/sysupdater_async_thread_allocator.cpp b/stratosphere/ams_mitm/source/sysupdater/sysupdater_async_thread_allocator.cpp index 451196512..43774e738 100644 --- a/stratosphere/ams_mitm/source/sysupdater/sysupdater_async_thread_allocator.cpp +++ b/stratosphere/ams_mitm/source/sysupdater/sysupdater_async_thread_allocator.cpp @@ -21,7 +21,7 @@ namespace ams::mitm::sysupdater { namespace { constexpr inline int AsyncThreadCount = 1; - constexpr inline size_t AsyncThreadStackSize = 16_KB; + constexpr inline size_t AsyncThreadStackSize = 32_KB; os::ThreadType g_async_threads[AsyncThreadCount]; alignas(os::ThreadStackAlignment) u8 g_async_thread_stack_heap[AsyncThreadCount * AsyncThreadStackSize]; diff --git a/stratosphere/ams_mitm/source/sysupdater/sysupdater_module.hpp b/stratosphere/ams_mitm/source/sysupdater/sysupdater_module.hpp index 1ad350e10..eb08283a4 100644 --- a/stratosphere/ams_mitm/source/sysupdater/sysupdater_module.hpp +++ b/stratosphere/ams_mitm/source/sysupdater/sysupdater_module.hpp @@ -19,6 +19,6 @@ namespace ams::mitm::sysupdater { - DEFINE_MITM_MODULE_CLASS(0xC000, AMS_GET_SYSTEM_THREAD_PRIORITY(mitm_sysupdater, IpcServer)); + DEFINE_MITM_MODULE_CLASS(0x8000, AMS_GET_SYSTEM_THREAD_PRIORITY(mitm_sysupdater, IpcServer)); }