kernel/thread: Make thread_id a 64-bit value

The kernel uses a 64-bit value for the thread ID, so we shouldn't be
using a 32-bit value.
This commit is contained in:
Lioncash 2018-12-18 22:37:01 -05:00
parent 43e1189688
commit 8435451093
4 changed files with 7 additions and 7 deletions

View file

@ -151,7 +151,7 @@ public:
* Gets the thread's thread ID
* @return The thread's ID
*/
u32 GetThreadID() const {
u64 GetThreadID() const {
return thread_id;
}
@ -379,7 +379,7 @@ private:
Core::ARM_Interface::ThreadContext context{};
u32 thread_id = 0;
u64 thread_id = 0;
ThreadStatus status = ThreadStatus::Dormant;