diff options
| author | 2018-03-14 22:08:15 -0400 | |
|---|---|---|
| committer | 2018-03-16 18:32:23 -0400 | |
| commit | 8581404482e31b6ef6adc522b303baddaec760ec (patch) | |
| tree | 816e82fbebfd41fbc55435b63b58fd5f50342b53 /src/core/loader/elf.cpp | |
| parent | memory: Add regions for map region, "new" map region, etc. (diff) | |
| download | yuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar.gz yuzu-8581404482e31b6ef6adc522b303baddaec760ec.tar.xz yuzu-8581404482e31b6ef6adc522b303baddaec760ec.zip | |
kernel: Move stack region outside of application heap.
Diffstat (limited to 'src/core/loader/elf.cpp')
| -rw-r--r-- | src/core/loader/elf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/elf.cpp b/src/core/loader/elf.cpp index 164d52258..0ba8c6fd2 100644 --- a/src/core/loader/elf.cpp +++ b/src/core/loader/elf.cpp | |||
| @@ -414,7 +414,7 @@ ResultStatus AppLoader_ELF::Load(Kernel::SharedPtr<Kernel::Process>& process) { | |||
| 414 | process->resource_limit = | 414 | process->resource_limit = |
| 415 | Kernel::ResourceLimit::GetForCategory(Kernel::ResourceLimitCategory::APPLICATION); | 415 | Kernel::ResourceLimit::GetForCategory(Kernel::ResourceLimitCategory::APPLICATION); |
| 416 | 416 | ||
| 417 | process->Run(codeset->entrypoint, 48, Kernel::DEFAULT_STACK_SIZE); | 417 | process->Run(codeset->entrypoint, 48, Memory::STACK_SIZE); |
| 418 | 418 | ||
| 419 | is_loaded = true; | 419 | is_loaded = true; |
| 420 | return ResultStatus::Success; | 420 | return ResultStatus::Success; |