1 /* default linux values for the selectors */
4 struct target_pt_regs
{
25 /* JRP - These are the values provided to a0-a2 by PALcode */
29 /* These are saved by PAL-code: */
36 /* Those is needed by qemu to temporary store the user stack pointer */
41 #define UNAME_MACHINE "alpha"
44 #define TARGET_EDEADLK 11
46 #define TARGET_EAGAIN 35
47 #undef TARGET_EINPROGRESS
48 #define TARGET_EINPROGRESS 36
49 #undef TARGET_EALREADY
50 #define TARGET_EALREADY 37
51 #undef TARGET_ENOTSOCK
52 #define TARGET_ENOTSOCK 38
53 #undef TARGET_EDESTADDRREQ
54 #define TARGET_EDESTADDRREQ 39
55 #undef TARGET_EMSGSIZE
56 #define TARGET_EMSGSIZE 40
57 #undef TARGET_EPROTOTYPE
58 #define TARGET_EPROTOTYPE 41
59 #undef TARGET_ENOPROTOOPT
60 #define TARGET_ENOPROTOOPT 42
61 #undef TARGET_EPROTONOSUPPORT
62 #define TARGET_EPROTONOSUPPORT 43
63 #undef TARGET_ESOCKTNOSUPPORT
64 #define TARGET_ESOCKTNOSUPPORT 44
65 #undef TARGET_EOPNOTSUPP
66 #define TARGET_EOPNOTSUPP 45
67 #undef TARGET_EPFNOSUPPORT
68 #define TARGET_EPFNOSUPPORT 46
69 #undef TARGET_EAFNOSUPPORT
70 #define TARGET_EAFNOSUPPORT 47
71 #undef TARGET_EADDRINUSE
72 #define TARGET_EADDRINUSE 48
73 #undef TARGET_EADDRNOTAVAIL
74 #define TARGET_EADDRNOTAVAIL 49
75 #undef TARGET_ENETDOWN
76 #define TARGET_ENETDOWN 50
77 #undef TARGET_ENETUNREACH
78 #define TARGET_ENETUNREACH 51
79 #undef TARGET_ENETRESET
80 #define TARGET_ENETRESET 52
81 #undef TARGET_ECONNABORTED
82 #define TARGET_ECONNABORTED 53
83 #undef TARGET_ECONNRESET
84 #define TARGET_ECONNRESET 54
86 #define TARGET_ENOBUFS 55
88 #define TARGET_EISCONN 56
89 #undef TARGET_ENOTCONN
90 #define TARGET_ENOTCONN 57
91 #undef TARGET_ESHUTDOWN
92 #define TARGET_ESHUTDOWN 58
93 #undef TARGET_ETOOMANYREFS
94 #define TARGET_ETOOMANYREFS 59
95 #undef TARGET_ETIMEDOUT
96 #define TARGET_ETIMEDOUT 60
97 #undef TARGET_ECONNREFUSED
98 #define TARGET_ECONNREFUSED 61
100 #define TARGET_ELOOP 62
101 #undef TARGET_ENAMETOOLONG
102 #define TARGET_ENAMETOOLONG 63
103 #undef TARGET_EHOSTDOWN
104 #define TARGET_EHOSTDOWN 64
105 #undef TARGET_EHOSTUNREACH
106 #define TARGET_EHOSTUNREACH 65
107 #undef TARGET_ENOTEMPTY
108 #define TARGET_ENOTEMPTY 66
111 #define TARGET_EUSERS 68
113 #define TARGET_EDQUOT 69
115 #define TARGET_ESTALE 70
116 #undef TARGET_EREMOTE
117 #define TARGET_EREMOTE 71
120 #define TARGET_ENOLCK 77
122 #define TARGET_ENOSYS 78
125 #define TARGET_ENOMSG 80
127 #define TARGET_EIDRM 81
129 #define TARGET_ENOSR 82
131 #define TARGET_ETIME 83
132 #undef TARGET_EBADMSG
133 #define TARGET_EBADMSG 84
135 #define TARGET_EPROTO 85
136 #undef TARGET_ENODATA
137 #define TARGET_ENODATA 86
139 #define TARGET_ENOSTR 87
141 #define TARGET_ECHRNG 88
142 #undef TARGET_EL2NSYNC
143 #define TARGET_EL2NSYNC 89
145 #define TARGET_EL3HLT 90
147 #define TARGET_EL3RST 91
149 #define TARGET_ENOPKG 92
151 #define TARGET_ELNRNG 93
152 #undef TARGET_EUNATCH
153 #define TARGET_EUNATCH 94
155 #define TARGET_ENOCSI 95
157 #define TARGET_EL2HLT 96
159 #define TARGET_EBADE 97
161 #define TARGET_EBADR 98
163 #define TARGET_EXFULL 99
165 #define TARGET_ENOANO 100
166 #undef TARGET_EBADRQC
167 #define TARGET_EBADRQC 101
168 #undef TARGET_EBADSLT
169 #define TARGET_EBADSLT 102
172 #define TARGET_EBFONT 104
174 #define TARGET_ENONET 105
175 #undef TARGET_ENOLINK
176 #define TARGET_ENOLINK 106
178 #define TARGET_EADV 107
180 #define TARGET_ESRMNT 108
182 #define TARGET_ECOMM 109
183 #undef TARGET_EMULTIHOP
184 #define TARGET_EMULTIHOP 110
185 #undef TARGET_EDOTDOT
186 #define TARGET_EDOTDOT 111
187 #undef TARGET_EOVERFLOW
188 #define TARGET_EOVERFLOW 112
189 #undef TARGET_ENOTUNIQ
190 #define TARGET_ENOTUNIQ 113
192 #define TARGET_EBADFD 114
193 #undef TARGET_EREMCHG
194 #define TARGET_EREMCHG 115
196 #define TARGET_EILSEQ 116
198 // Same as default 117-121
200 #undef TARGET_ELIBACC
201 #define TARGET_ELIBACC 122
202 #undef TARGET_ELIBBAD
203 #define TARGET_ELIBBAD 123
204 #undef TARGET_ELIBSCN
205 #define TARGET_ELIBSCN 124
206 #undef TARGET_ELIBMAX
207 #define TARGET_ELIBMAX 125
208 #undef TARGET_ELIBEXEC
209 #define TARGET_ELIBEXEC 126
210 #undef TARGET_ERESTART
211 #define TARGET_ERESTART 127
212 #undef TARGET_ESTRPIPE
213 #define TARGET_ESTRPIPE 128
214 #undef TARGET_ENOMEDIUM
215 #define TARGET_ENOMEDIUM 129
216 #undef TARGET_EMEDIUMTYPE
217 #define TARGET_EMEDIUMTYPE 130
218 #undef TARGET_ECANCELED
219 #define TARGET_ECANCELED 131
221 #define TARGET_ENOKEY 132
222 #undef TARGET_EKEYEXPIRED
223 #define TARGET_EKEYEXPIRED 133
224 #undef TARGET_EKEYREVOKED
225 #define TARGET_EKEYREVOKED 134
226 #undef TARGET_EKEYREJECTED
227 #define TARGET_EKEYREJECTED 135
228 #undef TARGET_EOWNERDEAD
229 #define TARGET_EOWNERDEAD 136
230 #undef TARGET_ENOTRECOVERABLE
231 #define TARGET_ENOTRECOVERABLE 137
232 #undef TARGET_ERFKILL
233 #define TARGET_ERFKILL 138
235 // For sys_osf_getsysinfo
236 #define TARGET_GSI_UACPROC 8
237 #define TARGET_GSI_IEEE_FP_CONTROL 45
238 #define TARGET_GSI_IEEE_STATE_AT_SIGNAL 46
239 #define TARGET_GSI_PROC_TYPE 60
240 #define TARGET_GSI_GET_HWRPB 101
242 // For sys_ofs_setsysinfo
243 #define TARGET_SSI_NVPAIRS 1
244 #define TARGET_SSI_IEEE_FP_CONTROL 14
245 #define TARGET_SSI_IEEE_STATE_AT_SIGNAL 15
246 #define TARGET_SSI_IEEE_IGNORE_STATE_AT_SIGNAL 16
247 #define TARGET_SSI_IEEE_RAISE_EXCEPTION 1001
249 #define TARGET_SSIN_UACPROC 6
251 #define TARGET_UAC_NOPRINT 1
252 #define TARGET_UAC_NOFIX 2
253 #define TARGET_UAC_SIGBUS 4