summaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-03 22:48:11 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-01-03 22:48:11 +0000
commit42ad6ae97307db3e01e0f83db87a1430e9e9f31b (patch)
tree6684114d8013d19640ec0115b1a5716f3c460d5d /linux-user
parent808c4954bfe48da4068c540d667ad379b55a5155 (diff)
downloadqemu-42ad6ae97307db3e01e0f83db87a1430e9e9f31b.zip
'syscall' syscall
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1181 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/syscall.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 2407400c1f..df3d4d54d9 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -2339,6 +2339,11 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
case TARGET_NR_idle:
goto unimplemented;
#endif
+#ifdef TARGET_NR_syscall
+ case TARGET_NR_syscall:
+ ret = do_syscall(cpu_env,arg1 & 0xffff,arg2,arg3,arg4,arg5,arg6,0);
+ break;
+#endif
case TARGET_NR_wait4:
{
int status;