kernel: Move stack region outside of application heap.

This commit is contained in:
bunnei committed 2018-03-16 18:32:23 -04:00
1 parent 89312134f6
commit a26561ce20
6 files changed
+6 -11

No files matched your search

+1 -1
View File
@@ -357,7 +357,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::HEAP_VADDR_END, owner_process);
Memory::STACK_VADDR_END, owner_process);
SharedPtr<Thread> thread = std::move(thread_res).Unwrap();