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"
42 #define UNAME_MINIMUM_RELEASE "2.6.32"
45 #define TARGET_EDEADLK 11
47 #define TARGET_EAGAIN 35
48 #undef TARGET_EINPROGRESS
49 #define TARGET_EINPROGRESS 36
50 #undef TARGET_EALREADY
51 #define TARGET_EALREADY 37
52 #undef TARGET_ENOTSOCK
53 #define TARGET_ENOTSOCK 38
54 #undef TARGET_EDESTADDRREQ
55 #define TARGET_EDESTADDRREQ 39
56 #undef TARGET_EMSGSIZE
57 #define TARGET_EMSGSIZE 40
58 #undef TARGET_EPROTOTYPE
59 #define TARGET_EPROTOTYPE 41
60 #undef TARGET_ENOPROTOOPT
61 #define TARGET_ENOPROTOOPT 42
62 #undef TARGET_EPROTONOSUPPORT
63 #define TARGET_EPROTONOSUPPORT 43
64 #undef TARGET_ESOCKTNOSUPPORT
65 #define TARGET_ESOCKTNOSUPPORT 44
66 #undef TARGET_EOPNOTSUPP
67 #define TARGET_EOPNOTSUPP 45
68 #undef TARGET_EPFNOSUPPORT
69 #define TARGET_EPFNOSUPPORT 46
70 #undef TARGET_EAFNOSUPPORT
71 #define TARGET_EAFNOSUPPORT 47
72 #undef TARGET_EADDRINUSE
73 #define TARGET_EADDRINUSE 48
74 #undef TARGET_EADDRNOTAVAIL
75 #define TARGET_EADDRNOTAVAIL 49
76 #undef TARGET_ENETDOWN
77 #define TARGET_ENETDOWN 50
78 #undef TARGET_ENETUNREACH
79 #define TARGET_ENETUNREACH 51
80 #undef TARGET_ENETRESET
81 #define TARGET_ENETRESET 52
82 #undef TARGET_ECONNABORTED
83 #define TARGET_ECONNABORTED 53
84 #undef TARGET_ECONNRESET
85 #define TARGET_ECONNRESET 54
87 #define TARGET_ENOBUFS 55
89 #define TARGET_EISCONN 56
90 #undef TARGET_ENOTCONN
91 #define TARGET_ENOTCONN 57
92 #undef TARGET_ESHUTDOWN
93 #define TARGET_ESHUTDOWN 58
94 #undef TARGET_ETOOMANYREFS
95 #define TARGET_ETOOMANYREFS 59
96 #undef TARGET_ETIMEDOUT
97 #define TARGET_ETIMEDOUT 60
98 #undef TARGET_ECONNREFUSED
99 #define TARGET_ECONNREFUSED 61
101 #define TARGET_ELOOP 62
102 #undef TARGET_ENAMETOOLONG
103 #define TARGET_ENAMETOOLONG 63
104 #undef TARGET_EHOSTDOWN
105 #define TARGET_EHOSTDOWN 64
106 #undef TARGET_EHOSTUNREACH
107 #define TARGET_EHOSTUNREACH 65
108 #undef TARGET_ENOTEMPTY
109 #define TARGET_ENOTEMPTY 66
112 #define TARGET_EUSERS 68
114 #define TARGET_EDQUOT 69
116 #define TARGET_ESTALE 70
117 #undef TARGET_EREMOTE
118 #define TARGET_EREMOTE 71
121 #define TARGET_ENOLCK 77
123 #define TARGET_ENOSYS 78
126 #define TARGET_ENOMSG 80
128 #define TARGET_EIDRM 81
130 #define TARGET_ENOSR 82
132 #define TARGET_ETIME 83
133 #undef TARGET_EBADMSG
134 #define TARGET_EBADMSG 84
136 #define TARGET_EPROTO 85
137 #undef TARGET_ENODATA
138 #define TARGET_ENODATA 86
140 #define TARGET_ENOSTR 87
142 #define TARGET_ECHRNG 88
143 #undef TARGET_EL2NSYNC
144 #define TARGET_EL2NSYNC 89
146 #define TARGET_EL3HLT 90
148 #define TARGET_EL3RST 91
150 #define TARGET_ENOPKG 92
152 #define TARGET_ELNRNG 93
153 #undef TARGET_EUNATCH
154 #define TARGET_EUNATCH 94
156 #define TARGET_ENOCSI 95
158 #define TARGET_EL2HLT 96
160 #define TARGET_EBADE 97
162 #define TARGET_EBADR 98
164 #define TARGET_EXFULL 99
166 #define TARGET_ENOANO 100
167 #undef TARGET_EBADRQC
168 #define TARGET_EBADRQC 101
169 #undef TARGET_EBADSLT
170 #define TARGET_EBADSLT 102
173 #define TARGET_EBFONT 104
175 #define TARGET_ENONET 105
176 #undef TARGET_ENOLINK
177 #define TARGET_ENOLINK 106
179 #define TARGET_EADV 107
181 #define TARGET_ESRMNT 108
183 #define TARGET_ECOMM 109
184 #undef TARGET_EMULTIHOP
185 #define TARGET_EMULTIHOP 110
186 #undef TARGET_EDOTDOT
187 #define TARGET_EDOTDOT 111
188 #undef TARGET_EOVERFLOW
189 #define TARGET_EOVERFLOW 112
190 #undef TARGET_ENOTUNIQ
191 #define TARGET_ENOTUNIQ 113
193 #define TARGET_EBADFD 114
194 #undef TARGET_EREMCHG
195 #define TARGET_EREMCHG 115
197 #define TARGET_EILSEQ 116
199 // Same as default 117-121
201 #undef TARGET_ELIBACC
202 #define TARGET_ELIBACC 122
203 #undef TARGET_ELIBBAD
204 #define TARGET_ELIBBAD 123
205 #undef TARGET_ELIBSCN
206 #define TARGET_ELIBSCN 124
207 #undef TARGET_ELIBMAX
208 #define TARGET_ELIBMAX 125
209 #undef TARGET_ELIBEXEC
210 #define TARGET_ELIBEXEC 126
211 #undef TARGET_ERESTART
212 #define TARGET_ERESTART 127
213 #undef TARGET_ESTRPIPE
214 #define TARGET_ESTRPIPE 128
215 #undef TARGET_ENOMEDIUM
216 #define TARGET_ENOMEDIUM 129
217 #undef TARGET_EMEDIUMTYPE
218 #define TARGET_EMEDIUMTYPE 130
219 #undef TARGET_ECANCELED
220 #define TARGET_ECANCELED 131
222 #define TARGET_ENOKEY 132
223 #undef TARGET_EKEYEXPIRED
224 #define TARGET_EKEYEXPIRED 133
225 #undef TARGET_EKEYREVOKED
226 #define TARGET_EKEYREVOKED 134
227 #undef TARGET_EKEYREJECTED
228 #define TARGET_EKEYREJECTED 135
229 #undef TARGET_EOWNERDEAD
230 #define TARGET_EOWNERDEAD 136
231 #undef TARGET_ENOTRECOVERABLE
232 #define TARGET_ENOTRECOVERABLE 137
233 #undef TARGET_ERFKILL
234 #define TARGET_ERFKILL 138
236 // For sys_osf_getsysinfo
237 #define TARGET_GSI_UACPROC 8
238 #define TARGET_GSI_IEEE_FP_CONTROL 45
239 #define TARGET_GSI_IEEE_STATE_AT_SIGNAL 46
240 #define TARGET_GSI_PROC_TYPE 60
241 #define TARGET_GSI_GET_HWRPB 101
243 // For sys_ofs_setsysinfo
244 #define TARGET_SSI_NVPAIRS 1
245 #define TARGET_SSI_IEEE_FP_CONTROL 14
246 #define TARGET_SSI_IEEE_STATE_AT_SIGNAL 15
247 #define TARGET_SSI_IEEE_IGNORE_STATE_AT_SIGNAL 16
248 #define TARGET_SSI_IEEE_RAISE_EXCEPTION 1001
250 #define TARGET_SSIN_UACPROC 6
252 #define TARGET_UAC_NOPRINT 1
253 #define TARGET_UAC_NOFIX 2
254 #define TARGET_UAC_SIGBUS 4
255 #define TARGET_MINSIGSTKSZ 4096
256 #define TARGET_MLOCKALL_MCL_CURRENT 0x2000
257 #define TARGET_MLOCKALL_MCL_FUTURE 0x4000