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