summaryrefslogtreecommitdiff
path: root/target-alpha/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'target-alpha/cpu.h')
-rw-r--r--target-alpha/cpu.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h
index c955997fce..0c1b580f97 100644
--- a/target-alpha/cpu.h
+++ b/target-alpha/cpu.h
@@ -311,6 +311,15 @@ static inline int cpu_mmu_index (CPUState *env)
return (env->ps >> 3) & 3;
}
+#if defined(CONFIG_USER_ONLY)
+static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
+{
+ if (!newsp)
+ env->ir[30] = newsp;
+ /* FIXME: Zero syscall return value. */
+}
+#endif
+
#include "cpu-all.h"
enum {