1
2
3
4 #ifndef _ASMNDS32_SIGCONTEXT_H
5 #define _ASMNDS32_SIGCONTEXT_H
6
7
8
9
10
11
12 struct fpu_struct {
13 unsigned long long fd_regs[32];
14 unsigned long fpcsr;
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33 unsigned long UDF_IEX_trap;
34 };
35
36 struct zol_struct {
37 unsigned long nds32_lc;
38 unsigned long nds32_le;
39 unsigned long nds32_lb;
40 };
41
42 struct sigcontext {
43 unsigned long trap_no;
44 unsigned long error_code;
45 unsigned long oldmask;
46 unsigned long nds32_r0;
47 unsigned long nds32_r1;
48 unsigned long nds32_r2;
49 unsigned long nds32_r3;
50 unsigned long nds32_r4;
51 unsigned long nds32_r5;
52 unsigned long nds32_r6;
53 unsigned long nds32_r7;
54 unsigned long nds32_r8;
55 unsigned long nds32_r9;
56 unsigned long nds32_r10;
57 unsigned long nds32_r11;
58 unsigned long nds32_r12;
59 unsigned long nds32_r13;
60 unsigned long nds32_r14;
61 unsigned long nds32_r15;
62 unsigned long nds32_r16;
63 unsigned long nds32_r17;
64 unsigned long nds32_r18;
65 unsigned long nds32_r19;
66 unsigned long nds32_r20;
67 unsigned long nds32_r21;
68 unsigned long nds32_r22;
69 unsigned long nds32_r23;
70 unsigned long nds32_r24;
71 unsigned long nds32_r25;
72 unsigned long nds32_fp;
73 unsigned long nds32_gp;
74 unsigned long nds32_lp;
75 unsigned long nds32_sp;
76 unsigned long nds32_ipc;
77 unsigned long fault_address;
78 unsigned long used_math_flag;
79
80 struct fpu_struct fpu;
81 struct zol_struct zol;
82 };
83
84 #endif