mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-04 08:29:44 -04:00
kern: increase stack region size when thread resource limit is increased
This commit is contained in:
parent
7f2cbba543
commit
ea82889e6c
4 changed files with 14 additions and 14 deletions
|
@ -161,7 +161,7 @@ namespace ams::kern::init::loader {
|
|||
const uintptr_t init_array_end_offset = layout->init_array_end_offset;
|
||||
|
||||
/* Determine the size of the resource region. */
|
||||
const size_t resource_region_size = KMemoryLayout::GetResourceRegionSizeForInit();
|
||||
const size_t resource_region_size = KMemoryLayout::GetResourceRegionSizeForInit(KSystemControl::Init::ShouldIncreaseThreadResourceLimit());
|
||||
const uintptr_t resource_end_address = base_address + resource_offset + resource_region_size;
|
||||
|
||||
/* Setup the INI1 header in memory for the kernel. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue