summaryrefslogtreecommitdiffstats
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorj_mayer2007-04-06 10:56:50 +0200
committerj_mayer2007-04-06 10:56:50 +0200
commit84409ddbda9b4d8f2d2ad4f580e987800b8e7c4e (patch)
tree72e2fd0d27817fb60a24b88a1d7b3b25dd5a111d /linux-user/syscall.c
parentAdd alpha targets. (diff)
downloadqemu-84409ddbda9b4d8f2d2ad4f580e987800b8e7c4e.tar.gz
qemu-84409ddbda9b4d8f2d2ad4f580e987800b8e7c4e.tar.xz
qemu-84409ddbda9b4d8f2d2ad4f580e987800b8e7c4e.zip
Code provision for x86_64 and PowerPC 64 linux user mode support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2619 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 9dc0b09b05..7ab506dd3d 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -3250,12 +3250,14 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
case TARGET_NR_modify_ldt:
ret = get_errno(do_modify_ldt(cpu_env, arg1, arg2, arg3));
break;
+#if !defined(TARGET_X86_64)
case TARGET_NR_vm86old:
goto unimplemented;
case TARGET_NR_vm86:
ret = do_vm86(cpu_env, arg1, arg2);
break;
#endif
+#endif
case TARGET_NR_adjtimex:
goto unimplemented;
#ifdef TARGET_NR_create_module
@@ -3275,8 +3277,10 @@ long do_syscall(void *cpu_env, int num, long arg1, long arg2, long arg3,
case TARGET_NR_fchdir:
ret = get_errno(fchdir(arg1));
break;
+#ifdef TARGET_NR_bdflush /* not on x86_64 */
case TARGET_NR_bdflush:
goto unimplemented;
+#endif
#ifdef TARGET_NR_sysfs
case TARGET_NR_sysfs:
goto unimplemented;