PageRenderTime 22ms CodeModel.GetById 19ms app.highlight 2ms RepoModel.GetById 0ms app.codeStats 0ms

/arch/sh/include/asm/syscalls_64.h

https://bitbucket.org/ndreys/linux-sunxi
C++ Header | 34 lines | 27 code | 6 blank | 1 comment | 0 complexity | 85f36ffcf19ac1be5d5b0e26e30c3274 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 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
10struct pt_regs;
11
12asmlinkage 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);
16asmlinkage 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);
20asmlinkage 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);
24asmlinkage 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 */
30asmlinkage long long do_syscall_trace_enter(struct pt_regs *regs);
31asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);
32
33#endif /* __KERNEL__ */
34#endif /* __ASM_SH_SYSCALLS_64_H */