syscalls.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * syscalls.h - Linux syscall interfaces (arch-specific)
  3. *
  4. * Copyright (c) 2008 Jaswinder Singh
  5. *
  6. * This file is released under the GPLv2.
  7. * See the file COPYING for more details.
  8. */
  9. #ifndef _ASM_AVR32_SYSCALLS_H
  10. #define _ASM_AVR32_SYSCALLS_H
  11. #include <linux/compiler.h>
  12. #include <linux/linkage.h>
  13. #include <linux/types.h>
  14. #include <linux/signal.h>
  15. /* kernel/process.c */
  16. asmlinkage int sys_fork(struct pt_regs *);
  17. asmlinkage int sys_clone(unsigned long, unsigned long,
  18. unsigned long, unsigned long,
  19. struct pt_regs *);
  20. asmlinkage int sys_vfork(struct pt_regs *);
  21. asmlinkage int sys_execve(char __user *, char __user *__user *,
  22. char __user *__user *, struct pt_regs *);
  23. /* kernel/signal.c */
  24. asmlinkage int sys_sigaltstack(const stack_t __user *, stack_t __user *,
  25. struct pt_regs *);
  26. asmlinkage int sys_rt_sigreturn(struct pt_regs *);
  27. /* kernel/sys_avr32.c */
  28. asmlinkage long sys_mmap2(unsigned long, unsigned long, unsigned long,
  29. unsigned long, unsigned long, off_t);
  30. /* mm/cache.c */
  31. asmlinkage int sys_cacheflush(int, void __user *, size_t);
  32. #endif /* _ASM_AVR32_SYSCALLS_H */