xref: /haiku/headers/posix/arch/riscv64/signal.h (revision 9e25244c5e9051f6cd333820d6332397361abd6c)
1 /*
2  * Copyright 2018-2019 Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _ARCH_RISCV64_SIGNAL_H_
6 #define _ARCH_RISCV64_SIGNAL_H_
7 
8 
9 /*
10  * Architecture-specific structure passed to signal handlers
11  */
12 
13 #if (defined(__riscv) && __riscv_xlen == 64)
14 struct vregs {
15 	ulong x[31];
16 	ulong pc;
17 	double f[32];
18 	ulong fcsr;
19 };
20 #endif /* (defined(__riscv) && __riscv_xlen == 64) */
21 
22 
23 #endif /* _ARCH_RISCV64_SIGNAL_H_ */
24