4 #include <linux/signal.h>
5 #include <linux/kernel.h>
6 #include <linux/compat.h>
7 #include <linux/types.h>
11 asmlinkage
unsigned long sys_getpagesize(void);
12 asmlinkage
long sparc_pipe(struct pt_regs
*regs
);
13 asmlinkage
unsigned long c_sys_nis_syscall(struct pt_regs
*regs
);
14 asmlinkage
long sys_getdomainname(char __user
*name
, int len
);
15 void do_rt_sigreturn(struct pt_regs
*regs
);
16 asmlinkage
long sys_mmap(unsigned long addr
, unsigned long len
,
17 unsigned long prot
, unsigned long flags
,
18 unsigned long fd
, unsigned long off
);
19 asmlinkage
void sparc_breakpoint(struct pt_regs
*regs
);
22 asmlinkage
long sys_mmap2(unsigned long addr
, unsigned long len
,
23 unsigned long prot
, unsigned long flags
,
24 unsigned long fd
, unsigned long pgoff
);
25 long sparc_remap_file_pages(unsigned long start
, unsigned long size
,
26 unsigned long prot
, unsigned long pgoff
,
29 #endif /* CONFIG_SPARC32 */
32 asmlinkage
long sys_sparc_ipc(unsigned int call
, int first
,
35 void __user
*ptr
, long fifth
);
36 asmlinkage
long sparc64_personality(unsigned long personality
);
37 asmlinkage
long sys64_munmap(unsigned long addr
, size_t len
);
38 asmlinkage
unsigned long sys64_mremap(unsigned long addr
,
39 unsigned long old_len
,
40 unsigned long new_len
,
42 unsigned long new_addr
);
43 asmlinkage
long sys_utrap_install(utrap_entry_t type
,
44 utrap_handler_t new_p
,
45 utrap_handler_t new_d
,
46 utrap_handler_t __user
*old_p
,
47 utrap_handler_t __user
*old_d
);
48 asmlinkage
long sparc_memory_ordering(unsigned long model
,
49 struct pt_regs
*regs
);
50 asmlinkage
void sparc64_set_context(struct pt_regs
*regs
);
51 asmlinkage
void sparc64_get_context(struct pt_regs
*regs
);
52 asmlinkage
long sys32_truncate64(const char __user
* path
,
55 asmlinkage
long sys32_ftruncate64(unsigned int fd
,
59 asmlinkage
long compat_sys_stat64(const char __user
* filename
,
60 struct compat_stat64 __user
*statbuf
);
61 asmlinkage
long compat_sys_lstat64(const char __user
* filename
,
62 struct compat_stat64 __user
*statbuf
);
63 asmlinkage
long compat_sys_fstat64(unsigned int fd
,
64 struct compat_stat64 __user
* statbuf
);
65 asmlinkage
long compat_sys_fstatat64(unsigned int dfd
,
66 const char __user
*filename
,
67 struct compat_stat64 __user
* statbuf
, int flag
);
68 asmlinkage compat_ssize_t
sys32_pread64(unsigned int fd
,
73 asmlinkage compat_ssize_t
sys32_pwrite64(unsigned int fd
,
78 asmlinkage
long compat_sys_readahead(int fd
,
82 long compat_sys_fadvise64(int fd
,
85 compat_size_t len
, int advice
);
86 long compat_sys_fadvise64_64(int fd
,
87 unsigned long offhi
, unsigned long offlo
,
88 unsigned long lenhi
, unsigned long lenlo
,
90 long sys32_sync_file_range(unsigned int fd
,
91 unsigned long off_high
, unsigned long off_low
,
92 unsigned long nb_high
, unsigned long nb_low
,
94 asmlinkage
long compat_sys_fallocate(int fd
, int mode
, u32 offhi
, u32 offlo
,
95 u32 lenhi
, u32 lenlo
);
96 asmlinkage
long compat_sys_fstat64(unsigned int fd
,
97 struct compat_stat64 __user
* statbuf
);
98 asmlinkage
long compat_sys_fstatat64(unsigned int dfd
,
99 const char __user
*filename
,
100 struct compat_stat64 __user
* statbuf
,
102 #endif /* CONFIG_SPARC64 */
103 #endif /* _SYSTBLS_H */