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