summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-09-21 05:14:06 +0200
committerbunnei <bunneidev@gmail.com>2017-09-30 20:28:54 +0200
commitc5ce5c06e471d556254c1cf465b1d92d6a8f695d (patch)
treed2a08cba5800b41032ff309ce0cddef4cd6680ba /src/core/hle/kernel/thread.h
parentcore: Various changes to support 64-bit addressing. (diff)
downloadyuzu-c5ce5c06e471d556254c1cf465b1d92d6a8f695d.tar
yuzu-c5ce5c06e471d556254c1cf465b1d92d6a8f695d.tar.gz
yuzu-c5ce5c06e471d556254c1cf465b1d92d6a8f695d.tar.bz2
yuzu-c5ce5c06e471d556254c1cf465b1d92d6a8f695d.tar.lz
yuzu-c5ce5c06e471d556254c1cf465b1d92d6a8f695d.tar.xz
yuzu-c5ce5c06e471d556254c1cf465b1d92d6a8f695d.tar.zst
yuzu-c5ce5c06e471d556254c1cf465b1d92d6a8f695d.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/thread.h10
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:
u32 thread_id;
u32 status;
- u32 entry_point;
- u32 stack_top;
+ VAddr entry_point;
+ VAddr stack_top;
s32 nominal_priority; ///< Nominal thread priority, as set by the emulated application
s32 current_priority; ///< Current thread priority, can be temporarily changed
@@ -216,7 +216,7 @@ private:
* @param priority The priority to give the main thread
* @return A shared pointer to the main thread
*/
-SharedPtr<Thread> SetupMainThread(u32 entry_point, s32 priority);
+SharedPtr<Thread> SetupMainThread(VAddr entry_point, s32 priority);
/**
* Returns whether there are any threads that are ready to run.
@@ -232,13 +232,13 @@ void Reschedule();
* Arbitrate the highest priority thread that is waiting
* @param address The address for which waiting threads should be arbitrated
*/
-Thread* ArbitrateHighestPriorityThread(u32 address);
+Thread* ArbitrateHighestPriorityThread(VAddr address);
/**
* Arbitrate all threads currently waiting.
* @param address The address for which waiting threads should be arbitrated
*/
-void ArbitrateAllThreads(u32 address);
+void ArbitrateAllThreads(VAddr address);
/**
* Gets the current thread