I have no clue how/why syscalls with 7 parameters work on mips. Signed-off-by: Juan Quintela <quint...@redhat.com> --- linux-user/main.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c index 088def3..d13affa 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -2067,6 +2067,10 @@ void cpu_loop(CPUMIPSState *env) default: break; } + /* We should change do_syscall to take extra args. + Some syscalls on mips already use 7 args */ + (void)arg7; + (void)arg8; ret = do_syscall(env, env->active_tc.gpr[2], env->active_tc.gpr[4], env->active_tc.gpr[5], -- 1.7.5.2