sigcontext.h 891 B

123456789101112131415161718192021222324252627282930313233343536
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _ASMAXP_SIGCONTEXT_H
  3. #define _ASMAXP_SIGCONTEXT_H
  4. struct sigcontext {
  5. /*
  6. * What should we have here? I'd probably better use the same
  7. * stack layout as OSF/1, just in case we ever want to try
  8. * running their binaries..
  9. *
  10. * This is the basic layout, but I don't know if we'll ever
  11. * actually fill in all the values..
  12. */
  13. long sc_onstack;
  14. long sc_mask;
  15. long sc_pc;
  16. long sc_ps;
  17. long sc_regs[32];
  18. long sc_ownedfp;
  19. long sc_fpregs[32];
  20. unsigned long sc_fpcr;
  21. unsigned long sc_fp_control;
  22. unsigned long sc_reserved1, sc_reserved2;
  23. unsigned long sc_ssize;
  24. char * sc_sbase;
  25. unsigned long sc_traparg_a0;
  26. unsigned long sc_traparg_a1;
  27. unsigned long sc_traparg_a2;
  28. unsigned long sc_fp_trap_pc;
  29. unsigned long sc_fp_trigger_sum;
  30. unsigned long sc_fp_trigger_inst;
  31. };
  32. #endif