mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-17 20:58:25 +01:00
kernel: Move stack region outside of application heap.
This commit is contained in:
1 parent
89312134f6
commit
a26561ce20
6 files changed
+6
-11
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user