memory: Fix stack region.

This commit is contained in:
bunnei
2018-03-31 15:03:28 -04:00
parent b3298465cf
commit b27ab46bde
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();