Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
syscalls_64.h
Go to the documentation of this file.
1 #ifndef __ASM_SH_SYSCALLS_64_H
2 #define __ASM_SH_SYSCALLS_64_H
3 
4 #ifdef __KERNEL__
5 
6 #include <linux/compiler.h>
7 #include <linux/linkage.h>
8 #include <linux/types.h>
9 
10 struct pt_regs;
11 
12 asmlinkage int sys_fork(unsigned long r2, unsigned long r3,
13  unsigned long r4, unsigned long r5,
14  unsigned long r6, unsigned long r7,
15  struct pt_regs *pregs);
16 asmlinkage int sys_clone(unsigned long clone_flags, unsigned long newsp,
17  unsigned long r4, unsigned long r5,
18  unsigned long r6, unsigned long r7,
19  struct pt_regs *pregs);
20 asmlinkage int sys_vfork(unsigned long r2, unsigned long r3,
21  unsigned long r4, unsigned long r5,
22  unsigned long r6, unsigned long r7,
23  struct pt_regs *pregs);
24 asmlinkage int sys_execve(const char *ufilename, char **uargv,
25  char **uenvp, unsigned long r5,
26  unsigned long r6, unsigned long r7,
27  struct pt_regs *pregs);
28 
29 /* Misc syscall related bits */
32 
33 #endif /* __KERNEL__ */
34 #endif /* __ASM_SH_SYSCALLS_64_H */