diff options
| author | 2018-12-27 20:28:15 -0500 | |
|---|---|---|
| committer | 2018-12-27 20:32:30 -0500 | |
| commit | 771431f62539a991cc4d8cf5dc4908bb5b366da2 (patch) | |
| tree | db724de34e5e8a8326ce1a061553520cbd157944 /src/core/hle/kernel/thread.h | |
| parent | Merge pull request #1951 from Tinob/master (diff) | |
| download | yuzu-771431f62539a991cc4d8cf5dc4908bb5b366da2.tar.gz yuzu-771431f62539a991cc4d8cf5dc4908bb5b366da2.tar.xz yuzu-771431f62539a991cc4d8cf5dc4908bb5b366da2.zip | |
kernel/thread: Move process thread initialization into process.cpp
This function isn't a general purpose function that should be exposed to
everything, given it's specific to initializing the main thread for a
Process instance.
Given that, it's a tad bit more sensible to place this within
process.cpp, which keeps it visible only to the code that actually needs
it.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index fe5398d56..cc68eed2f 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -456,17 +456,6 @@ private: | |||
| 456 | }; | 456 | }; |
| 457 | 457 | ||
| 458 | /** | 458 | /** |
| 459 | * Sets up the primary application thread | ||
| 460 | * @param kernel The kernel instance to create the main thread under. | ||
| 461 | * @param entry_point The address at which the thread should start execution | ||
| 462 | * @param priority The priority to give the main thread | ||
| 463 | * @param owner_process The parent process for the main thread | ||
| 464 | * @return A shared pointer to the main thread | ||
| 465 | */ | ||
| 466 | SharedPtr<Thread> SetupMainThread(KernelCore& kernel, VAddr entry_point, u32 priority, | ||
| 467 | Process& owner_process); | ||
| 468 | |||
| 469 | /** | ||
| 470 | * Gets the current thread | 459 | * Gets the current thread |
| 471 | */ | 460 | */ |
| 472 | Thread* GetCurrentThread(); | 461 | Thread* GetCurrentThread(); |