diff options
| author | bunnei <bunneidev@gmail.com> | 2017-09-30 14:16:39 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2017-09-30 14:34:03 -0400 |
| commit | 6377585edb43009e464d4c04b4a35720b5f9d020 (patch) | |
| tree | 432d8ef516d1dc4a5772bead7e9b47f67468b554 /src/core/arm/arm_interface.h | |
| parent | 8c92435ded5c9c89290604a03e307c038b4d4117 (diff) | |
arm_interface: Set TLS address for dynarmic core.
Diffstat (limited to 'src/core/arm/arm_interface.h')
| -rw-r--r-- | src/core/arm/arm_interface.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h index b52228476..f613556dd 100644 --- a/src/core/arm/arm_interface.h +++ b/src/core/arm/arm_interface.h @@ -22,6 +22,9 @@ public: u64 fpu_registers[64]; u64 fpscr; u64 fpexc; + + // TODO(bunnei): Fix once we have proper support for tpidrro_el0, etc. in the JIT + VAddr tls_address; }; /** @@ -121,6 +124,10 @@ public: */ virtual void SetCP15Register(CP15Register reg, u32 value) = 0; + virtual VAddr GetTlsAddress() const = 0; + + virtual void SetTlsAddress(VAddr address) = 0; + /** * Advance the CPU core by the specified number of ticks (e.g. to simulate CPU execution time) * @param ticks Number of ticks to advance the CPU core |
