Commit 42ad6ae97307db3e01e0f83db87a1430e9e9f31b
1 parent
808c4954
'syscall' syscall
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1181 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
5 additions
and
0 deletions
linux-user/syscall.c
| @@ -2339,6 +2339,11 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3, | @@ -2339,6 +2339,11 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3, | ||
| 2339 | case TARGET_NR_idle: | 2339 | case TARGET_NR_idle: |
| 2340 | goto unimplemented; | 2340 | goto unimplemented; |
| 2341 | #endif | 2341 | #endif |
| 2342 | +#ifdef TARGET_NR_syscall | ||
| 2343 | + case TARGET_NR_syscall: | ||
| 2344 | + ret = do_syscall(cpu_env,arg1 & 0xffff,arg2,arg3,arg4,arg5,arg6,0); | ||
| 2345 | + break; | ||
| 2346 | +#endif | ||
| 2342 | case TARGET_NR_wait4: | 2347 | case TARGET_NR_wait4: |
| 2343 | { | 2348 | { |
| 2344 | int status; | 2349 | int status; |