entry.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. #include <asm/timer.h>
  8. extern void (*pgm_check_table[128])(struct pt_regs *);
  9. extern void *restart_stack;
  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. void psw_idle(struct s390_idle_data *, struct vtimer_queue *,
  18. unsigned long, int);
  19. asmlinkage long do_syscall_trace_enter(struct pt_regs *regs);
  20. asmlinkage void do_syscall_trace_exit(struct pt_regs *regs);
  21. void do_protection_exception(struct pt_regs *regs);
  22. void do_dat_exception(struct pt_regs *regs);
  23. void do_asce_exception(struct pt_regs *regs);
  24. void do_per_trap(struct pt_regs *regs);
  25. void syscall_trace(struct pt_regs *regs, int entryexit);
  26. void kernel_stack_overflow(struct pt_regs * regs);
  27. void do_signal(struct pt_regs *regs);
  28. int handle_signal32(unsigned long sig, struct k_sigaction *ka,
  29. siginfo_t *info, sigset_t *oldset, struct pt_regs *regs);
  30. void do_notify_resume(struct pt_regs *regs);
  31. struct ext_code;
  32. void do_extint(struct pt_regs *regs, struct ext_code, unsigned int, unsigned long);
  33. void do_restart(void);
  34. void __init startup_init(void);
  35. void die(struct pt_regs *regs, const char *str);
  36. void __init time_init(void);
  37. struct s390_mmap_arg_struct;
  38. struct fadvise64_64_args;
  39. struct old_sigaction;
  40. long sys_mmap2(struct s390_mmap_arg_struct __user *arg);
  41. long sys_s390_ipc(uint call, int first, unsigned long second,
  42. unsigned long third, void __user *ptr);
  43. long sys_s390_personality(unsigned int personality);
  44. long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low,
  45. size_t len, int advice);
  46. long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args);
  47. long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high,
  48. u32 len_low);
  49. long sys_fork(void);
  50. long sys_clone(unsigned long newsp, unsigned long clone_flags,
  51. int __user *parent_tidptr, int __user *child_tidptr);
  52. long sys_vfork(void);
  53. void execve_tail(void);
  54. long sys_execve(const char __user *name, const char __user *const __user *argv,
  55. const char __user *const __user *envp);
  56. long sys_sigsuspend(int history0, int history1, old_sigset_t mask);
  57. long sys_sigaction(int sig, const struct old_sigaction __user *act,
  58. struct old_sigaction __user *oact);
  59. long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss);
  60. long sys_sigreturn(void);
  61. long sys_rt_sigreturn(void);
  62. long sys32_sigreturn(void);
  63. long sys32_rt_sigreturn(void);
  64. #endif /* _ENTRY_H */