syscall.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * include/asm-xtensa/syscall.h
  3. *
  4. * This file is subject to the terms and conditions of the GNU General Public
  5. * License. See the file "COPYING" in the main directory of this archive
  6. * for more details.
  7. *
  8. * Copyright (C) 2001 - 2007 Tensilica Inc.
  9. */
  10. struct pt_regs;
  11. struct sigaction;
  12. asmlinkage long xtensa_execve(char*, char**, char**, struct pt_regs*);
  13. asmlinkage long xtensa_clone(unsigned long, unsigned long, struct pt_regs*);
  14. asmlinkage long xtensa_ptrace(long, long, long, long);
  15. asmlinkage long xtensa_sigreturn(struct pt_regs*);
  16. asmlinkage long xtensa_rt_sigreturn(struct pt_regs*);
  17. asmlinkage long xtensa_sigaltstack(struct pt_regs *regs);
  18. asmlinkage long sys_rt_sigaction(int,
  19. const struct sigaction __user *,
  20. struct sigaction __user *,
  21. size_t);
  22. asmlinkage long xtensa_shmat(int, char __user *, int);
  23. asmlinkage long xtensa_fadvise64_64(int, int,
  24. unsigned long long, unsigned long long);
  25. /* Should probably move to linux/syscalls.h */
  26. struct pollfd;
  27. asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp,
  28. fd_set __user *exp, struct timespec __user *tsp, void __user *sig);
  29. asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
  30. struct timespec __user *tsp, const sigset_t __user *sigmask,
  31. size_t sigsetsize);
  32. asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset,
  33. size_t sigsetsize);