diff options
| author | Subv <subv2112@gmail.com> | 2018-07-20 19:57:45 -0500 |
|---|---|---|
| committer | Subv <subv2112@gmail.com> | 2018-07-20 19:57:45 -0500 |
| commit | d84eb9dac64f314adcef2c374de245012f658b1d (patch) | |
| tree | 56720a5bce5d1a285dda01c16bfcb1dd57e53054 /src/core/arm/arm_interface.h | |
| parent | f36affdbe3727e21b6b0bdc3bef562ada6abe2c8 (diff) | |
CPU: Save and restore the TPIDR_EL0 system register on every context switch.
Note that there's currently a dynarmic bug preventing this register from being written.
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 4 |
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: virtual void SetTlsAddress(VAddr address) = 0; + virtual u64 GetTPIDR_EL0() const = 0; + + virtual void SetTPIDR_EL0(u64 value) = 0; + /** * Saves the current CPU context * @param ctx Thread context to save |
