xref: /aosp_15_r20/prebuilts/build-tools/sysroots/i686-unknown-linux-musl/include/asm-riscv/asm/sigcontext.h (revision cda5da8d549138a6648c5ee6d7a49cf8f4a657be)
1 /*
2  * This file is auto-generated. Modifications will be lost.
3  *
4  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5  * for more information.
6  */
7 #ifndef _UAPI_ASM_RISCV_SIGCONTEXT_H
8 #define _UAPI_ASM_RISCV_SIGCONTEXT_H
9 #include <asm/ptrace.h>
10 #define RISCV_V_MAGIC 0x53465457
11 #define END_MAGIC 0x0
12 #define END_HDR_SIZE 0x0
13 #ifndef __ASSEMBLY__
14 struct __sc_riscv_v_state {
15   struct __riscv_v_ext_state v_state;
16 } __attribute__((aligned(16)));
17 struct sigcontext {
18   struct user_regs_struct sc_regs;
19   union {
20     union __riscv_fp_state sc_fpregs;
21     struct __riscv_extra_ext_header sc_extdesc;
22   };
23 };
24 #endif
25 #endif
26