sigframe.h 776 B

12345678910111213141516171819202122232425
  1. struct sigscratch {
  2. unsigned long scratch_unat; /* ar.unat for the general registers saved in pt */
  3. unsigned long ar_pfs; /* for syscalls, the user-level function-state */
  4. struct pt_regs pt;
  5. };
  6. struct sigframe {
  7. /*
  8. * Place signal handler args where user-level unwinder can find them easily.
  9. * DO NOT MOVE THESE. They are part of the IA-64 Linux ABI and there is
  10. * user-level code that depends on their presence!
  11. */
  12. unsigned long arg0; /* signum */
  13. unsigned long arg1; /* siginfo pointer */
  14. unsigned long arg2; /* sigcontext pointer */
  15. /*
  16. * End of architected state.
  17. */
  18. void __user *handler; /* pointer to the plabel of the signal handler */
  19. struct siginfo info;
  20. struct sigcontext sc;
  21. };
  22. extern void ia64_do_signal (struct sigscratch *, long);