]> Git Repo - qemu.git/blobdiff - linux-user/xtensa/target_cpu.h
linux-user: Rename cpu_clone_regs to cpu_clone_regs_child
[qemu.git] / linux-user / xtensa / target_cpu.h
index 747d82861416cde61dfd358565b20613c5ba3a71..84f67d469ec072ea30761e8795fa254c8c8311b7 100644 (file)
@@ -4,7 +4,9 @@
 #ifndef XTENSA_TARGET_CPU_H
 #define XTENSA_TARGET_CPU_H
 
-static inline void cpu_clone_regs(CPUXtensaState *env, target_ulong newsp)
+static inline void cpu_clone_regs_child(CPUXtensaState *env,
+                                        target_ulong newsp,
+                                        unsigned flags)
 {
     if (newsp) {
         env->regs[1] = newsp;
@@ -19,4 +21,8 @@ static inline void cpu_set_tls(CPUXtensaState *env, target_ulong newtls)
     env->uregs[THREADPTR] = newtls;
 }
 
+static inline abi_ulong get_sp_from_cpustate(CPUXtensaState *state)
+{
+    return state->regs[1];
+}
 #endif
This page took 0.023709 seconds and 4 git commands to generate.