]> git.proxmox.com Git - qemu.git/blobdiff - target-alpha/cpu.h
linux-user: Move cpu_clone_regs() and cpu_set_tls() into linux-user
[qemu.git] / target-alpha / cpu.h
index 01f4ebb826125dba5a54500caadf0095d3ae226a..066f0324e2f2772177aa11d149126d77d17ea8a3 100644 (file)
@@ -498,22 +498,6 @@ static inline void cpu_get_tb_cpu_state(CPUAlphaState *env, target_ulong *pc,
     *pflags = flags;
 }
 
-#if defined(CONFIG_USER_ONLY)
-static inline void cpu_clone_regs(CPUAlphaState *env, target_ulong newsp)
-{
-    if (newsp) {
-        env->ir[IR_SP] = newsp;
-    }
-    env->ir[IR_V0] = 0;
-    env->ir[IR_A3] = 0;
-}
-
-static inline void cpu_set_tls(CPUAlphaState *env, target_ulong newtls)
-{
-    env->unique = newtls;
-}
-#endif
-
 static inline bool cpu_has_work(CPUState *cpu)
 {
     /* Here we are checking to see if the CPU should wake up from HALT.