sigcontext.h 537 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
  2. /*
  3. * Copyright (C) 2012 Regents of the University of California
  4. */
  5. #ifndef _UAPI_ASM_RISCV_SIGCONTEXT_H
  6. #define _UAPI_ASM_RISCV_SIGCONTEXT_H
  7. #include <asm/ptrace.h>
  8. /*
  9. * Signal context structure
  10. *
  11. * This contains the context saved before a signal handler is invoked;
  12. * it is restored by sys_sigreturn / sys_rt_sigreturn.
  13. */
  14. struct sigcontext {
  15. struct user_regs_struct sc_regs;
  16. union __riscv_fp_state sc_fpregs;
  17. };
  18. #endif /* _UAPI_ASM_RISCV_SIGCONTEXT_H */