2008-04-17 13:46:26 +08:00
|
|
|
#ifndef _ENTRY_H
|
|
|
|
#define _ENTRY_H
|
|
|
|
|
2016-05-07 18:15:21 +08:00
|
|
|
#include <linux/percpu.h>
|
2008-04-17 13:46:26 +08:00
|
|
|
#include <linux/types.h>
|
|
|
|
#include <linux/signal.h>
|
|
|
|
#include <asm/ptrace.h>
|
2014-10-01 16:57:57 +08:00
|
|
|
#include <asm/idle.h>
|
2011-10-30 22:17:13 +08:00
|
|
|
|
|
|
|
extern void *restart_stack;
|
2013-04-08 22:09:31 +08:00
|
|
|
extern unsigned long suspend_zero_pages;
|
2011-10-30 22:17:13 +08:00
|
|
|
|
2012-03-11 23:59:26 +08:00
|
|
|
void system_call(void);
|
|
|
|
void pgm_check_handler(void);
|
|
|
|
void ext_int_handler(void);
|
|
|
|
void io_int_handler(void);
|
|
|
|
void mcck_int_handler(void);
|
|
|
|
void restart_int_handler(void);
|
|
|
|
void restart_call_handler(void);
|
|
|
|
|
2011-10-30 22:17:13 +08:00
|
|
|
asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
|
|
|
|
asmlinkage void do_syscall_trace_exit(struct pt_regs *regs);
|
|
|
|
|
2011-12-27 18:27:18 +08:00
|
|
|
void do_protection_exception(struct pt_regs *regs);
|
|
|
|
void do_dat_exception(struct pt_regs *regs);
|
2008-04-17 13:46:26 +08:00
|
|
|
|
2012-10-19 00:10:06 +08:00
|
|
|
void addressing_exception(struct pt_regs *regs);
|
|
|
|
void data_exception(struct pt_regs *regs);
|
|
|
|
void default_trap_handler(struct pt_regs *regs);
|
|
|
|
void divide_exception(struct pt_regs *regs);
|
|
|
|
void execute_exception(struct pt_regs *regs);
|
|
|
|
void hfp_divide_exception(struct pt_regs *regs);
|
|
|
|
void hfp_overflow_exception(struct pt_regs *regs);
|
|
|
|
void hfp_significance_exception(struct pt_regs *regs);
|
|
|
|
void hfp_sqrt_exception(struct pt_regs *regs);
|
|
|
|
void hfp_underflow_exception(struct pt_regs *regs);
|
|
|
|
void illegal_op(struct pt_regs *regs);
|
|
|
|
void operand_exception(struct pt_regs *regs);
|
|
|
|
void overflow_exception(struct pt_regs *regs);
|
|
|
|
void privileged_op(struct pt_regs *regs);
|
|
|
|
void space_switch_exception(struct pt_regs *regs);
|
|
|
|
void special_op_exception(struct pt_regs *regs);
|
|
|
|
void specification_exception(struct pt_regs *regs);
|
|
|
|
void transaction_exception(struct pt_regs *regs);
|
|
|
|
void translation_exception(struct pt_regs *regs);
|
2014-10-06 23:53:53 +08:00
|
|
|
void vector_exception(struct pt_regs *regs);
|
2012-10-19 00:10:06 +08:00
|
|
|
|
2011-01-05 19:48:10 +08:00
|
|
|
void do_per_trap(struct pt_regs *regs);
|
2014-09-22 22:39:06 +08:00
|
|
|
void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str);
|
2008-04-17 13:46:26 +08:00
|
|
|
void syscall_trace(struct pt_regs *regs, int entryexit);
|
|
|
|
void kernel_stack_overflow(struct pt_regs * regs);
|
|
|
|
void do_signal(struct pt_regs *regs);
|
2014-07-14 04:21:03 +08:00
|
|
|
void handle_signal32(struct ksignal *ksig, sigset_t *oldset,
|
|
|
|
struct pt_regs *regs);
|
2011-10-30 22:17:13 +08:00
|
|
|
void do_notify_resume(struct pt_regs *regs);
|
2008-04-17 13:46:26 +08:00
|
|
|
|
2013-09-07 01:10:48 +08:00
|
|
|
void __init init_IRQ(void);
|
|
|
|
void do_IRQ(struct pt_regs *regs, int irq);
|
2011-10-30 22:17:13 +08:00
|
|
|
void do_restart(void);
|
2008-04-17 13:46:26 +08:00
|
|
|
void __init startup_init(void);
|
2011-12-27 18:27:18 +08:00
|
|
|
void die(struct pt_regs *regs, const char *str);
|
2013-09-07 01:10:48 +08:00
|
|
|
int setup_profiling_timer(unsigned int multiplier);
|
2011-10-30 22:17:13 +08:00
|
|
|
void __init time_init(void);
|
2013-09-07 01:10:48 +08:00
|
|
|
int pfn_is_nosave(unsigned long);
|
|
|
|
void s390_early_resume(void);
|
|
|
|
unsigned long prepare_ftrace_return(unsigned long parent, unsigned long ip);
|
2011-10-30 22:17:13 +08:00
|
|
|
|
2010-03-11 07:21:15 +08:00
|
|
|
struct s390_mmap_arg_struct;
|
2008-04-17 13:46:26 +08:00
|
|
|
struct fadvise64_64_args;
|
|
|
|
struct old_sigaction;
|
|
|
|
|
2014-12-12 20:11:08 +08:00
|
|
|
long sys_rt_sigreturn(void);
|
|
|
|
long sys_sigreturn(void);
|
|
|
|
|
2014-02-27 22:16:04 +08:00
|
|
|
long sys_s390_personality(unsigned int personality);
|
2014-03-01 19:18:46 +08:00
|
|
|
long sys_s390_runtime_instr(int command, int signum);
|
2014-11-14 21:27:58 +08:00
|
|
|
long sys_s390_pci_mmio_write(unsigned long, const void __user *, size_t);
|
|
|
|
long sys_s390_pci_mmio_read(unsigned long, void __user *, size_t);
|
2016-05-07 18:15:21 +08:00
|
|
|
|
|
|
|
DECLARE_PER_CPU(u64, mt_cycles[8]);
|
|
|
|
|
2016-06-27 21:52:38 +08:00
|
|
|
void verify_facilities(void);
|
|
|
|
|
2008-04-17 13:46:26 +08:00
|
|
|
#endif /* _ENTRY_H */
|