1
2
3
4#ifndef _ASMNDS32_SIGCONTEXT_H
5#define _ASMNDS32_SIGCONTEXT_H
6
7
8
9
10
11
12
13struct zol_struct {
14 unsigned long nds32_lc;
15 unsigned long nds32_le;
16 unsigned long nds32_lb;
17};
18
19struct sigcontext {
20 unsigned long trap_no;
21 unsigned long error_code;
22 unsigned long oldmask;
23 unsigned long nds32_r0;
24 unsigned long nds32_r1;
25 unsigned long nds32_r2;
26 unsigned long nds32_r3;
27 unsigned long nds32_r4;
28 unsigned long nds32_r5;
29 unsigned long nds32_r6;
30 unsigned long nds32_r7;
31 unsigned long nds32_r8;
32 unsigned long nds32_r9;
33 unsigned long nds32_r10;
34 unsigned long nds32_r11;
35 unsigned long nds32_r12;
36 unsigned long nds32_r13;
37 unsigned long nds32_r14;
38 unsigned long nds32_r15;
39 unsigned long nds32_r16;
40 unsigned long nds32_r17;
41 unsigned long nds32_r18;
42 unsigned long nds32_r19;
43 unsigned long nds32_r20;
44 unsigned long nds32_r21;
45 unsigned long nds32_r22;
46 unsigned long nds32_r23;
47 unsigned long nds32_r24;
48 unsigned long nds32_r25;
49 unsigned long nds32_fp;
50 unsigned long nds32_gp;
51 unsigned long nds32_lp;
52 unsigned long nds32_sp;
53 unsigned long nds32_ipc;
54 unsigned long fault_address;
55 unsigned long used_math_flag;
56
57 struct zol_struct zol;
58};
59
60#endif
61