From 42ad6ae97307db3e01e0f83db87a1430e9e9f31b Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 3 Jan 2005 22:48:11 +0000 Subject: [PATCH] 'syscall' syscall git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1181 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/syscall.c | 5 +++++ 1 file changed, 5 insertions(+) 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 @@ -2338,6 +2338,11 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3, #ifdef TARGET_NR_idle 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: { -- GitLab