sigcontext.h 828 B

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