blob: 124aeee0d3816cadf7abe7317d168b5f3b326891 [file] [log] [blame]
Chris Zankel3547cdb2007-08-03 15:55:07 -07001/*
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 Zankelfc4fb2a2006-12-10 02:18:52 -080011struct pt_regs;
12struct sigaction;
Max Filippovdc241f22012-10-25 11:10:52 +040013asmlinkage long sys_execve(char*, char**, char**, struct pt_regs*);
Chris Zankelfc4fb2a2006-12-10 02:18:52 -080014asmlinkage long xtensa_clone(unsigned long, unsigned long, struct pt_regs*);
Chris Zankelfc4fb2a2006-12-10 02:18:52 -080015asmlinkage long xtensa_ptrace(long, long, long, long);
16asmlinkage long xtensa_sigreturn(struct pt_regs*);
17asmlinkage long xtensa_rt_sigreturn(struct pt_regs*);
Chris Zankelfc4fb2a2006-12-10 02:18:52 -080018asmlinkage long xtensa_sigaltstack(struct pt_regs *regs);
19asmlinkage long sys_rt_sigaction(int,
20 const struct sigaction __user *,
21 struct sigaction __user *,
22 size_t);
Chris Zankel3547cdb2007-08-03 15:55:07 -070023asmlinkage long xtensa_shmat(int, char __user *, int);
Chris Zankelbc671aa2007-08-05 10:22:58 -070024asmlinkage long xtensa_fadvise64_64(int, int,
25 unsigned long long, unsigned long long);
Chris Zankel3547cdb2007-08-03 15:55:07 -070026
27/* Should probably move to linux/syscalls.h */
28struct pollfd;
29asmlinkage long sys_pselect6(int n, fd_set __user *inp, fd_set __user *outp,
30 fd_set __user *exp, struct timespec __user *tsp, void __user *sig);
31asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
32 struct timespec __user *tsp, const sigset_t __user *sigmask,
33 size_t sigsetsize);
Al Viro03240b22012-06-04 17:47:34 -040034asmlinkage long sys_rt_sigsuspend(sigset_t __user *unewset,
35 size_t sigsetsize);