1 #ifndef _ENTRY_H 2 #define _ENTRY_H 3 4 #include <linux/types.h> 5 #include <linux/signal.h> 6 #include <asm/ptrace.h> 7 #include <asm/cputime.h> 8 #include <asm/timer.h> 9 10 extern void (*pgm_check_table[128])(struct pt_regs *); 11 extern void *restart_stack; 12 13 void system_call(void); 14 void pgm_check_handler(void); 15 void ext_int_handler(void); 16 void io_int_handler(void); 17 void mcck_int_handler(void); 18 void restart_int_handler(void); 19 void restart_call_handler(void); 20 void psw_idle(struct s390_idle_data *, struct vtimer_queue *, 21 unsigned long, int); 22 23 asmlinkage long do_syscall_trace_enter(struct pt_regs *regs); 24 asmlinkage void do_syscall_trace_exit(struct pt_regs *regs); 25 26 void do_protection_exception(struct pt_regs *regs); 27 void do_dat_exception(struct pt_regs *regs); 28 void do_asce_exception(struct pt_regs *regs); 29 30 void do_per_trap(struct pt_regs *regs); 31 void syscall_trace(struct pt_regs *regs, int entryexit); 32 void kernel_stack_overflow(struct pt_regs * regs); 33 void do_signal(struct pt_regs *regs); 34 int handle_signal32(unsigned long sig, struct k_sigaction *ka, 35 siginfo_t *info, sigset_t *oldset, struct pt_regs *regs); 36 void do_notify_resume(struct pt_regs *regs); 37 38 struct ext_code; 39 void do_extint(struct pt_regs *regs, struct ext_code, unsigned int, unsigned long); 40 void do_restart(void); 41 void __init startup_init(void); 42 void die(struct pt_regs *regs, const char *str); 43 44 void __init time_init(void); 45 46 struct s390_mmap_arg_struct; 47 struct fadvise64_64_args; 48 struct old_sigaction; 49 50 long sys_mmap2(struct s390_mmap_arg_struct __user *arg); 51 long sys_s390_ipc(uint call, int first, unsigned long second, 52 unsigned long third, void __user *ptr); 53 long sys_s390_personality(unsigned int personality); 54 long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low, 55 size_t len, int advice); 56 long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args); 57 long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high, 58 u32 len_low); 59 long sys_fork(void); 60 long sys_clone(unsigned long newsp, unsigned long clone_flags, 61 int __user *parent_tidptr, int __user *child_tidptr); 62 long sys_vfork(void); 63 void execve_tail(void); 64 long sys_execve(const char __user *name, const char __user *const __user *argv, 65 const char __user *const __user *envp); 66 long sys_sigsuspend(int history0, int history1, old_sigset_t mask); 67 long sys_sigaction(int sig, const struct old_sigaction __user *act, 68 struct old_sigaction __user *oact); 69 long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss); 70 long sys_sigreturn(void); 71 long sys_rt_sigreturn(void); 72 long sys32_sigreturn(void); 73 long sys32_rt_sigreturn(void); 74 75 #endif /* _ENTRY_H */ 76