sigcontext.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 1996, 1997, 1999 by Ralf Baechle
  7. * Copyright (C) 1999 Silicon Graphics, Inc.
  8. */
  9. #ifndef _ASM_SIGCONTEXT_H
  10. #define _ASM_SIGCONTEXT_H
  11. #include <uapi/asm/sigcontext.h>
  12. #if _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32
  13. struct sigcontext32 {
  14. __u32 sc_regmask; /* Unused */
  15. __u32 sc_status; /* Unused */
  16. __u64 sc_pc;
  17. __u64 sc_regs[32];
  18. __u64 sc_fpregs[32];
  19. __u32 sc_acx; /* Only MIPS32; was sc_ownedfp */
  20. __u32 sc_fpc_csr;
  21. __u32 sc_fpc_eir; /* Unused */
  22. __u32 sc_used_math;
  23. __u32 sc_dsp; /* dsp status, was sc_ssflags */
  24. __u64 sc_mdhi;
  25. __u64 sc_mdlo;
  26. __u32 sc_hi1; /* Was sc_cause */
  27. __u32 sc_lo1; /* Was sc_badvaddr */
  28. __u32 sc_hi2; /* Was sc_sigset[4] */
  29. __u32 sc_lo2;
  30. __u32 sc_hi3;
  31. __u32 sc_lo3;
  32. };
  33. #endif /* _MIPS_SIM == _MIPS_SIM_ABI64 || _MIPS_SIM == _MIPS_SIM_NABI32 */
  34. #endif /* _ASM_SIGCONTEXT_H */