syscalls_32.h 983 B

123456789101112131415161718192021222324252627282930
  1. #ifndef __ASM_SH_SYSCALLS_32_H
  2. #define __ASM_SH_SYSCALLS_32_H
  3. #ifdef __KERNEL__
  4. #include <linux/compiler.h>
  5. #include <linux/linkage.h>
  6. #include <linux/types.h>
  7. struct pt_regs;
  8. asmlinkage int sys_sigreturn(void);
  9. asmlinkage int sys_rt_sigreturn(void);
  10. asmlinkage int sys_sh_pipe(void);
  11. asmlinkage ssize_t sys_pread_wrapper(unsigned int fd, char __user *buf,
  12. size_t count, long dummy, loff_t pos);
  13. asmlinkage ssize_t sys_pwrite_wrapper(unsigned int fd, const char __user *buf,
  14. size_t count, long dummy, loff_t pos);
  15. asmlinkage int sys_fadvise64_64_wrapper(int fd, u32 offset0, u32 offset1,
  16. u32 len0, u32 len1, int advice);
  17. /* Misc syscall related bits */
  18. asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
  19. asmlinkage void do_syscall_trace_leave(struct pt_regs *regs);
  20. asmlinkage void do_notify_resume(struct pt_regs *regs, unsigned int save_r0,
  21. unsigned long thread_info_flags);
  22. #endif /* __KERNEL__ */
  23. #endif /* __ASM_SH_SYSCALLS_32_H */