Chris Zankel | 3547cdb | 2007-08-03 15:55:07 -0700 | [diff] [blame] | 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 | |
Chris Zankel | fc4fb2a | 2006-12-10 02:18:52 -0800 | [diff] [blame] | 11 | struct pt_regs; |
| 12 | struct sigaction; |
| 13 | asmlinkage long xtensa_execve(char*, char**, char**, struct pt_regs*); |
| 14 | asmlinkage long xtensa_clone(unsigned long, unsigned long, struct pt_regs*); |
Chris Zankel | fc4fb2a | 2006-12-10 02:18:52 -0800 | [diff] [blame] | 15 | asmlinkage long xtensa_ptrace(long, long, long, long); |
| 16 | asmlinkage long xtensa_sigreturn(struct pt_regs*); |
| 17 | asmlinkage long xtensa_rt_sigreturn(struct pt_regs*); |
| 18 | asmlinkage long xtensa_sigsuspend(struct pt_regs*); |
| 19 | asmlinkage long xtensa_rt_sigsuspend(struct pt_regs*); |
| 20 | asmlinkage long xtensa_sigaction(int, const struct old_sigaction*, |
| 21 | struct old_sigaction*); |
| 22 | asmlinkage long xtensa_sigaltstack(struct pt_regs *regs); |
| 23 | asmlinkage long sys_rt_sigaction(int, |
| 24 | const struct sigaction __user *, |
| 25 | struct sigaction __user *, |
| 26 | size_t); |
Chris Zankel | 3547cdb | 2007-08-03 15:55:07 -0700 | [diff] [blame] | 27 | asmlinkage long xtensa_shmat(int, char __user *, int); |
Chris Zankel | bc671aa | 2007-08-05 10:22:58 -0700 | [diff] [blame] | 28 | asmlinkage long xtensa_fadvise64_64(int, int, |
| 29 | unsigned long long, unsigned long long); |
Chris Zankel | 3547cdb | 2007-08-03 15:55:07 -0700 | [diff] [blame] | 30 | |
| 31 | /* Should probably move to linux/syscalls.h */ |
| 32 | struct pollfd; |
| 33 | asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp, |
| 34 | fd_set __user *exp, struct timespec __user *tsp, void __user *sig); |
| 35 | asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds, |
| 36 | struct timespec __user *tsp, const sigset_t __user *sigmask, |
| 37 | size_t sigsetsize); |
| 38 | |
| 39 | |