Revision 6e68e076 target-cris/cpu.h
b/target-cris/cpu.h | ||
---|---|---|
218 | 218 |
return !!(env->pregs[PR_CCS] & U_FLAG); |
219 | 219 |
} |
220 | 220 |
|
221 |
#if defined(CONFIG_USER_ONLY) |
|
222 |
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) |
|
223 |
{ |
|
224 |
if (!newsp) |
|
225 |
env->regs[14] = newsp; |
|
226 |
env->regs[10] = 0; |
|
227 |
} |
|
228 |
#endif |
|
229 |
|
|
221 | 230 |
/* Support function regs. */ |
222 | 231 |
#define SFR_RW_GC_CFG 0][0 |
223 | 232 |
#define SFR_RW_MM_CFG env->pregs[PR_SRS]][0 |
Also available in: Unified diff