1 #ifndef __ASM_MICROBLAZE_SYSCALLS_H
2 #define __ASM_MICROBLAZE_SYSCALLS_H
5 #include <linux/compiler.h>
6 #include <linux/linkage.h>
7 #include <linux/types.h>
8 #include <linux/signal.h>
10 /* FIXME will be removed */
11 asmlinkage
int sys_ipc(uint call
, int first
, int second
,
12 int third
, void *ptr
, long fifth
);
15 asmlinkage
int sys_vfork(struct pt_regs
*regs
);
16 asmlinkage
int sys_clone(int flags
, unsigned long stack
, struct pt_regs
*regs
);
17 asmlinkage
int sys_execve(char __user
*filenamei
, char __user
*__user
*argv
,
18 char __user
*__user
*envp
, struct pt_regs
*regs
);
20 asmlinkage
unsigned long sys_mmap2(unsigned long addr
, size_t len
,
21 unsigned long prot
, unsigned long flags
,
22 unsigned long fd
, unsigned long pgoff
);
24 asmlinkage
unsigned long sys_mmap(unsigned long addr
, size_t len
,
25 unsigned long prot
, unsigned long flags
,
26 unsigned long fd
, off_t offset
);
29 asmlinkage
int sys_sigsuspend(old_sigset_t mask
, struct pt_regs
*regs
);
31 asmlinkage
int sys_rt_sigsuspend(sigset_t __user
*unewset
, size_t sigsetsize
,
32 struct pt_regs
*regs
);
34 asmlinkage
int sys_sigaction(int sig
, const struct old_sigaction
*act
,
35 struct old_sigaction
*oact
);
37 asmlinkage
int sys_sigaltstack(const stack_t __user
*uss
, stack_t __user
*uoss
,
38 struct pt_regs
*regs
);
40 asmlinkage
int sys_sigreturn(struct pt_regs
*regs
);
42 asmlinkage
int sys_rt_sigreturn(struct pt_regs
*regs
);
44 #endif /* __KERNEL__ */
45 #endif /* __ASM_MICROBLAZE_SYSCALLS_H */