sigframe.h 793 B

12345678910111213141516171819202122232425262728293031323334
  1. /* MN10300 Signal frame definitions
  2. *
  3. * Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd.
  4. * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
  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. struct sigframe
  12. {
  13. void (*pretcode)(void);
  14. int sig;
  15. struct sigcontext *psc;
  16. struct sigcontext sc;
  17. struct fpucontext fpuctx;
  18. unsigned long extramask[_NSIG_WORDS-1];
  19. char retcode[8];
  20. };
  21. struct rt_sigframe
  22. {
  23. void (*pretcode)(void);
  24. int sig;
  25. struct siginfo *pinfo;
  26. void *puc;
  27. struct siginfo info;
  28. struct ucontext uc;
  29. struct fpucontext fpuctx;
  30. char retcode[8];
  31. };