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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index f998890c4..c08fc3a89 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -21,6 +21,7 @@ class Fiber;
21} 21}
22 22
23namespace Core { 23namespace Core {
24class ARM_Interface;
24class System; 25class System;
25} // namespace Core 26} // namespace Core
26 27
@@ -271,6 +272,10 @@ public:
271 272
272 void SetSynchronizationResults(SynchronizationObject* object, ResultCode result); 273 void SetSynchronizationResults(SynchronizationObject* object, ResultCode result);
273 274
275 Core::ARM_Interface& ArmInterface();
276
277 const Core::ARM_Interface& ArmInterface() const;
278
274 SynchronizationObject* GetSignalingObject() const { 279 SynchronizationObject* GetSignalingObject() const {
275 return signaling_object; 280 return signaling_object;
276 } 281 }
@@ -617,9 +622,10 @@ private:
617 622
618 void AdjustSchedulingOnAffinity(u64 old_affinity_mask, s32 old_core); 623 void AdjustSchedulingOnAffinity(u64 old_affinity_mask, s32 old_core);
619 624
625 Common::SpinLock context_guard{};
620 ThreadContext32 context_32{}; 626 ThreadContext32 context_32{};
621 ThreadContext64 context_64{}; 627 ThreadContext64 context_64{};
622 Common::SpinLock context_guard{}; 628 std::unique_ptr<Core::ARM_Interface> arm_interface{};
623 std::shared_ptr<Common::Fiber> host_context{}; 629 std::shared_ptr<Common::Fiber> host_context{};
624 630
625 u64 thread_id = 0; 631 u64 thread_id = 0;