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