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