sigcontext.h
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  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, 2000 by Ralf Baechle
  7.  */
  8. #ifndef _ASM_SIGCONTEXT_H
  9. #define _ASM_SIGCONTEXT_H
  10. /*
  11.  * Keep this struct definition in sync with the sigcontext fragment
  12.  * in arch/mips/tools/offset.c
  13.  */
  14. struct sigcontext {
  15. unsigned int       sc_regmask; /* Unused */
  16. unsigned int       sc_status;
  17. unsigned long long sc_pc;
  18. unsigned long long sc_regs[32];
  19. unsigned long long sc_fpregs[32];
  20. unsigned int       sc_ownedfp;
  21. unsigned int       sc_fpc_csr;
  22. unsigned int       sc_fpc_eir; /* Unused */
  23. unsigned int       sc_used_math;
  24. unsigned int       sc_ssflags; /* Unused */
  25. unsigned long long sc_mdhi;
  26. unsigned long long sc_mdlo;
  27. unsigned int       sc_cause; /* Unused */
  28. unsigned int       sc_badvaddr; /* Unused */
  29. unsigned long      sc_sigset[4]; /* kernel's sigset_t */
  30. };
  31. #endif /* _ASM_SIGCONTEXT_H */