entry.h 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #ifndef _ENTRY_H
  2. #define _ENTRY_H
  3. #include <linux/percpu.h>
  4. #include <linux/types.h>
  5. #include <linux/signal.h>
  6. #include <asm/ptrace.h>
  7. #include <asm/idle.h>
  8. extern void *restart_stack;
  9. extern unsigned long suspend_zero_pages;
  10. void system_call(void);
  11. void pgm_check_handler(void);
  12. void ext_int_handler(void);
  13. void io_int_handler(void);
  14. void mcck_int_handler(void);
  15. void restart_int_handler(void);
  16. void restart_call_handler(void);
  17. asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
  18. asmlinkage void do_syscall_trace_exit(struct pt_regs *regs);
  19. void do_protection_exception(struct pt_regs *regs);
  20. void do_dat_exception(struct pt_regs *regs);
  21. void addressing_exception(struct pt_regs *regs);
  22. void data_exception(struct pt_regs *regs);
  23. void default_trap_handler(struct pt_regs *regs);
  24. void divide_exception(struct pt_regs *regs);
  25. void execute_exception(struct pt_regs *regs);
  26. void hfp_divide_exception(struct pt_regs *regs);
  27. void hfp_overflow_exception(struct pt_regs *regs);
  28. void hfp_significance_exception(struct pt_regs *regs);
  29. void hfp_sqrt_exception(struct pt_regs *regs);
  30. void hfp_underflow_exception(struct pt_regs *regs);
  31. void illegal_op(struct pt_regs *regs);
  32. void operand_exception(struct pt_regs *regs);
  33. void overflow_exception(struct pt_regs *regs);
  34. void privileged_op(struct pt_regs *regs);
  35. void space_switch_exception(struct pt_regs *regs);
  36. void special_op_exception(struct pt_regs *regs);
  37. void specification_exception(struct pt_regs *regs);
  38. void transaction_exception(struct pt_regs *regs);
  39. void translation_exception(struct pt_regs *regs);
  40. void vector_exception(struct pt_regs *regs);
  41. void do_per_trap(struct pt_regs *regs);
  42. void do_report_trap(struct pt_regs *regs, int si_signo, int si_code, char *str);
  43. void syscall_trace(struct pt_regs *regs, int entryexit);
  44. void kernel_stack_overflow(struct pt_regs * regs);
  45. void do_signal(struct pt_regs *regs);
  46. void handle_signal32(struct ksignal *ksig, sigset_t *oldset,
  47. struct pt_regs *regs);
  48. void do_notify_resume(struct pt_regs *regs);
  49. void __init init_IRQ(void);
  50. void do_IRQ(struct pt_regs *regs, int irq);
  51. void do_restart(void);
  52. void __init startup_init(void);
  53. void die(struct pt_regs *regs, const char *str);
  54. int setup_profiling_timer(unsigned int multiplier);
  55. void __init time_init(void);
  56. int pfn_is_nosave(unsigned long);
  57. void s390_early_resume(void);
  58. unsigned long prepare_ftrace_return(unsigned long parent, unsigned long ip);
  59. struct s390_mmap_arg_struct;
  60. struct fadvise64_64_args;
  61. struct old_sigaction;
  62. long sys_rt_sigreturn(void);
  63. long sys_sigreturn(void);
  64. long sys_s390_personality(unsigned int personality);
  65. long sys_s390_runtime_instr(int command, int signum);
  66. long sys_s390_pci_mmio_write(unsigned long, const void __user *, size_t);
  67. long sys_s390_pci_mmio_read(unsigned long, void __user *, size_t);
  68. DECLARE_PER_CPU(u64, mt_cycles[8]);
  69. void verify_facilities(void);
  70. #endif /* _ENTRY_H */