Revision 6e68e076 target-sh4/cpu.h
b/target-sh4/cpu.h | ||
---|---|---|
143 | 143 |
return (env->sr & SR_MD) == 0 ? 1 : 0; |
144 | 144 |
} |
145 | 145 |
|
146 |
#if defined(CONFIG_USER_ONLY) |
|
147 |
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) |
|
148 |
{ |
|
149 |
if (!newsp) |
|
150 |
env->gregs[15] = newsp; |
|
151 |
env->gregs[0] = 0; |
|
152 |
} |
|
153 |
#endif |
|
154 |
|
|
146 | 155 |
#include "cpu-all.h" |
147 | 156 |
|
148 | 157 |
/* Memory access type */ |
Also available in: Unified diff