[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 4/7] linux-user: Fix MIPS indirect syscall handling
From: |
riku . voipio |
Subject: |
[Qemu-devel] [PATCH 4/7] linux-user: Fix MIPS indirect syscall handling |
Date: |
Fri, 9 Sep 2011 12:32:28 +0300 |
From: An-Cheng Huang <address@hidden>
Change the number of argument for MIPS sys_syscall from 0 to 8. This
allows arguments for indirect syscalls to be processed correctly.
Signed-off-by: Riku Voipio <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: An-Cheng Huang <address@hidden>
---
linux-user/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/linux-user/main.c b/linux-user/main.c
index 8910d2c..3df91f3 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -1749,7 +1749,7 @@ void cpu_loop(CPUPPCState *env)
#define MIPS_SYS(name, args) args,
static const uint8_t mips_syscall_args[] = {
- MIPS_SYS(sys_syscall , 0) /* 4000 */
+ MIPS_SYS(sys_syscall , 8) /* 4000 */
MIPS_SYS(sys_exit , 1)
MIPS_SYS(sys_fork , 0)
MIPS_SYS(sys_read , 3)
--
1.7.4.1
- [Qemu-devel] [PATCH 0/7] pending linux-user patches, riku . voipio, 2011/09/09
- [Qemu-devel] [PATCH 4/7] linux-user: Fix MIPS indirect syscall handling,
riku . voipio <=
- [Qemu-devel] [PATCH 5/7] linux-user: Verify MIPS syscall arguments, riku . voipio, 2011/09/09
- [Qemu-devel] [PATCH 3/7] linux-user: Exit with an error if we couldn't set up gdbserver, riku . voipio, 2011/09/09
- [Qemu-devel] [PATCH 2/7] linux-user: Implement new ARM 64 bit cmpxchg kernel helper, riku . voipio, 2011/09/09
- [Qemu-devel] [PATCH 6/7] linux-user: Implement setxattr/getxattr/removexattr syscalls, riku . voipio, 2011/09/09
- [Qemu-devel] [PATCH 1/7] linux-user: Fix initialization of the heap contents when allocating new pages, riku . voipio, 2011/09/09
- [Qemu-devel] [PATCH 7/7] introduce environment variables for all qemu-user options, riku . voipio, 2011/09/09