Go to the documentation of this file.
7 #ifndef __SYSDEP_X86_64_SYSCALLS_H__
8 #define __SYSDEP_X86_64_SYSCALLS_H__
10 #include <linux/msg.h>
11 #include <linux/shm.h>
17 #define EXECUTE_SYSCALL(syscall, regs) \
18 (((long (*)(long, long, long, long, long, long)) \
19 (*sys_call_table[syscall]))(UPT_SYSCALL_ARG1(®s->regs), \
20 UPT_SYSCALL_ARG2(®s->regs), \
21 UPT_SYSCALL_ARG3(®s->regs), \
22 UPT_SYSCALL_ARG4(®s->regs), \
23 UPT_SYSCALL_ARG5(®s->regs), \
24 UPT_SYSCALL_ARG6(®s->regs)))
26 extern long old_mmap(
unsigned long addr,
unsigned long len,
27 unsigned long prot,
unsigned long flags,
28 unsigned long fd,
unsigned long pgoff);