diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-06 08:56:50 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-04-06 08:56:50 +0000 |
commit | 84409ddbda9b4d8f2d2ad4f580e987800b8e7c4e (patch) | |
tree | 72e2fd0d27817fb60a24b88a1d7b3b25dd5a111d /linux-user/syscall.c | |
parent | 9ead1a126356a05b61eb4388ef0729f08454a78c (diff) |
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.c | 4 |
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; |