]> Git Repo - qemu.git/blobdiff - linux-user/mips/target_cpu.h
target-mips: implement UserLocal Register
[qemu.git] / linux-user / mips / target_cpu.h
index ba8e9eb1f97e880d137f113415000bbbb675146f..19b8855000ffa584e28b54aec6d8eb44e8e3aa62 100644 (file)
@@ -30,7 +30,7 @@ static inline void cpu_clone_regs(CPUMIPSState *env, target_ulong newsp)
 
 static inline void cpu_set_tls(CPUMIPSState *env, target_ulong newtls)
 {
-    env->tls_value = newtls;
+    env->active_tc.CP0_UserLocal = newtls;
 }
 
 #endif
This page took 0.022943 seconds and 4 git commands to generate.