]>
Commit | Line | Data |
---|---|---|
a806170e HC |
1 | #ifndef _ENTRY_H |
2 | #define _ENTRY_H | |
3 | ||
4 | #include <linux/types.h> | |
5 | #include <linux/signal.h> | |
6 | #include <asm/ptrace.h> | |
4c1051e3 | 7 | #include <asm/cputime.h> |
638ad34a | 8 | |
638ad34a | 9 | extern void *restart_stack; |
91c15a95 | 10 | extern unsigned long suspend_zero_pages; |
638ad34a | 11 | |
8b646bd7 MS |
12 | void system_call(void); |
13 | void pgm_check_handler(void); | |
14 | void ext_int_handler(void); | |
15 | void io_int_handler(void); | |
16 | void mcck_int_handler(void); | |
17 | void restart_int_handler(void); | |
18 | void restart_call_handler(void); | |
27f6b416 | 19 | void psw_idle(struct s390_idle_data *, unsigned long); |
8b646bd7 | 20 | |
638ad34a MS |
21 | asmlinkage long do_syscall_trace_enter(struct pt_regs *regs); |
22 | asmlinkage void do_syscall_trace_exit(struct pt_regs *regs); | |
23 | ||
aa33c8cb MS |
24 | void do_protection_exception(struct pt_regs *regs); |
25 | void do_dat_exception(struct pt_regs *regs); | |
26 | void do_asce_exception(struct pt_regs *regs); | |
a806170e | 27 | |
b01a37a7 HC |
28 | void addressing_exception(struct pt_regs *regs); |
29 | void data_exception(struct pt_regs *regs); | |
30 | void default_trap_handler(struct pt_regs *regs); | |
31 | void divide_exception(struct pt_regs *regs); | |
32 | void execute_exception(struct pt_regs *regs); | |
33 | void hfp_divide_exception(struct pt_regs *regs); | |
34 | void hfp_overflow_exception(struct pt_regs *regs); | |
35 | void hfp_significance_exception(struct pt_regs *regs); | |
36 | void hfp_sqrt_exception(struct pt_regs *regs); | |
37 | void hfp_underflow_exception(struct pt_regs *regs); | |
38 | void illegal_op(struct pt_regs *regs); | |
39 | void operand_exception(struct pt_regs *regs); | |
40 | void overflow_exception(struct pt_regs *regs); | |
41 | void privileged_op(struct pt_regs *regs); | |
42 | void space_switch_exception(struct pt_regs *regs); | |
43 | void special_op_exception(struct pt_regs *regs); | |
44 | void specification_exception(struct pt_regs *regs); | |
45 | void transaction_exception(struct pt_regs *regs); | |
46 | void translation_exception(struct pt_regs *regs); | |
47 | ||
5e9a2692 | 48 | void do_per_trap(struct pt_regs *regs); |
a806170e HC |
49 | void syscall_trace(struct pt_regs *regs, int entryexit); |
50 | void kernel_stack_overflow(struct pt_regs * regs); | |
51 | void do_signal(struct pt_regs *regs); | |
a610d6e6 | 52 | void handle_signal32(unsigned long sig, struct k_sigaction *ka, |
a806170e | 53 | siginfo_t *info, sigset_t *oldset, struct pt_regs *regs); |
638ad34a | 54 | void do_notify_resume(struct pt_regs *regs); |
a806170e | 55 | |
fde15c3a | 56 | struct ext_code; |
48f6b00c | 57 | void do_extint(struct pt_regs *regs); |
638ad34a | 58 | void do_restart(void); |
a806170e | 59 | void __init startup_init(void); |
aa33c8cb | 60 | void die(struct pt_regs *regs, const char *str); |
a806170e | 61 | |
638ad34a MS |
62 | void __init time_init(void); |
63 | ||
a4679373 | 64 | struct s390_mmap_arg_struct; |
a806170e HC |
65 | struct fadvise64_64_args; |
66 | struct old_sigaction; | |
a806170e | 67 | |
a4679373 | 68 | long sys_mmap2(struct s390_mmap_arg_struct __user *arg); |
baed7fc9 | 69 | long sys_s390_ipc(uint call, int first, unsigned long second, |
a806170e | 70 | unsigned long third, void __user *ptr); |
3a110370 | 71 | long sys_s390_personality(unsigned int personality); |
26689452 | 72 | long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low, |
a806170e | 73 | size_t len, int advice); |
26689452 HC |
74 | long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args); |
75 | long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high, | |
76 | u32 len_low); | |
a806170e HC |
77 | long sys_sigreturn(void); |
78 | long sys_rt_sigreturn(void); | |
79 | long sys32_sigreturn(void); | |
80 | long sys32_rt_sigreturn(void); | |
a806170e HC |
81 | |
82 | #endif /* _ENTRY_H */ |