1:
2:
3:
4:
5: struct target_pt_regs {
6:
7: abi_ulong regs[32];
8:
9:
10: abi_ulong cp0_status;
11: abi_ulong lo;
12: abi_ulong hi;
13: abi_ulong cp0_badvaddr;
14: abi_ulong cp0_cause;
15: abi_ulong cp0_epc;
16: };
17:
18:
19: #undef TARGET_ENOMSG
20: #define TARGET_ENOMSG 35
21: #undef TARGET_EIDRM
22: #define TARGET_EIDRM 36
23: #undef TARGET_ECHRNG
24: #define TARGET_ECHRNG 37
25: #undef TARGET_EL2NSYNC
26: #define TARGET_EL2NSYNC 38
27: #undef TARGET_EL3HLT
28: #define TARGET_EL3HLT 39
29: #undef TARGET_EL3RST
30: #define TARGET_EL3RST 40
31: #undef TARGET_ELNRNG
32: #define TARGET_ELNRNG 41
33: #undef TARGET_EUNATCH
34: #define TARGET_EUNATCH 42
35: #undef TARGET_ENOCSI
36: #define TARGET_ENOCSI 43
37: #undef TARGET_EL2HLT
38: #define TARGET_EL2HLT 44
39: #undef TARGET_EDEADLK
40: #define TARGET_EDEADLK 45
41: #undef TARGET_ENOLCK
42: #define TARGET_ENOLCK 46
43: #undef TARGET_EBADE
44: #define TARGET_EBADE 50
45: #undef TARGET_EBADR
46: #define TARGET_EBADR 51
47: #undef TARGET_EXFULL
48: #define TARGET_EXFULL 52
49: #undef TARGET_ENOANO
50: #define TARGET_ENOANO 53
51: #undef TARGET_EBADRQC
52: #define TARGET_EBADRQC 54
53: #undef TARGET_EBADSLT
54: #define TARGET_EBADSLT 55
55: #undef TARGET_EDEADLOCK
56: #define TARGET_EDEADLOCK 56
57: #undef TARGET_EBFONT
58: #define TARGET_EBFONT 59
59: #undef TARGET_ENOSTR
60: #define TARGET_ENOSTR 60
61: #undef TARGET_ENODATA
62: #define TARGET_ENODATA 61
63: #undef TARGET_ETIME
64: #define TARGET_ETIME 62
65: #undef TARGET_ENOSR
66: #define TARGET_ENOSR 63
67: #undef TARGET_ENONET
68: #define TARGET_ENONET 64
69: #undef TARGET_ENOPKG
70: #define TARGET_ENOPKG 65
71: #undef TARGET_EREMOTE
72: #define TARGET_EREMOTE 66
73: #undef TARGET_ENOLINK
74: #define TARGET_ENOLINK 67
75: #undef TARGET_EADV
76: #define TARGET_EADV 68
77: #undef TARGET_ESRMNT
78: #define TARGET_ESRMNT 69
79: #undef TARGET_ECOMM
80: #define TARGET_ECOMM 70
81: #undef TARGET_EPROTO
82: #define TARGET_EPROTO 71
83: #undef TARGET_EDOTDOT
84: #define TARGET_EDOTDOT 73
85: #undef TARGET_EMULTIHOP
86: #define TARGET_EMULTIHOP 74
87: #undef TARGET_EBADMSG
88: #define TARGET_EBADMSG 77
89: #undef TARGET_ENAMETOOLONG
90: #define TARGET_ENAMETOOLONG 78
91: #undef TARGET_EOVERFLOW
92: #define TARGET_EOVERFLOW 79
93: #undef TARGET_ENOTUNIQ
94: #define TARGET_ENOTUNIQ 80
95: #undef TARGET_EBADFD
96: #define TARGET_EBADFD 81
97: #undef TARGET_EREMCHG
98: #define TARGET_EREMCHG 82
99: #undef TARGET_ELIBACC
100: #define TARGET_ELIBACC 83
101: #undef TARGET_ELIBBAD
102: #define TARGET_ELIBBAD 84
103: #undef TARGET_ELIBSCN
104: #define TARGET_ELIBSCN 85
105: #undef TARGET_ELIBMAX
106: #define TARGET_ELIBMAX 86
107: #undef TARGET_ELIBEXEC
108: #define TARGET_ELIBEXEC 87
109: #undef TARGET_EILSEQ
110: #define TARGET_EILSEQ 88
111: #undef TARGET_ENOSYS
112: #define TARGET_ENOSYS 89
113: #undef TARGET_ELOOP
114: #define TARGET_ELOOP 90
115: #undef TARGET_ERESTART
116: #define TARGET_ERESTART 91
117: #undef TARGET_ESTRPIPE
118: #define TARGET_ESTRPIPE 92
119: #undef TARGET_ENOTEMPTY
120: #define TARGET_ENOTEMPTY 93
121: #undef TARGET_EUSERS
122: #define TARGET_EUSERS 94
123: #undef TARGET_ENOTSOCK
124: #define TARGET_ENOTSOCK 95
125: #undef TARGET_EDESTADDRREQ
126: #define TARGET_EDESTADDRREQ 96
127: #undef TARGET_EMSGSIZE
128: #define TARGET_EMSGSIZE 97
129: #undef TARGET_EPROTOTYPE
130: #define TARGET_EPROTOTYPE 98
131: #undef TARGET_ENOPROTOOPT
132: #define TARGET_ENOPROTOOPT 99
133: #undef TARGET_EPROTONOSUPPORT
134: #define TARGET_EPROTONOSUPPORT 120
135: #undef TARGET_ESOCKTNOSUPPORT
136: #define TARGET_ESOCKTNOSUPPORT 121
137: #undef TARGET_EOPNOTSUPP
138: #define TARGET_EOPNOTSUPP 122
139: #undef TARGET_EPFNOSUPPORT
140: #define TARGET_EPFNOSUPPORT 123
141: #undef TARGET_EAFNOSUPPORT
142: #define TARGET_EAFNOSUPPORT 124
143: #undef TARGET_EADDRINUSE
144: #define TARGET_EADDRINUSE 125
145: #undef TARGET_EADDRNOTAVAIL
146: #define TARGET_EADDRNOTAVAIL 126
147: #undef TARGET_ENETDOWN
148: #define TARGET_ENETDOWN 127
149: #undef TARGET_ENETUNREACH
150: #define TARGET_ENETUNREACH 128
151: #undef TARGET_ENETRESET
152: #define TARGET_ENETRESET 129
153: #undef TARGET_ECONNABORTED
154: #define TARGET_ECONNABORTED 130
155: #undef TARGET_ECONNRESET
156: #define TARGET_ECONNRESET 131
157: #undef TARGET_ENOBUFS
158: #define TARGET_ENOBUFS 132
159: #undef TARGET_EISCONN
160: #define TARGET_EISCONN 133
161: #undef TARGET_ENOTCONN
162: #define TARGET_ENOTCONN 134
163: #undef TARGET_EUCLEAN
164: #define TARGET_EUCLEAN 135
165: #undef TARGET_ENOTNAM
166: #define TARGET_ENOTNAM 137
167: #undef TARGET_ENAVAIL
168: #define TARGET_ENAVAIL 138
169: #undef TARGET_EISNAM
170: #define TARGET_EISNAM 139
171: #undef TARGET_EREMOTEIO
172: #define TARGET_EREMOTEIO 140
173: #undef TARGET_EINIT
174: #define TARGET_EINIT 141
175: #undef TARGET_EREMDEV
176: #define TARGET_EREMDEV 142
177: #undef TARGET_ESHUTDOWN
178: #define TARGET_ESHUTDOWN 143
179: #undef TARGET_ETOOMANYREFS
180: #define TARGET_ETOOMANYREFS 144
181: #undef TARGET_ETIMEDOUT
182: #define TARGET_ETIMEDOUT 145
183: #undef TARGET_ECONNREFUSED
184: #define TARGET_ECONNREFUSED 146
185: #undef TARGET_EHOSTDOWN
186: #define TARGET_EHOSTDOWN 147
187: #undef TARGET_EHOSTUNREACH
188: #define TARGET_EHOSTUNREACH 148
189: #undef TARGET_EALREADY
190: #define TARGET_EALREADY 149
191: #undef TARGET_EINPROGRESS
192: #define TARGET_EINPROGRESS 150
193: #undef TARGET_ESTALE
194: #define TARGET_ESTALE 151
195: #undef TARGET_ECANCELED
196: #define TARGET_ECANCELED 158
197:
198:
199:
200: #undef TARGET_ENOMEDIUM
201: #define TARGET_ENOMEDIUM 159
202: #undef TARGET_EMEDIUMTYPE
203: #define TARGET_EMEDIUMTYPE 160
204: #undef TARGET_ENOKEY
205: #define TARGET_ENOKEY 161
206: #undef TARGET_EKEYEXPIRED
207: #define TARGET_EKEYEXPIRED 162
208: #undef TARGET_EKEYREVOKED
209: #define TARGET_EKEYREVOKED 163
210: #undef TARGET_EKEYREJECTED
211: #define TARGET_EKEYREJECTED 164
212:
213:
214: #undef TARGET_EOWNERDEAD
215: #define TARGET_EOWNERDEAD 165
216: #undef TARGET_ENOTRECOVERABLE
217: #define TARGET_ENOTRECOVERABLE 166
218:
219:
220:
221: #define UNAME_MACHINE "mips64"