qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 10/14] mips: we really need the extra arguments


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 10/14] mips: we really need the extra arguments
Date: Thu, 2 Jun 2011 13:53:45 +0200

I have no clue how/why syscalls with 7 parameters work on mips.

Signed-off-by: Juan Quintela <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]