xref: /haiku/headers/posix/arch/arm64/signal.h (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
1 /*
2  * Copyright 2017 Jaroslaw Pelczar <jarek@jpelczar.com>
3  * Distributed under the terms of the MIT License.
4  */
5 
6 #ifndef _ARCH_SIGNAL_H_
7 #define _ARCH_SIGNAL_H_
8 
9 
10 /*
11  * Architecture-specific structure passed to signal handlers
12  */
13 
14 #if defined(__arm64__)
15 struct vregs
16 {
17 	ulong		x[30];
18 	ulong		lr;
19 	ulong		sp;
20 	ulong		elr;
21 	ulong		spsr;
22 	__uint128_t	fp_q[32];
23 	u_int		fpsr;
24 	u_int		fpcr;
25 };
26 #endif /* defined(__arm64__) */
27 
28 
29 #endif /* _ARCH_SIGNAL_H_ */
30