summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index 47881ec20..6218960d2 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -183,6 +183,14 @@ public:
183 } 183 }
184 184
185 /* 185 /*
186 * Returns the value of the TPIDR_EL0 Read/Write system register for this thread.
187 * @returns The value of the TPIDR_EL0 register.
188 */
189 u64 GetTPIDR_EL0() const {
190 return tpidr_el0;
191 }
192
193 /*
186 * Returns the address of the current thread's command buffer, located in the TLS. 194 * Returns the address of the current thread's command buffer, located in the TLS.
187 * @returns VAddr of the thread's command buffer. 195 * @returns VAddr of the thread's command buffer.
188 */ 196 */
@@ -213,6 +221,7 @@ public:
213 s32 processor_id; 221 s32 processor_id;
214 222
215 VAddr tls_address; ///< Virtual address of the Thread Local Storage of the thread 223 VAddr tls_address; ///< Virtual address of the Thread Local Storage of the thread
224 u64 tpidr_el0; ///< TPIDR_EL0 read/write system register.
216 225
217 SharedPtr<Process> owner_process; ///< Process that owns this thread 226 SharedPtr<Process> owner_process; ///< Process that owns this thread
218 227