Revision ead9360e linux-user/syscall.c
b/linux-user/syscall.c | ||
---|---|---|
2189 | 2189 |
/* ??? is this sufficient? */ |
2190 | 2190 |
#elif defined(TARGET_MIPS) |
2191 | 2191 |
if (!newsp) |
2192 |
newsp = env->gpr[29]; |
|
2193 |
new_env->gpr[29] = newsp; |
|
2192 |
newsp = env->gpr[29][env->current_tc];
|
|
2193 |
new_env->gpr[29][env->current_tc] = newsp;
|
|
2194 | 2194 |
#elif defined(TARGET_PPC) |
2195 | 2195 |
if (!newsp) |
2196 | 2196 |
newsp = env->gpr[1]; |
... | ... | |
2777 | 2777 |
ret = get_errno(pipe(host_pipe)); |
2778 | 2778 |
if (!is_error(ret)) { |
2779 | 2779 |
#if defined(TARGET_MIPS) |
2780 |
((CPUMIPSState*)cpu_env)->gpr[3] = host_pipe[1]; |
|
2780 |
CPUMIPSState *env = (CPUMIPSState*)cpu_env; |
|
2781 |
env->gpr[3][env->current_tc] = host_pipe[1]; |
|
2781 | 2782 |
ret = host_pipe[0]; |
2782 | 2783 |
#else |
2783 | 2784 |
tput32(arg1, host_pipe[0]); |
Also available in: Unified diff