entry.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. #ifndef _ENTRY_H
  2. #define _ENTRY_H
  3. #include <linux/types.h>
  4. #include <linux/signal.h>
  5. #include <asm/ptrace.h>
  6. #include <asm/cputime.h>
  7. extern void *restart_stack;
  8. void system_call(void);
  9. void pgm_check_handler(void);
  10. void ext_int_handler(void);
  11. void io_int_handler(void);
  12. void mcck_int_handler(void);
  13. void restart_int_handler(void);
  14. void restart_call_handler(void);
  15. void psw_idle(struct s390_idle_data *, unsigned long);
  16. asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
  17. asmlinkage void do_syscall_trace_exit(struct pt_regs *regs);
  18. void do_protection_exception(struct pt_regs *regs);
  19. void do_dat_exception(struct pt_regs *regs);
  20. void do_asce_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 do_per_trap(struct pt_regs *regs);
  41. void syscall_trace(struct pt_regs *regs, int entryexit);
  42. void kernel_stack_overflow(struct pt_regs * regs);
  43. void do_signal(struct pt_regs *regs);
  44. void handle_signal32(unsigned long sig, struct k_sigaction *ka,
  45. siginfo_t *info, sigset_t *oldset, struct pt_regs *regs);
  46. void do_notify_resume(struct pt_regs *regs);
  47. struct ext_code;
  48. void do_extint(struct pt_regs *regs, struct ext_code, unsigned int, unsigned long);
  49. void do_restart(void);
  50. void __init startup_init(void);
  51. void die(struct pt_regs *regs, const char *str);
  52. void __init time_init(void);
  53. struct s390_mmap_arg_struct;
  54. struct fadvise64_64_args;
  55. struct old_sigaction;
  56. long sys_mmap2(struct s390_mmap_arg_struct __user *arg);
  57. long sys_s390_ipc(uint call, int first, unsigned long second,
  58. unsigned long third, void __user *ptr);
  59. long sys_s390_personality(unsigned int personality);
  60. long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low,
  61. size_t len, int advice);
  62. long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args);
  63. long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high,
  64. u32 len_low);
  65. long sys_sigreturn(void);
  66. long sys_rt_sigreturn(void);
  67. long sys32_sigreturn(void);
  68. long sys32_rt_sigreturn(void);
  69. #endif /* _ENTRY_H */