Revision 6e68e076 target-arm/cpu.h

b/target-arm/cpu.h
408 408
    return (env->uncached_cpsr & CPSR_M) == ARM_CPU_MODE_USR ? 1 : 0;
409 409
}
410 410

  
411
#if defined(CONFIG_USER_ONLY)
412
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp)
413
{
414
    if (!newsp)
415
        env->regs[13] = newsp;
416
    env->regs[0] = 0;
417
}
418
#endif
419

  
411 420
#include "cpu-all.h"
412 421

  
413 422
#endif

Also available in: Unified diff