sigcontext.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /* MN10300 Userspace signal context
  2. *
  3. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  4. * Written by David Howells (dhowells@redhat.com)
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public Licence
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the Licence, or (at your option) any later version.
  10. */
  11. #ifndef _ASM_SIGCONTEXT_H
  12. #define _ASM_SIGCONTEXT_H
  13. struct fpucontext {
  14. /* Regular FPU environment */
  15. unsigned long fs[32]; /* fpu registers */
  16. unsigned long fpcr; /* fpu control register */
  17. };
  18. struct sigcontext {
  19. unsigned long d0;
  20. unsigned long d1;
  21. unsigned long d2;
  22. unsigned long d3;
  23. unsigned long a0;
  24. unsigned long a1;
  25. unsigned long a2;
  26. unsigned long a3;
  27. unsigned long e0;
  28. unsigned long e1;
  29. unsigned long e2;
  30. unsigned long e3;
  31. unsigned long e4;
  32. unsigned long e5;
  33. unsigned long e6;
  34. unsigned long e7;
  35. unsigned long lar;
  36. unsigned long lir;
  37. unsigned long mdr;
  38. unsigned long mcvf;
  39. unsigned long mcrl;
  40. unsigned long mcrh;
  41. unsigned long mdrq;
  42. unsigned long sp;
  43. unsigned long epsw;
  44. unsigned long pc;
  45. struct fpucontext *fpucontext;
  46. unsigned long oldmask;
  47. };
  48. #endif /* _ASM_SIGCONTEXT_H */