Revision 6e68e076 target-sparc/cpu.h
b/target-sparc/cpu.h | ||
---|---|---|
403 | 403 |
#endif |
404 | 404 |
} |
405 | 405 |
|
406 |
#if defined(CONFIG_USER_ONLY) |
|
407 |
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) |
|
408 |
{ |
|
409 |
if (!newsp) |
|
410 |
env->regwptr[22] = newsp; |
|
411 |
env->regwptr[0] = 0; |
|
412 |
/* FIXME: Do we also need to clear CF? */ |
|
413 |
/* XXXXX */ |
|
414 |
printf ("HELPME: %s:%d\n", __FILE__, __LINE__); |
|
415 |
} |
|
416 |
#endif |
|
417 |
|
|
406 | 418 |
#include "cpu-all.h" |
407 | 419 |
|
408 | 420 |
#endif |
Also available in: Unified diff