Revision f8ed7070 target-sh4/cpu.h
b/target-sh4/cpu.h | ||
---|---|---|
146 | 146 |
#if defined(CONFIG_USER_ONLY) |
147 | 147 |
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) |
148 | 148 |
{ |
149 |
if (!newsp)
|
|
149 |
if (newsp) |
|
150 | 150 |
env->gregs[15] = newsp; |
151 | 151 |
env->gregs[0] = 0; |
152 | 152 |
} |
Also available in: Unified diff