sigcontext.h 557 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. #ifndef _ASMPARISC_SIGCONTEXT_H
  3. #define _ASMPARISC_SIGCONTEXT_H
  4. #define PARISC_SC_FLAG_ONSTACK 1<<0
  5. #define PARISC_SC_FLAG_IN_SYSCALL 1<<1
  6. /* We will add more stuff here as it becomes necessary, until we know
  7. it works. */
  8. struct sigcontext {
  9. unsigned long sc_flags;
  10. unsigned long sc_gr[32]; /* PSW in sc_gr[0] */
  11. unsigned long long sc_fr[32]; /* FIXME, do we need other state info? */
  12. unsigned long sc_iasq[2];
  13. unsigned long sc_iaoq[2];
  14. unsigned long sc_sar; /* cr11 */
  15. };
  16. #endif