diff options
| author | 2017-09-20 23:14:06 -0400 | |
|---|---|---|
| committer | 2017-09-30 14:28:54 -0400 | |
| commit | c5ce5c06e471d556254c1cf465b1d92d6a8f695d (patch) | |
| tree | d2a08cba5800b41032ff309ce0cddef4cd6680ba /src/core/hle/kernel/thread.h | |
| parent | core: Various changes to support 64-bit addressing. (diff) | |
| download | yuzu-c5ce5c06e471d556254c1cf465b1d92d6a8f695d.tar.gz yuzu-c5ce5c06e471d556254c1cf465b1d92d6a8f695d.tar.xz yuzu-c5ce5c06e471d556254c1cf465b1d92d6a8f695d.zip | |
kernel: Various threading fixes to support 64-bit addressing.
Diffstat (limited to 'src/core/hle/kernel/thread.h')
| -rw-r--r-- | src/core/hle/kernel/thread.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index 6a3566f15..2cadb91db 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h | |||
| @@ -171,8 +171,8 @@ public: | |||
| 171 | u32 thread_id; | 171 | u32 thread_id; |
| 172 | 172 | ||
| 173 | u32 status; | 173 | u32 status; |
| 174 | u32 entry_point; | 174 | VAddr entry_point; |
| 175 | u32 stack_top; | 175 | VAddr stack_top; |
| 176 | 176 | ||
| 177 | s32 nominal_priority; ///< Nominal thread priority, as set by the emulated application | 177 | s32 nominal_priority; ///< Nominal thread priority, as set by the emulated application |
| 178 | s32 current_priority; ///< Current thread priority, can be temporarily changed | 178 | s32 current_priority; ///< Current thread priority, can be temporarily changed |
| @@ -216,7 +216,7 @@ private: | |||
| 216 | * @param priority The priority to give the main thread | 216 | * @param priority The priority to give the main thread |
| 217 | * @return A shared pointer to the main thread | 217 | * @return A shared pointer to the main thread |
| 218 | */ | 218 | */ |
| 219 | SharedPtr<Thread> SetupMainThread(u32 entry_point, s32 priority); | 219 | SharedPtr<Thread> SetupMainThread(VAddr entry_point, s32 priority); |
| 220 | 220 | ||
| 221 | /** | 221 | /** |
| 222 | * Returns whether there are any threads that are ready to run. | 222 | * Returns whether there are any threads that are ready to run. |
| @@ -232,13 +232,13 @@ void Reschedule(); | |||
| 232 | * Arbitrate the highest priority thread that is waiting | 232 | * Arbitrate the highest priority thread that is waiting |
| 233 | * @param address The address for which waiting threads should be arbitrated | 233 | * @param address The address for which waiting threads should be arbitrated |
| 234 | */ | 234 | */ |
| 235 | Thread* ArbitrateHighestPriorityThread(u32 address); | 235 | Thread* ArbitrateHighestPriorityThread(VAddr address); |
| 236 | 236 | ||
| 237 | /** | 237 | /** |
| 238 | * Arbitrate all threads currently waiting. | 238 | * Arbitrate all threads currently waiting. |
| 239 | * @param address The address for which waiting threads should be arbitrated | 239 | * @param address The address for which waiting threads should be arbitrated |
| 240 | */ | 240 | */ |
| 241 | void ArbitrateAllThreads(u32 address); | 241 | void ArbitrateAllThreads(VAddr address); |
| 242 | 242 | ||
| 243 | /** | 243 | /** |
| 244 | * Gets the current thread | 244 | * Gets the current thread |