1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 #ifndef _ASMARM_SIGCONTEXT_H 3 #define _ASMARM_SIGCONTEXT_H 4 5 /* 6 * Signal context structure - contains all info to do with the state 7 * before the signal handler was invoked. Note: only add new entries 8 * to the end of the structure. 9 */ 10 struct sigcontext { 11 unsigned long trap_no; 12 unsigned long error_code; 13 unsigned long oldmask; 14 unsigned long arm_r0; 15 unsigned long arm_r1; 16 unsigned long arm_r2; 17 unsigned long arm_r3; 18 unsigned long arm_r4; 19 unsigned long arm_r5; 20 unsigned long arm_r6; 21 unsigned long arm_r7; 22 unsigned long arm_r8; 23 unsigned long arm_r9; 24 unsigned long arm_r10; 25 unsigned long arm_fp; 26 unsigned long arm_ip; 27 unsigned long arm_sp; 28 unsigned long arm_lr; 29 unsigned long arm_pc; 30 unsigned long arm_cpsr; 31 unsigned long fault_address; 32 }; 33 34 35 #endif 36