[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT ff867dd] MIPS usermode TLS register
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT ff867dd] MIPS usermode TLS register |
Date: |
Fri, 10 Jul 2009 19:16:37 -0000 |
From: Paul Brook <address@hidden>
Implement cpu_set_tls for MIPS.
Signed-off-by: Paul Brook <address@hidden>
diff --git a/target-mips/cpu.h b/target-mips/cpu.h
index b415dc4..6ebb82b 100644
--- a/target-mips/cpu.h
+++ b/target-mips/cpu.h
@@ -597,4 +597,9 @@ static inline void cpu_get_tb_cpu_state(CPUState *env,
target_ulong *pc,
*flags = env->hflags & (MIPS_HFLAG_TMASK | MIPS_HFLAG_BMASK);
}
+static inline void cpu_set_tls(CPUState *env, target_ulong newtls)
+{
+ env->tls_value = newtls;
+}
+
#endif /* !defined (__MIPS_CPU_H__) */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT ff867dd] MIPS usermode TLS register,
Anthony Liguori <=