Revision 6e68e076 target-mips/cpu.h
b/target-mips/cpu.h | ||
---|---|---|
500 | 500 |
return env->hflags & MIPS_HFLAG_KSU; |
501 | 501 |
} |
502 | 502 |
|
503 |
#if defined(CONFIG_USER_ONLY) |
|
504 |
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) |
|
505 |
{ |
|
506 |
if (!newsp) |
|
507 |
env->gpr[env->current_tc][29] = newsp; |
|
508 |
env->gpr[env->current_tc][7] = 0; |
|
509 |
env->gpr[env->current_tc][2] = 0; |
|
510 |
} |
|
511 |
#endif |
|
512 |
|
|
503 | 513 |
#include "cpu-all.h" |
504 | 514 |
|
505 | 515 |
/* Memory access type : |
Also available in: Unified diff