memory: Fix stack region.

This commit is contained in:
bunnei 2018-03-31 15:03:28 -04:00
parent 7d4a23db4e
commit 36cdd5a39c
6 changed files with 12 additions and 10 deletions

View file

@ -342,7 +342,7 @@ SharedPtr<Thread> SetupMainThread(VAddr entry_point, u32 priority,
// Initialize new "main" thread
auto thread_res = Thread::Create("main", entry_point, priority, 0, THREADPROCESSORID_0,
Memory::STACK_VADDR_END, owner_process);
Memory::STACK_AREA_VADDR_END, owner_process);
SharedPtr<Thread> thread = std::move(thread_res).Unwrap();