1 /* 2 * Copyright 2019 Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 #ifndef _ARCH_ARM64_SIGNAL_H_ 7 #define _ARCH_ARM64_SIGNAL_H_ 8 9 10 /* 11 * Architecture-specific structure passed to signal handlers 12 */ 13 14 #if defined(__aarch64__) 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(__aarch64__) */ 27 28 29 #endif /* _ARCH_ARM64_SIGNAL_H_ */ 30