summaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
authorGravatar bunnei2018-07-21 10:48:30 -0700
committerGravatar GitHub2018-07-21 10:48:30 -0700
commitfe2498a65038bdea6ac5e4a2fad4fc992d4ff4ba (patch)
treee4d5cfdca67efdf79956f275f346f68292629ade /src/core/arm/arm_interface.h
parentMerge pull request #753 from lioncash/const (diff)
parentCPU: Save and restore the TPIDR_EL0 system register on every context switch. (diff)
downloadyuzu-fe2498a65038bdea6ac5e4a2fad4fc992d4ff4ba.tar.gz
yuzu-fe2498a65038bdea6ac5e4a2fad4fc992d4ff4ba.tar.xz
yuzu-fe2498a65038bdea6ac5e4a2fad4fc992d4ff4ba.zip
Merge pull request #751 from Subv/tpidr_el0
CPU: Save and restore the TPIDR_EL0 system register on every context switch
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r--src/core/arm/arm_interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index 8416e73b0..28a99defe 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -104,6 +104,10 @@ public:
104 104
105 virtual void SetTlsAddress(VAddr address) = 0; 105 virtual void SetTlsAddress(VAddr address) = 0;
106 106
107 virtual u64 GetTPIDR_EL0() const = 0;
108
109 virtual void SetTPIDR_EL0(u64 value) = 0;
110
107 /** 111 /**
108 * Saves the current CPU context 112 * Saves the current CPU context
109 * @param ctx Thread context to save 113 * @param ctx Thread context to save