Revision 6e68e076 target-i386/cpu.h
b/target-i386/cpu.h | ||
---|---|---|
734 | 734 |
|
735 | 735 |
extern CCTable cc_table[]; |
736 | 736 |
|
737 |
#if defined(CONFIG_USER_ONLY) |
|
738 |
static inline void cpu_clone_regs(CPUState *env, target_ulong newsp) |
|
739 |
{ |
|
740 |
if (!newsp) |
|
741 |
env->regs[R_ESP] = newsp; |
|
742 |
env->regs[R_EAX] = 0; |
|
743 |
} |
|
744 |
#endif |
|
745 |
|
|
737 | 746 |
#include "cpu-all.h" |
738 | 747 |
|
739 | 748 |
#include "svm.h" |
Also available in: Unified diff