Skip to content
Snippets Groups Projects
Commit 42ad6ae9 authored by Fabrice Bellard's avatar Fabrice Bellard
Browse files

'syscall' syscall

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1181 c046a42c-6fe2-441c-8c8c-71466251a162
parent 808c4954
No related branches found
No related tags found
No related merge requests found
......@@ -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:
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment