systbls.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef _SYSTBLS_H
  2. #define _SYSTBLS_H
  3. #include <linux/kernel.h>
  4. #include <linux/types.h>
  5. #include <asm/utrap.h>
  6. #include <asm/signal.h>
  7. extern asmlinkage unsigned long sys_getpagesize(void);
  8. extern asmlinkage long sparc_pipe(struct pt_regs *regs);
  9. extern asmlinkage long sys_sparc_ipc(unsigned int call, int first,
  10. unsigned long second,
  11. unsigned long third,
  12. void __user *ptr, long fifth);
  13. extern asmlinkage long sparc64_personality(unsigned long personality);
  14. extern asmlinkage long sys64_munmap(unsigned long addr, size_t len);
  15. extern asmlinkage unsigned long sys64_mremap(unsigned long addr,
  16. unsigned long old_len,
  17. unsigned long new_len,
  18. unsigned long flags,
  19. unsigned long new_addr);
  20. extern asmlinkage unsigned long c_sys_nis_syscall(struct pt_regs *regs);
  21. extern asmlinkage long sys_getdomainname(char __user *name, int len);
  22. extern asmlinkage long sys_utrap_install(utrap_entry_t type,
  23. utrap_handler_t new_p,
  24. utrap_handler_t new_d,
  25. utrap_handler_t __user *old_p,
  26. utrap_handler_t __user *old_d);
  27. extern asmlinkage long sparc_memory_ordering(unsigned long model,
  28. struct pt_regs *regs);
  29. extern asmlinkage long sys_rt_sigaction(int sig,
  30. const struct sigaction __user *act,
  31. struct sigaction __user *oact,
  32. void __user *restorer,
  33. size_t sigsetsize);
  34. extern asmlinkage void sparc64_set_context(struct pt_regs *regs);
  35. extern asmlinkage void sparc64_get_context(struct pt_regs *regs);
  36. extern asmlinkage long sys_sigpause(unsigned int set);
  37. extern asmlinkage long sys_sigsuspend(old_sigset_t set);
  38. extern void do_rt_sigreturn(struct pt_regs *regs);
  39. #endif /* _SYSTBLS_H */