blob: 15c2d752b2bcaec194903d3eac70a34f1c3b2458 [file] [log] [blame]
David S. Miller207ddd02008-03-26 01:43:29 -07001#ifndef _SYSTBLS_H
2#define _SYSTBLS_H
3
4#include <linux/kernel.h>
5#include <linux/types.h>
David S. Miller062ea6d2008-03-26 01:52:18 -07006#include <linux/utsname.h>
David S. Miller207ddd02008-03-26 01:43:29 -07007#include <asm/utrap.h>
David S. Miller062ea6d2008-03-26 01:52:18 -07008#include <asm/signal.h>
David S. Miller207ddd02008-03-26 01:43:29 -07009
10extern asmlinkage unsigned long sys_getpagesize(void);
11extern asmlinkage unsigned long sparc_brk(unsigned long brk);
12extern asmlinkage long sparc_pipe(struct pt_regs *regs);
13extern asmlinkage long sys_ipc(unsigned int call, int first,
14 unsigned long second,
15 unsigned long third,
16 void __user *ptr, long fifth);
17extern asmlinkage long sparc64_newuname(struct new_utsname __user *name);
18extern asmlinkage long sparc64_personality(unsigned long personality);
David S. Miller207ddd02008-03-26 01:43:29 -070019extern asmlinkage long sys64_munmap(unsigned long addr, size_t len);
20extern asmlinkage unsigned long sys64_mremap(unsigned long addr,
21 unsigned long old_len,
22 unsigned long new_len,
23 unsigned long flags,
24 unsigned long new_addr);
25extern asmlinkage unsigned long c_sys_nis_syscall(struct pt_regs *regs);
26extern asmlinkage long sys_getdomainname(char __user *name, int len);
David S. Miller207ddd02008-03-26 01:43:29 -070027extern asmlinkage long sys_utrap_install(utrap_entry_t type,
28 utrap_handler_t new_p,
29 utrap_handler_t new_d,
30 utrap_handler_t __user *old_p,
31 utrap_handler_t __user *old_d);
32extern asmlinkage long sparc_memory_ordering(unsigned long model,
33 struct pt_regs *regs);
34extern asmlinkage long sys_rt_sigaction(int sig,
35 const struct sigaction __user *act,
36 struct sigaction __user *oact,
37 void __user *restorer,
38 size_t sigsetsize);
39extern asmlinkage long sys_perfctr(int opcode, unsigned long arg0,
40 unsigned long arg1, unsigned long arg2);
41
David S. Miller062ea6d2008-03-26 01:52:18 -070042extern asmlinkage void sparc64_set_context(struct pt_regs *regs);
43extern asmlinkage void sparc64_get_context(struct pt_regs *regs);
44extern asmlinkage long sys_sigpause(unsigned int set);
45extern asmlinkage long sys_sigsuspend(old_sigset_t set);
46extern void do_rt_sigreturn(struct pt_regs *regs);
47
David S. Miller207ddd02008-03-26 01:43:29 -070048#endif /* _SYSTBLS_H */