diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-03 22:48:11 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-01-03 22:48:11 +0000 |
commit | 42ad6ae97307db3e01e0f83db87a1430e9e9f31b (patch) | |
tree | 6684114d8013d19640ec0115b1a5716f3c460d5d /linux-user | |
parent | 808c4954bfe48da4068c540d667ad379b55a5155 (diff) |
'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.c | 5 |
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; |