summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorGravatar bunnei2015-05-11 11:03:08 -0400
committerGravatar bunnei2015-05-11 11:03:08 -0400
commit10eb8b0c02badb2f87ec2d71f1679a27b679c171 (patch)
tree920742b7261c7c801d2c6e21e35ded349dceda08 /src/core/hle/kernel/thread.h
parentMerge pull request #742 from archshift/i4 (diff)
parentThread: Correctly set main thread initial stack position (diff)
downloadyuzu-10eb8b0c02badb2f87ec2d71f1679a27b679c171.tar.gz
yuzu-10eb8b0c02badb2f87ec2d71f1679a27b679c171.tar.xz
yuzu-10eb8b0c02badb2f87ec2d71f1679a27b679c171.zip
Merge pull request #749 from yuriks/stack-top
Thread: Correctly set main thread initial stack position
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 6891c8c2f..afdaf8511 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -181,12 +181,11 @@ private:
181 181
182/** 182/**
183 * Sets up the primary application thread 183 * Sets up the primary application thread
184 * @param stack_size The size of the thread's stack
185 * @param entry_point The address at which the thread should start execution 184 * @param entry_point The address at which the thread should start execution
186 * @param priority The priority to give the main thread 185 * @param priority The priority to give the main thread
187 * @return A shared pointer to the main thread 186 * @return A shared pointer to the main thread
188 */ 187 */
189SharedPtr<Thread> SetupMainThread(u32 stack_size, u32 entry_point, s32 priority); 188SharedPtr<Thread> SetupMainThread(u32 entry_point, s32 priority);
190 189
191/** 190/**
192 * Reschedules to the next available thread (call after current thread is suspended) 191 * Reschedules to the next available thread (call after current thread is suspended)