sigcontext.h 606 B

12345678910111213141516171819202122
  1. /* Machine-dependent signal context structure for Linux. LoongArch64 version.
  2. Copyright (C) 2024 uClibc-ng contributors.
  3. Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  4. */
  5. #ifndef _BITS_SIGCONTEXT_H
  6. #define _BITS_SIGCONTEXT_H 1
  7. #if !defined _SIGNAL_H && !defined _SYS_UCONTEXT_H
  8. # error "Never use <bits/sigcontext.h> directly; include <signal.h> instead."
  9. #endif
  10. struct sigcontext {
  11. unsigned long long int sc_pc;
  12. unsigned long long int sc_regs[32];
  13. unsigned int sc_flags;
  14. unsigned long long int sc_extcontext[0]
  15. __attribute__ ((__aligned__ (16)));
  16. };
  17. #endif