Commit | Line | Data |
---|---|---|
2f06de06 JSR |
1 | /* |
2 | * sys_ia32.h - Linux ia32 syscall interfaces | |
3 | * | |
4 | * Copyright (c) 2008 Jaswinder Singh Rajput | |
5 | * | |
6 | * This file is released under the GPLv2. | |
7 | * See the file COPYING for more details. | |
8 | */ | |
9 | ||
10 | #ifndef _ASM_X86_SYS_IA32_H | |
11 | #define _ASM_X86_SYS_IA32_H | |
12 | ||
a96d692e PA |
13 | #ifdef CONFIG_COMPAT |
14 | ||
2f06de06 JSR |
15 | #include <linux/compiler.h> |
16 | #include <linux/linkage.h> | |
17 | #include <linux/types.h> | |
18 | #include <linux/signal.h> | |
19 | #include <asm/compat.h> | |
20 | #include <asm/ia32.h> | |
21 | ||
22 | /* ia32/sys_ia32.c */ | |
4ddb45db DB |
23 | asmlinkage long compat_sys_x86_truncate64(const char __user *, unsigned long, |
24 | unsigned long); | |
25 | asmlinkage long compat_sys_x86_ftruncate64(unsigned int, unsigned long, | |
26 | unsigned long); | |
2f06de06 | 27 | |
4ddb45db DB |
28 | asmlinkage long compat_sys_x86_stat64(const char __user *, |
29 | struct stat64 __user *); | |
30 | asmlinkage long compat_sys_x86_lstat64(const char __user *, | |
31 | struct stat64 __user *); | |
32 | asmlinkage long compat_sys_x86_fstat64(unsigned int, struct stat64 __user *); | |
33 | asmlinkage long compat_sys_x86_fstatat(unsigned int, const char __user *, | |
2f06de06 | 34 | struct stat64 __user *, int); |
a4679373 | 35 | struct mmap_arg_struct32; |
4ddb45db | 36 | asmlinkage long compat_sys_x86_mmap(struct mmap_arg_struct32 __user *); |
2f06de06 | 37 | |
4ddb45db DB |
38 | asmlinkage long compat_sys_x86_waitpid(compat_pid_t, unsigned int __user *, |
39 | int); | |
2f06de06 | 40 | |
4ddb45db DB |
41 | asmlinkage long compat_sys_x86_pread(unsigned int, char __user *, u32, u32, |
42 | u32); | |
43 | asmlinkage long compat_sys_x86_pwrite(unsigned int, const char __user *, u32, | |
44 | u32, u32); | |
2f06de06 | 45 | |
4ddb45db DB |
46 | asmlinkage long compat_sys_x86_fadvise64_64(int, __u32, __u32, __u32, __u32, |
47 | int); | |
2f06de06 | 48 | |
4ddb45db DB |
49 | asmlinkage ssize_t compat_sys_x86_readahead(int, unsigned int, unsigned int, |
50 | size_t); | |
51 | asmlinkage long compat_sys_x86_sync_file_range(int, unsigned int, unsigned int, | |
52 | unsigned int, unsigned int, | |
53 | int); | |
54 | asmlinkage long compat_sys_x86_fadvise64(int, unsigned int, unsigned int, | |
55 | size_t, int); | |
56 | asmlinkage long compat_sys_x86_fallocate(int, int, unsigned int, unsigned int, | |
57 | unsigned int, unsigned int); | |
af52201d DB |
58 | asmlinkage long compat_sys_x86_clone(unsigned long, unsigned long, int __user *, |
59 | unsigned long, int __user *); | |
2f06de06 JSR |
60 | |
61 | /* ia32/ia32_signal.c */ | |
3fe26fa3 AV |
62 | asmlinkage long sys32_sigreturn(void); |
63 | asmlinkage long sys32_rt_sigreturn(void); | |
2f06de06 | 64 | |
a96d692e PA |
65 | #endif /* CONFIG_COMPAT */ |
66 | ||
2f06de06 | 67 | #endif /* _ASM_X86_SYS_IA32_H */ |