Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | /* |
2 | * ========== Copyright Header Begin ========================================== | |
3 | * | |
4 | * OpenSPARC T2 Processor File: traps.s | |
5 | * Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved | |
6 | * 4150 Network Circle, Santa Clara, California 95054, U.S.A. | |
7 | * | |
8 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
9 | * | |
10 | * This program is free software; you can redistribute it and/or modify | |
11 | * it under the terms of the GNU General Public License as published by | |
12 | * the Free Software Foundation; version 2 of the License. | |
13 | * | |
14 | * This program is distributed in the hope that it will be useful, | |
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | * GNU General Public License for more details. | |
18 | * | |
19 | * You should have received a copy of the GNU General Public License | |
20 | * along with this program; if not, write to the Free Software | |
21 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
22 | * | |
23 | * For the avoidance of doubt, and except that if any non-GPL license | |
24 | * choice is available it will apply instead, Sun elects to use only | |
25 | * the General Public License version 2 (GPLv2) at this time for any | |
26 | * software where a choice of GPL license versions is made | |
27 | * available with the language indicating that GPLv2 or any later version | |
28 | * may be used, or where a choice of which version of the GPL is applied is | |
29 | * otherwise unspecified. | |
30 | * | |
31 | * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
32 | * CA 95054 USA or visit www.sun.com if you need additional information or | |
33 | * have any questions. | |
34 | * | |
35 | * | |
36 | * ========== Copyright Header End ============================================ | |
37 | */ | |
38 | #ifdef USE_MPGEN_TRAPS | |
39 | #define NORMAL_TRAP(n) add %l0, n, %l0; b TrapCheck; nop;nop;nop;nop;nop;nop | |
40 | #else | |
41 | #define NORMAL_TRAP(n) mov n, %g7; b TrapCheck; nop;nop;nop;nop;nop;nop | |
42 | #endif | |
43 | ||
44 | #define SPILL_TRAP(n) saved; mov n, %g7; b TrapCheck; nop; | |
45 | #define FILL_TRAP(n) restored; mov n, %g7; b TrapCheck; nop; | |
46 | ||
47 | #define CUSTOM_TRAP(n) setx n, %g1, %g2; jmp %g2; nop | |
48 | ||
49 | ||
50 | .text | |
51 | ||
52 | T0_Reserved_0x00: | |
53 | #ifdef H_T0_Reserved_0x00 | |
54 | #ifdef SUN_H_T0_Reserved_0x00 | |
55 | SUN_H_T0_Reserved_0x00 | |
56 | #else | |
57 | CUSTOM_TRAP(H_T0_Reserved_0x00) | |
58 | #endif | |
59 | .align 32 | |
60 | #else | |
61 | NORMAL_TRAP(0x00); | |
62 | #endif | |
63 | ||
64 | T0_Reserved_0x01: | |
65 | #ifdef H_T0_Reserved_0x01 | |
66 | #ifdef SUN_H_T0_Reserved_0x01 | |
67 | SUN_H_T0_Reserved_0x01 | |
68 | #else | |
69 | CUSTOM_TRAP(H_T0_Reserved_0x01) | |
70 | #endif | |
71 | .align 32 | |
72 | #else | |
73 | NORMAL_TRAP(0x01); | |
74 | #endif | |
75 | ||
76 | T0_Reserved_0x02: | |
77 | #ifdef H_T0_Reserved_0x02 | |
78 | #ifdef SUN_H_T0_Reserved_0x02 | |
79 | SUN_H_T0_Reserved_0x02 | |
80 | #else | |
81 | CUSTOM_TRAP(H_T0_Reserved_0x02) | |
82 | #endif | |
83 | .align 32 | |
84 | #else | |
85 | NORMAL_TRAP(0x02); | |
86 | #endif | |
87 | ||
88 | T0_Reserved_0x03: | |
89 | #ifdef H_T0_Reserved_0x03 | |
90 | #ifdef SUN_H_T0_Reserved_0x03 | |
91 | SUN_H_T0_Reserved_0x03 | |
92 | #else | |
93 | CUSTOM_TRAP(H_T0_Reserved_0x03) | |
94 | #endif | |
95 | .align 32 | |
96 | #else | |
97 | NORMAL_TRAP(0x03); | |
98 | #endif | |
99 | ||
100 | T0_Reserved_0x04: | |
101 | #ifdef H_T0_Reserved_0x04 | |
102 | #ifdef SUN_H_T0_Reserved_0x04 | |
103 | SUN_H_T0_Reserved_0x04 | |
104 | #else | |
105 | CUSTOM_TRAP(H_T0_Reserved_0x04) | |
106 | #endif | |
107 | .align 32 | |
108 | #else | |
109 | NORMAL_TRAP(0x04); | |
110 | #endif | |
111 | ||
112 | T0_Reserved_0x05: | |
113 | #ifdef H_T0_Reserved_0x05 | |
114 | #ifdef SUN_H_T0_Reserved_0x05 | |
115 | SUN_H_T0_Reserved_0x05 | |
116 | #else | |
117 | CUSTOM_TRAP(H_T0_Reserved_0x05) | |
118 | #endif | |
119 | .align 32 | |
120 | #else | |
121 | NORMAL_TRAP(0x05); | |
122 | #endif | |
123 | ||
124 | T0_Reserved_0x06: | |
125 | #ifdef H_T0_Reserved_0x06 | |
126 | #ifdef SUN_H_T0_Reserved_0x06 | |
127 | SUN_H_T0_Reserved_0x06 | |
128 | #else | |
129 | CUSTOM_TRAP(H_T0_Reserved_0x06) | |
130 | #endif | |
131 | .align 32 | |
132 | #else | |
133 | NORMAL_TRAP(0x06); | |
134 | #endif | |
135 | ||
136 | T0_Reserved_0x07: | |
137 | #ifdef H_T0_Reserved_0x07 | |
138 | #ifdef SUN_H_T0_Reserved_0x07 | |
139 | SUN_H_T0_Reserved_0x07 | |
140 | #else | |
141 | CUSTOM_TRAP(H_T0_Reserved_0x07) | |
142 | #endif | |
143 | .align 32 | |
144 | #else | |
145 | NORMAL_TRAP(0x07); | |
146 | #endif | |
147 | ||
148 | T0_Instruction_Access_Exception_0x08: | |
149 | #ifdef H_T0_Instruction_access_exception_0x08 | |
150 | #ifdef SUN_H_T0_Instruction_access_exception_0x08 | |
151 | SUN_H_T0_Instruction_access_exception_0x08 | |
152 | #else | |
153 | # ifdef My_T0_Instruction_access_exception_0x08 | |
154 | My_T0_Instruction_access_exception_0x08 | |
155 | # else | |
156 | CUSTOM_TRAP(H_T0_Instruction_access_exception_0x08) | |
157 | # endif | |
158 | #endif | |
159 | .align 32 | |
160 | #else | |
161 | NORMAL_TRAP(0x08); | |
162 | #endif | |
163 | ||
164 | T0_Instruction_Access_MMU_Miss_0x09: | |
165 | #ifdef H_T0_Instruction_Access_MMU_Miss_0x09 | |
166 | #ifdef SUN_H_T0_Instruction_Access_MMU_Miss_0x09 | |
167 | SUN_H_T0_Instruction_Access_MMU_Miss_0x09 | |
168 | #else | |
169 | #ifdef My_T0_Instruction_Access_MMU_Miss_0x09 | |
170 | My_T0_Instruction_Access_MMU_Miss_0x09 | |
171 | #else | |
172 | CUSTOM_TRAP(H_T0_Instruction_Access_MMU_Miss_0x09) | |
173 | #endif | |
174 | #endif | |
175 | ||
176 | .align 32 | |
177 | #else | |
178 | NORMAL_TRAP(0x09); | |
179 | #endif | |
180 | ||
181 | T0_Instruction_Access_Error_0x0a: | |
182 | #ifdef H_T0_Instruction_access_error_0x0a | |
183 | #ifdef SUN_H_T0_Instruction_access_error_0x0a | |
184 | SUN_H_T0_Instruction_access_error_0x0a | |
185 | #else | |
186 | CUSTOM_TRAP(H_T0_Instruction_access_error_0x0a) | |
187 | #endif | |
188 | .align 32 | |
189 | #else | |
190 | NORMAL_TRAP(0x0a); | |
191 | #endif | |
192 | ||
193 | T0_Reserved_0x0b: | |
194 | #ifdef H_T0_Reserved_0x0b | |
195 | #ifdef SUN_H_T0_Reserved_0x0b | |
196 | SUN_H_T0_Reserved_0x0b | |
197 | #else | |
198 | CUSTOM_TRAP(H_T0_Reserved_0x0b) | |
199 | #endif | |
200 | .align 32 | |
201 | #else | |
202 | NORMAL_TRAP(0x0b); | |
203 | #endif | |
204 | ||
205 | T0_Reserved_0x0c: | |
206 | #ifdef H_T0_Reserved_0x0c | |
207 | #ifdef SUN_H_T0_Reserved_0x0c | |
208 | SUN_H_T0_Reserved_0x0c | |
209 | #else | |
210 | CUSTOM_TRAP(H_T0_Reserved_0x0c) | |
211 | #endif | |
212 | .align 32 | |
213 | #else | |
214 | NORMAL_TRAP(0x0c); | |
215 | #endif | |
216 | ||
217 | T0_Reserved_0x0d: | |
218 | #ifdef H_T0_Reserved_0x0d | |
219 | #ifdef SUN_H_T0_Reserved_0x0d | |
220 | SUN_H_T0_Reserved_0x0d | |
221 | #else | |
222 | CUSTOM_TRAP(H_T0_Reserved_0x0d) | |
223 | #endif | |
224 | .align 32 | |
225 | #else | |
226 | NORMAL_TRAP(0x0d); | |
227 | #endif | |
228 | ||
229 | T0_Reserved_0x0e: | |
230 | #ifdef H_T0_Reserved_0x0e | |
231 | #ifdef SUN_H_T0_Reserved_0x0e | |
232 | SUN_H_T0_Reserved_0x0e | |
233 | #else | |
234 | CUSTOM_TRAP(H_T0_Reserved_0x0e) | |
235 | #endif | |
236 | .align 32 | |
237 | #else | |
238 | NORMAL_TRAP(0x0e); | |
239 | #endif | |
240 | ||
241 | T0_Reserved_0x0f: | |
242 | #ifdef H_T0_Reserved_0x0f | |
243 | #ifdef SUN_H_T0_Reserved_0x0f | |
244 | SUN_H_T0_Reserved_0x0f | |
245 | #else | |
246 | CUSTOM_TRAP(H_T0_Reserved_0x0f) | |
247 | #endif | |
248 | .align 32 | |
249 | #else | |
250 | NORMAL_TRAP(0x0f); | |
251 | #endif | |
252 | ||
253 | T0_Illegal_Instruction_0x10: | |
254 | #ifdef H_T0_Illegal_instruction_0x10 | |
255 | #ifdef SUN_H_T0_Illegal_instruction_0x10 | |
256 | SUN_H_T0_Illegal_instruction_0x10 | |
257 | #else | |
258 | # ifdef My_T0_Illegal_instruction_0x10 | |
259 | My_T0_Illegal_instruction_0x10 | |
260 | # else | |
261 | CUSTOM_TRAP(H_T0_Illegal_instruction_0x10) | |
262 | # endif | |
263 | #endif | |
264 | .align 32 | |
265 | #else | |
266 | NORMAL_TRAP(0x10) | |
267 | #endif | |
268 | ||
269 | T0_Privileged_Opcode_0x11: | |
270 | #ifdef H_T0_Privileged_opcode_0x11 | |
271 | #ifdef SUN_H_T0_Privileged_opcode_0x11 | |
272 | SUN_H_T0_Privileged_opcode_0x11 | |
273 | #else | |
274 | # ifdef My_T0_Privileged_opcode_0x11 | |
275 | My_T0_Privileged_opcode_0x11 | |
276 | # else | |
277 | CUSTOM_TRAP(H_T0_Privileged_opcode_0x11) | |
278 | # endif | |
279 | #endif | |
280 | .align 32 | |
281 | #else | |
282 | NORMAL_TRAP(0x11) | |
283 | #endif | |
284 | ||
285 | T0_Unimplemented_LDD_0x12: | |
286 | #ifdef H_T0_Unimplemented_LDD_0x12 | |
287 | #ifdef SUN_H_T0_Unimplemented_LDD_0x12 | |
288 | SUN_H_T0_Unimplemented_LDD_0x12 | |
289 | #else | |
290 | CUSTOM_TRAP(H_T0_Unimplemented_LDD_0x12) | |
291 | #endif | |
292 | .align 32 | |
293 | #else | |
294 | NORMAL_TRAP(0x12) | |
295 | #endif | |
296 | ||
297 | T0_Unimplemented_STD_0x13: | |
298 | #ifdef H_T0_Unimplemented_STD_0x13 | |
299 | #ifdef SUN_H_T0_Unimplemented_STD_0x13 | |
300 | SUN_H_T0_Unimplemented_STD_0x13 | |
301 | #else | |
302 | CUSTOM_TRAP(H_T0_Unimplemented_STD_0x13) | |
303 | #endif | |
304 | .align 32 | |
305 | #else | |
306 | NORMAL_TRAP(0x13) | |
307 | #endif | |
308 | ||
309 | T0_Reserved_0x14: | |
310 | #ifdef H_T0_Reserved_0x14 | |
311 | #ifdef SUN_H_T0_Reserved_0x14 | |
312 | SUN_H_T0_Reserved_0x14 | |
313 | #else | |
314 | CUSTOM_TRAP(H_T0_Reserved_0x14) | |
315 | #endif | |
316 | .align 32 | |
317 | #else | |
318 | NORMAL_TRAP(0x14); | |
319 | #endif | |
320 | ||
321 | T0_Reserved_0x15: | |
322 | #ifdef H_T0_Reserved_0x15 | |
323 | #ifdef SUN_H_T0_Reserved_0x15 | |
324 | SUN_H_T0_Reserved_0x15 | |
325 | #else | |
326 | CUSTOM_TRAP(H_T0_Reserved_0x15) | |
327 | #endif | |
328 | .align 32 | |
329 | #else | |
330 | NORMAL_TRAP(0x15); | |
331 | #endif | |
332 | ||
333 | T0_Reserved_0x16: | |
334 | #ifdef H_T0_Reserved_0x16 | |
335 | #ifdef SUN_H_T0_Reserved_0x16 | |
336 | SUN_H_T0_Reserved_0x16 | |
337 | #else | |
338 | CUSTOM_TRAP(H_T0_Reserved_0x16) | |
339 | #endif | |
340 | .align 32 | |
341 | #else | |
342 | NORMAL_TRAP(0x16); | |
343 | #endif | |
344 | ||
345 | T0_Reserved_0x17: | |
346 | #ifdef H_T0_Reserved_0x17 | |
347 | #ifdef SUN_H_T0_Reserved_0x17 | |
348 | SUN_H_T0_Reserved_0x17 | |
349 | #else | |
350 | CUSTOM_TRAP(H_T0_Reserved_0x17) | |
351 | #endif | |
352 | .align 32 | |
353 | #else | |
354 | NORMAL_TRAP(0x17); | |
355 | #endif | |
356 | ||
357 | T0_Reserved_0x18: | |
358 | #ifdef H_T0_Reserved_0x18 | |
359 | #ifdef SUN_H_T0_Reserved_0x18 | |
360 | SUN_H_T0_Reserved_0x18 | |
361 | #else | |
362 | CUSTOM_TRAP(H_T0_Reserved_0x18) | |
363 | #endif | |
364 | .align 32 | |
365 | #else | |
366 | NORMAL_TRAP(0x18); | |
367 | #endif | |
368 | ||
369 | T0_Reserved_0x19: | |
370 | #ifdef H_T0_Reserved_0x19 | |
371 | #ifdef SUN_H_T0_Reserved_0x19 | |
372 | SUN_H_T0_Reserved_0x19 | |
373 | #else | |
374 | CUSTOM_TRAP(H_T0_Reserved_0x19) | |
375 | #endif | |
376 | .align 32 | |
377 | #else | |
378 | NORMAL_TRAP(0x19); | |
379 | #endif | |
380 | ||
381 | T0_Reserved_0x1a: | |
382 | #ifdef H_T0_Reserved_0x1a | |
383 | #ifdef SUN_H_T0_Reserved_0x1a | |
384 | SUN_H_T0_Reserved_0x1a | |
385 | #else | |
386 | CUSTOM_TRAP(H_T0_Reserved_0x1a) | |
387 | #endif | |
388 | .align 32 | |
389 | #else | |
390 | NORMAL_TRAP(0x1a); | |
391 | #endif | |
392 | ||
393 | T0_Reserved_0x1b: | |
394 | #ifdef H_T0_Reserved_0x1b | |
395 | #ifdef SUN_H_T0_Reserved_0x1b | |
396 | SUN_H_T0_Reserved_0x1b | |
397 | #else | |
398 | CUSTOM_TRAP(H_T0_Reserved_0x1b) | |
399 | #endif | |
400 | .align 32 | |
401 | #else | |
402 | NORMAL_TRAP(0x1b); | |
403 | #endif | |
404 | ||
405 | T0_Reserved_0x1c: | |
406 | #ifdef H_T0_Reserved_0x1c | |
407 | #ifdef SUN_H_T0_Reserved_0x1c | |
408 | SUN_H_T0_Reserved_0x1c | |
409 | #else | |
410 | CUSTOM_TRAP(H_T0_Reserved_0x1c) | |
411 | #endif | |
412 | .align 32 | |
413 | #else | |
414 | NORMAL_TRAP(0x1c); | |
415 | #endif | |
416 | ||
417 | T0_Reserved_0x1d: | |
418 | #ifdef H_T0_Reserved_0x1d | |
419 | #ifdef SUN_H_T0_Reserved_0x1d | |
420 | SUN_H_T0_Reserved_0x1d | |
421 | #else | |
422 | CUSTOM_TRAP(H_T0_Reserved_0x1d) | |
423 | #endif | |
424 | .align 32 | |
425 | #else | |
426 | NORMAL_TRAP(0x1d); | |
427 | #endif | |
428 | ||
429 | T0_Reserved_0x1e: | |
430 | #ifdef H_T0_Reserved_0x1e | |
431 | #ifdef SUN_H_T0_Reserved_0x1e | |
432 | SUN_H_T0_Reserved_0x1e | |
433 | #else | |
434 | CUSTOM_TRAP(H_T0_Reserved_0x1e) | |
435 | #endif | |
436 | .align 32 | |
437 | #else | |
438 | NORMAL_TRAP(0x1e); | |
439 | #endif | |
440 | ||
441 | T0_Reserved_0x1f: | |
442 | #ifdef H_T0_Reserved_0x1f | |
443 | #ifdef SUN_H_T0_Reserved_0x1f | |
444 | SUN_H_T0_Reserved_0x1f | |
445 | #else | |
446 | CUSTOM_TRAP(H_T0_Reserved_0x1f) | |
447 | #endif | |
448 | .align 32 | |
449 | #else | |
450 | NORMAL_TRAP(0x1f); | |
451 | #endif | |
452 | ||
453 | T0_Fp_Disabled_0x20: | |
454 | #ifdef H_T0_Fp_disabled_0x20 | |
455 | #ifdef SUN_H_T0_Fp_disabled_0x20 | |
456 | SUN_H_T0_Fp_disabled_0x20 | |
457 | #else | |
458 | # ifdef My_T0_Fp_disabled_0x20 | |
459 | My_T0_Fp_disabled_0x20 | |
460 | # else | |
461 | CUSTOM_TRAP(H_T0_Fp_disabled_0x20) | |
462 | # endif | |
463 | #endif | |
464 | .align 32 | |
465 | #else | |
466 | NORMAL_TRAP(0x20) | |
467 | #endif | |
468 | ||
469 | T0_Fp_Exception_Ieee_754_0x21: | |
470 | #ifdef H_T0_Fp_exception_ieee_754_0x21 | |
471 | #ifdef SUN_H_T0_Fp_exception_ieee_754_0x21 | |
472 | SUN_H_T0_Fp_exception_ieee_754_0x21 | |
473 | #else | |
474 | # ifdef My_T0_Fp_exception_ieee_754_0x21 | |
475 | My_T0_Fp_exception_ieee_754_0x21 | |
476 | # else | |
477 | CUSTOM_TRAP(H_T0_Fp_exception_ieee_754_0x21) | |
478 | # endif | |
479 | #endif | |
480 | .align 32 | |
481 | #else | |
482 | NORMAL_TRAP(0x21); | |
483 | #endif | |
484 | ||
485 | T0_Fp_Exception_Other_0x22: | |
486 | #ifdef H_T0_Fp_exception_other_0x22 | |
487 | #ifdef SUN_H_T0_Fp_exception_other_0x22 | |
488 | SUN_H_T0_Fp_exception_other_0x22 | |
489 | #else | |
490 | # ifdef My_T0_Fp_exception_other_0x22 | |
491 | My_T0_Fp_exception_other_0x22 | |
492 | # else | |
493 | CUSTOM_TRAP(H_T0_Fp_exception_other_0x22) | |
494 | #endif | |
495 | #endif | |
496 | .align 32 | |
497 | #else | |
498 | NORMAL_TRAP(0x22); | |
499 | #endif | |
500 | ||
501 | T0_Tag_Overflow_0x23: | |
502 | #ifdef H_T0_Tag_Overflow | |
503 | #ifdef SUN_H_T0_Tag_Overflow | |
504 | SUN_H_T0_Tag_Overflow | |
505 | #else | |
506 | # ifdef My_T0_Tag_Overflow | |
507 | My_T0_Tag_Overflow | |
508 | # else | |
509 | CUSTOM_TRAP(H_T0_Tag_Overflow) | |
510 | # endif | |
511 | #endif | |
512 | #else | |
513 | NORMAL_TRAP(0x23); | |
514 | #endif | |
515 | .align 32 | |
516 | ||
517 | T0_Clean_Window_0x24: | |
518 | #ifdef H_T0_Clean_Window | |
519 | #ifdef SUN_H_T0_Clean_Window | |
520 | SUN_H_T0_Clean_Window | |
521 | #else | |
522 | # ifdef My_T0_Clean_Window | |
523 | My_T0_Clean_Window | |
524 | # else | |
525 | CUSTOM_TRAP(H_T0_Clean_Window) | |
526 | # endif | |
527 | #endif | |
528 | #else | |
529 | #ifdef CLEAN_WIN_RETRY | |
530 | rdpr %cleanwin, %g1; add %g1,1,%g1; wrpr %g1, %g0, %cleanwin; retry; | |
531 | #else | |
532 | restore; mov 0x24, %g7; b TrapCheck; nop;nop;nop;nop;nop; | |
533 | #endif | |
534 | #endif | |
535 | .align 128 | |
536 | ||
537 | T0_Division_By_Zero_0x28: | |
538 | #ifdef H_T0_Division_By_Zero | |
539 | #ifdef SUN_H_T0_Division_By_Zero | |
540 | SUN_H_T0_Division_By_Zero | |
541 | #else | |
542 | # ifdef My_T0_Division_By_Zero | |
543 | My_T0_Division_By_Zero | |
544 | # else | |
545 | CUSTOM_TRAP(H_T0_Division_By_Zero) | |
546 | # endif | |
547 | #endif | |
548 | #else | |
549 | NORMAL_TRAP(0x28); | |
550 | #endif | |
551 | .align 32 | |
552 | ||
553 | T0_Reserved_0x29: | |
554 | #ifdef H_T0_Reserved_0x29 | |
555 | #ifdef SUN_H_T0_Reserved_0x29 | |
556 | SUN_H_T0_Reserved_0x29 | |
557 | #else | |
558 | CUSTOM_TRAP(H_T0_Reserved_0x29) | |
559 | #endif | |
560 | .align 32 | |
561 | #else | |
562 | NORMAL_TRAP(0x29); | |
563 | #endif | |
564 | ||
565 | T0_Reserved_0x2a: | |
566 | #ifdef H_T0_Reserved_0x2a | |
567 | #ifdef SUN_H_T0_Reserved_0x2a | |
568 | SUN_H_T0_Reserved_0x2a | |
569 | #else | |
570 | CUSTOM_TRAP(H_T0_Reserved_0x2a) | |
571 | #endif | |
572 | .align 32 | |
573 | #else | |
574 | NORMAL_TRAP(0x2a); | |
575 | #endif | |
576 | ||
577 | T0_Reserved_0x2b: | |
578 | #ifdef H_T0_Reserved_0x2b | |
579 | #ifdef SUN_H_T0_Reserved_0x2b | |
580 | SUN_H_T0_Reserved_0x2b | |
581 | #else | |
582 | CUSTOM_TRAP(H_T0_Reserved_0x2b) | |
583 | #endif | |
584 | .align 32 | |
585 | #else | |
586 | NORMAL_TRAP(0x2b); | |
587 | #endif | |
588 | ||
589 | T0_Reserved_0x2c: | |
590 | #ifdef H_T0_Reserved_0x2c | |
591 | #ifdef SUN_H_T0_Reserved_0x2c | |
592 | SUN_H_T0_Reserved_0x2c | |
593 | #else | |
594 | CUSTOM_TRAP(H_T0_Reserved_0x2c) | |
595 | #endif | |
596 | .align 32 | |
597 | #else | |
598 | NORMAL_TRAP(0x2c); | |
599 | #endif | |
600 | ||
601 | T0_Reserved_0x2d: | |
602 | #ifdef H_T0_Reserved_0x2d | |
603 | #ifdef SUN_H_T0_Reserved_0x2d | |
604 | SUN_H_T0_Reserved_0x2d | |
605 | #else | |
606 | CUSTOM_TRAP(H_T0_Reserved_0x2d) | |
607 | #endif | |
608 | .align 32 | |
609 | #else | |
610 | NORMAL_TRAP(0x2d); | |
611 | #endif | |
612 | ||
613 | T0_Reserved_0x2e: | |
614 | #ifdef H_T0_Reserved_0x2e | |
615 | #ifdef SUN_H_T0_Reserved_0x2e | |
616 | SUN_H_T0_Reserved_0x2e | |
617 | #else | |
618 | CUSTOM_TRAP(H_T0_Reserved_0x2e) | |
619 | #endif | |
620 | .align 32 | |
621 | #else | |
622 | NORMAL_TRAP(0x2e); | |
623 | #endif | |
624 | ||
625 | T0_Reserved_0x2f: | |
626 | #ifdef H_T0_Reserved_0x2f | |
627 | #ifdef SUN_H_T0_Reserved_0x2f | |
628 | SUN_H_T0_Reserved_0x2f | |
629 | #else | |
630 | CUSTOM_TRAP(H_T0_Reserved_0x2f) | |
631 | #endif | |
632 | .align 32 | |
633 | #else | |
634 | NORMAL_TRAP(0x2f); | |
635 | #endif | |
636 | ||
637 | T0_Data_Access_Exception_0x30: | |
638 | #ifdef H_T0_Data_Access_Exception_0x30 | |
639 | #ifdef SUN_H_T0_Data_Access_Exception_0x30 | |
640 | SUN_H_T0_Data_Access_Exception_0x30 | |
641 | #else | |
642 | ||
643 | # ifdef My_T0_Data_Access_Exception_0x30 | |
644 | My_T0_Data_Access_Exception_0x30 | |
645 | # else | |
646 | CUSTOM_TRAP(H_T0_Data_Access_Exception_0x30) | |
647 | # endif | |
648 | #endif | |
649 | .align 32 | |
650 | #else | |
651 | NORMAL_TRAP(0x30); | |
652 | #endif | |
653 | ||
654 | T0_Reserved_0x31: | |
655 | #ifdef H_T0_Reserved_0x31 | |
656 | #ifdef SUN_H_T0_Reserved_0x31 | |
657 | SUN_H_T0_Reserved_0x31 | |
658 | #else | |
659 | CUSTOM_TRAP(H_T0_Reserved_0x31) | |
660 | #endif | |
661 | .align 32 | |
662 | #else | |
663 | NORMAL_TRAP(0x31); | |
664 | #endif | |
665 | ||
666 | ||
667 | T0_Data_Access_Error_0x32: | |
668 | #ifdef H_T0_Data_access_error_0x32 | |
669 | #ifdef SUN_H_T0_Data_access_error_0x32 | |
670 | SUN_H_T0_Data_access_error_0x32 | |
671 | #else | |
672 | CUSTOM_TRAP(H_T0_Data_access_error_0x32) | |
673 | #endif | |
674 | .align 32 | |
675 | #else | |
676 | NORMAL_TRAP(0x32); | |
677 | #endif | |
678 | ||
679 | T0_Reserved_0x33: | |
680 | #ifdef H_T0_Reserved_0x33 | |
681 | #ifdef SUN_H_T0_Reserved_0x33 | |
682 | SUN_H_T0_Reserved_0x33 | |
683 | #else | |
684 | CUSTOM_TRAP(H_T0_Reserved_0x33) | |
685 | #endif | |
686 | .align 32 | |
687 | #else | |
688 | NORMAL_TRAP(0x33); | |
689 | #endif | |
690 | ||
691 | T0_Mem_Address_Not_Aligned_0x34: | |
692 | #ifdef H_T0_Mem_Address_Not_Aligned_0x34 | |
693 | #ifdef SUN_H_T0_Mem_Address_Not_Aligned_0x34 | |
694 | SUN_H_T0_Mem_Address_Not_Aligned_0x34 | |
695 | #else | |
696 | # ifdef My_T0_Mem_Address_Not_Aligned_0x34 | |
697 | My_T0_Mem_Address_Not_Aligned_0x34 | |
698 | # else | |
699 | CUSTOM_TRAP(H_T0_Mem_Address_Not_Aligned_0x34) | |
700 | # endif | |
701 | #endif | |
702 | .align 32 | |
703 | #else | |
704 | NORMAL_TRAP(0x34); | |
705 | #endif | |
706 | ||
707 | T0_Lddf_Mem_Address_Not_Aligned_0x35: | |
708 | #ifdef H_T0_Lddf_Mem_Address_Not_Aligned_0x35 | |
709 | #ifdef SUN_H_T0_Lddf_Mem_Address_Not_Aligned_0x35 | |
710 | SUN_H_T0_Lddf_Mem_Address_Not_Aligned_0x35 | |
711 | #else | |
712 | # ifdef My_T0_Lddf_Mem_Address_Not_Aligned_0x35 | |
713 | My_T0_Lddf_Mem_Address_Not_Aligned_0x35 | |
714 | # else | |
715 | CUSTOM_TRAP(H_T0_Lddf_Mem_Address_Not_Aligned_0x35) | |
716 | # endif | |
717 | #endif | |
718 | .align 32 | |
719 | #else | |
720 | NORMAL_TRAP(0x35); | |
721 | #endif | |
722 | ||
723 | T0_Stdf_Mem_Address_Not_Aligned_0x36: | |
724 | #ifdef H_T0_Stdf_Mem_Address_Not_Aligned_0x36 | |
725 | #ifdef SUN_H_T0_Stdf_Mem_Address_Not_Aligned_0x36 | |
726 | SUN_H_T0_Stdf_Mem_Address_Not_Aligned_0x36 | |
727 | #else | |
728 | # ifdef My_T0_Stdf_Mem_Address_Not_Aligned_0x36 | |
729 | My_T0_Stdf_Mem_Address_Not_Aligned_0x36 | |
730 | # else | |
731 | CUSTOM_TRAP(H_T0_Stdf_Mem_Address_Not_Aligned_0x36) | |
732 | # endif | |
733 | #endif | |
734 | .align 32 | |
735 | #else | |
736 | NORMAL_TRAP(0x36); | |
737 | #endif | |
738 | ||
739 | T0_Privileged_Action_0x37: | |
740 | #ifdef H_T0_Privileged_Action_0x37 | |
741 | #ifdef SUN_H_T0_Privileged_Action_0x37 | |
742 | SUN_H_T0_Privileged_Action_0x37 | |
743 | #else | |
744 | # ifdef My_T0_Privileged_Action_0x37 | |
745 | My_T0_Privileged_Action_0x37 | |
746 | # else | |
747 | CUSTOM_TRAP(H_T0_Privileged_Action_0x37) | |
748 | # endif | |
749 | #endif | |
750 | .align 32 | |
751 | #else | |
752 | NORMAL_TRAP(0x37); | |
753 | #endif | |
754 | ||
755 | T0_Reserved_0x38: | |
756 | #ifdef H_T0_Reserved_0x38 | |
757 | #ifdef SUN_H_T0_Reserved_0x38 | |
758 | SUN_H_T0_Reserved_0x38 | |
759 | #else | |
760 | CUSTOM_TRAP(H_T0_Reserved_0x38) | |
761 | #endif | |
762 | .align 32 | |
763 | #else | |
764 | NORMAL_TRAP(0x38); | |
765 | #endif | |
766 | ||
767 | T0_Reserved_0x39: | |
768 | #ifdef H_T0_Reserved_0x39 | |
769 | #ifdef SUN_H_T0_Reserved_0x39 | |
770 | SUN_H_T0_Reserved_0x39 | |
771 | #else | |
772 | CUSTOM_TRAP(H_T0_Reserved_0x39) | |
773 | #endif | |
774 | .align 32 | |
775 | #else | |
776 | NORMAL_TRAP(0x39); | |
777 | #endif | |
778 | ||
779 | T0_Reserved_0x3a: | |
780 | #ifdef H_T0_Reserved_0x3a | |
781 | #ifdef SUN_H_T0_Reserved_0x3a | |
782 | SUN_H_T0_Reserved_0x3a | |
783 | #else | |
784 | CUSTOM_TRAP(H_T0_Reserved_0x3a) | |
785 | #endif | |
786 | .align 32 | |
787 | #else | |
788 | NORMAL_TRAP(0x3a); | |
789 | #endif | |
790 | ||
791 | T0_Reserved_0x3b: | |
792 | #ifdef H_T0_Reserved_0x3b | |
793 | #ifdef SUN_H_T0_Reserved_0x3b | |
794 | SUN_H_T0_Reserved_0x3b | |
795 | #else | |
796 | CUSTOM_TRAP(H_T0_Reserved_0x3b) | |
797 | #endif | |
798 | .align 32 | |
799 | #else | |
800 | NORMAL_TRAP(0x3b); | |
801 | #endif | |
802 | ||
803 | T0_Reserved_0x3c: | |
804 | #ifdef H_T0_Reserved_0x3b | |
805 | #ifdef SUN_H_T0_Reserved_0x3b | |
806 | SUN_H_T0_Reserved_0x3b | |
807 | #else | |
808 | CUSTOM_TRAP(H_T0_Reserved_0x3b) | |
809 | #endif | |
810 | .align 32 | |
811 | #else | |
812 | NORMAL_TRAP(0x3c); | |
813 | #endif | |
814 | ||
815 | T0_Reserved_0x3d: | |
816 | #ifdef H_T0_Reserved_0x3d | |
817 | #ifdef SUN_H_T0_Reserved_0x3d | |
818 | SUN_H_T0_Reserved_0x3d | |
819 | #else | |
820 | CUSTOM_TRAP(H_T0_Reserved_0x3d) | |
821 | #endif | |
822 | .align 32 | |
823 | #else | |
824 | NORMAL_TRAP(0x3d); | |
825 | #endif | |
826 | ||
827 | T0_Reserved_0x3e: | |
828 | #ifdef H_T0_Reserved_0x3e | |
829 | #ifdef SUN_H_T0_Reserved_0x3e | |
830 | SUN_H_T0_Reserved_0x3e | |
831 | #else | |
832 | CUSTOM_TRAP(H_T0_Reserved_0x3e) | |
833 | #endif | |
834 | .align 32 | |
835 | #else | |
836 | NORMAL_TRAP(0x3e); | |
837 | #endif | |
838 | ||
839 | T0_Reserved_0x3f: | |
840 | #ifdef H_T0_Reserved_0x3f | |
841 | #ifdef SUN_H_T0_Reserved_0x3f | |
842 | SUN_H_T0_Reserved_0x3f | |
843 | #else | |
844 | CUSTOM_TRAP(H_T0_Reserved_0x3f) | |
845 | #endif | |
846 | .align 32 | |
847 | #else | |
848 | NORMAL_TRAP(0x3f); | |
849 | #endif | |
850 | ||
851 | T0_Reserved_0x40: | |
852 | #ifdef H_T0_Reserved_0x40 | |
853 | #ifdef SUN_H_T0_Reserved_0x40 | |
854 | SUN_H_T0_Reserved_0x40 | |
855 | #else | |
856 | CUSTOM_TRAP(H_T0_Reserved_0x40) | |
857 | #endif | |
858 | .align 32 | |
859 | #else | |
860 | NORMAL_TRAP(0x40); | |
861 | #endif | |
862 | ||
863 | T0_Interrupt_Level_1_0x41: | |
864 | #ifdef H_T0_Interrupt_Level_1_0x41 | |
865 | #ifdef SUN_H_T0_Interrupt_Level_1_0x41 | |
866 | SUN_H_T0_Interrupt_Level_1_0x41 | |
867 | #else | |
868 | # ifdef My_T0_Interrupt_Level_1_0x41 | |
869 | My_T0_Interrupt_Level_1_0x41 | |
870 | # else | |
871 | CUSTOM_TRAP(H_T0_Interrupt_Level_1_0x41) | |
872 | # endif | |
873 | #endif | |
874 | .align 32 | |
875 | #else | |
876 | NORMAL_TRAP(0x41); | |
877 | #endif | |
878 | ||
879 | T0_Interrupt_Level_2_0x42: | |
880 | #ifdef H_T0_Interrupt_Level_2_0x42 | |
881 | #ifdef SUN_H_T0_Interrupt_Level_2_0x42 | |
882 | SUN_H_T0_Interrupt_Level_2_0x42 | |
883 | #else | |
884 | # ifdef My_T0_Interrupt_Level_2_0x42 | |
885 | My_T0_Interrupt_Level_2_0x42 | |
886 | # else | |
887 | CUSTOM_TRAP(H_T0_Interrupt_Level_2_0x42) | |
888 | # endif | |
889 | #endif | |
890 | .align 32 | |
891 | #else | |
892 | NORMAL_TRAP(0x42); | |
893 | #endif | |
894 | ||
895 | T0_Interrupt_Level_3_0x43: | |
896 | #ifdef H_T0_Interrupt_Level_3_0x43 | |
897 | #ifdef SUN_H_T0_Interrupt_Level_3_0x43 | |
898 | SUN_H_T0_Interrupt_Level_3_0x43 | |
899 | #else | |
900 | # ifdef My_T0_Interrupt_Level_3_0x43 | |
901 | My_T0_Interrupt_Level_3_0x43 | |
902 | # else | |
903 | CUSTOM_TRAP(H_T0_Interrupt_Level_3_0x43) | |
904 | # endif | |
905 | #endif | |
906 | .align 32 | |
907 | #else | |
908 | NORMAL_TRAP(0x43); | |
909 | #endif | |
910 | ||
911 | T0_Interrupt_Level_4_0x44: | |
912 | #ifdef H_T0_Interrupt_Level_4_0x44 | |
913 | #ifdef SUN_H_T0_Interrupt_Level_4_0x44 | |
914 | SUN_H_T0_Interrupt_Level_4_0x44 | |
915 | #else | |
916 | # ifdef My_T0_Interrupt_Level_4_0x44 | |
917 | My_T0_Interrupt_Level_4_0x44 | |
918 | # else | |
919 | CUSTOM_TRAP(H_T0_Interrupt_Level_4_0x44) | |
920 | # endif | |
921 | #endif | |
922 | .align 32 | |
923 | #else | |
924 | NORMAL_TRAP(0x44); | |
925 | #endif | |
926 | ||
927 | T0_Interrupt_Level_5_0x45: | |
928 | #ifdef H_T0_Interrupt_Level_5_0x45 | |
929 | #ifdef SUN_H_T0_Interrupt_Level_5_0x45 | |
930 | SUN_H_T0_Interrupt_Level_5_0x45 | |
931 | #else | |
932 | # ifdef My_T0_Interrupt_Level_5_0x45 | |
933 | My_T0_Interrupt_Level_5_0x45 | |
934 | # else | |
935 | CUSTOM_TRAP(H_T0_Interrupt_Level_5_0x45) | |
936 | # endif | |
937 | #endif | |
938 | .align 32 | |
939 | #else | |
940 | NORMAL_TRAP(0x45); | |
941 | #endif | |
942 | ||
943 | T0_Interrupt_Level_6_0x46: | |
944 | #ifdef H_T0_Interrupt_Level_6_0x46 | |
945 | #ifdef SUN_H_T0_Interrupt_Level_6_0x46 | |
946 | SUN_H_T0_Interrupt_Level_6_0x46 | |
947 | #else | |
948 | # ifdef My_T0_Interrupt_Level_6_0x46 | |
949 | My_T0_Interrupt_Level_6_0x46 | |
950 | # else | |
951 | CUSTOM_TRAP(H_T0_Interrupt_Level_6_0x46) | |
952 | # endif | |
953 | #endif | |
954 | .align 32 | |
955 | #else | |
956 | NORMAL_TRAP(0x46); | |
957 | #endif | |
958 | ||
959 | T0_Interrupt_Level_7_0x47: | |
960 | #ifdef H_T0_Interrupt_Level_7_0x47 | |
961 | #ifdef SUN_H_T0_Interrupt_Level_7_0x47 | |
962 | SUN_H_T0_Interrupt_Level_7_0x47 | |
963 | #else | |
964 | # ifdef My_T0_Interrupt_Level_7_0x47 | |
965 | My_T0_Interrupt_Level_7_0x47 | |
966 | # else | |
967 | CUSTOM_TRAP(H_T0_Interrupt_Level_7_0x47) | |
968 | # endif | |
969 | #endif | |
970 | .align 32 | |
971 | #else | |
972 | NORMAL_TRAP(0x47); | |
973 | #endif | |
974 | ||
975 | T0_Interrupt_Level_8_0x48: | |
976 | #ifdef H_T0_Interrupt_Level_8_0x48 | |
977 | #ifdef SUN_H_T0_Interrupt_Level_8_0x48 | |
978 | SUN_H_T0_Interrupt_Level_8_0x48 | |
979 | #else | |
980 | # ifdef My_T0_Interrupt_Level_8_0x48 | |
981 | My_T0_Interrupt_Level_8_0x48 | |
982 | # else | |
983 | CUSTOM_TRAP(H_T0_Interrupt_Level_8_0x48) | |
984 | # endif | |
985 | #endif | |
986 | .align 32 | |
987 | #else | |
988 | NORMAL_TRAP(0x48); | |
989 | #endif | |
990 | ||
991 | T0_Interrupt_Level_9_0x49: | |
992 | #ifdef H_T0_Interrupt_Level_9_0x49 | |
993 | #ifdef SUN_H_T0_Interrupt_Level_9_0x49 | |
994 | SUN_H_T0_Interrupt_Level_9_0x49 | |
995 | #else | |
996 | # ifdef My_T0_Interrupt_Level_9_0x49 | |
997 | My_T0_Interrupt_Level_9_0x49 | |
998 | # else | |
999 | CUSTOM_TRAP(H_T0_Interrupt_Level_9_0x49) | |
1000 | # endif | |
1001 | #endif | |
1002 | .align 32 | |
1003 | #else | |
1004 | NORMAL_TRAP(0x49); | |
1005 | #endif | |
1006 | ||
1007 | T0_Interrupt_Level_10_0x4a: | |
1008 | #ifdef H_T0_Interrupt_Level_10_0x4a | |
1009 | #ifdef SUN_H_T0_Interrupt_Level_10_0x4a | |
1010 | SUN_H_T0_Interrupt_Level_10_0x4a | |
1011 | #else | |
1012 | # ifdef My_T0_Interrupt_Level_10_0x4a | |
1013 | My_T0_Interrupt_Level_10_0x4a | |
1014 | # else | |
1015 | CUSTOM_TRAP(H_T0_Interrupt_Level_10_0x4a) | |
1016 | # endif | |
1017 | #endif | |
1018 | .align 32 | |
1019 | #else | |
1020 | NORMAL_TRAP(0x4a); | |
1021 | #endif | |
1022 | ||
1023 | T0_Interrupt_Level_11_0x4b: | |
1024 | #ifdef H_T0_Interrupt_Level_11_0x4b | |
1025 | #ifdef SUN_H_T0_Interrupt_Level_11_0x4b | |
1026 | SUN_H_T0_Interrupt_Level_11_0x4b | |
1027 | #else | |
1028 | # ifdef My_T0_Interrupt_Level_11_0x4b | |
1029 | My_T0_Interrupt_Level_11_0x4b | |
1030 | # else | |
1031 | CUSTOM_TRAP(H_T0_Interrupt_Level_11_0x4b) | |
1032 | # endif | |
1033 | #endif | |
1034 | .align 32 | |
1035 | #else | |
1036 | NORMAL_TRAP(0x4b); | |
1037 | #endif | |
1038 | ||
1039 | T0_Interrupt_Level_12_0x4c: | |
1040 | #ifdef H_T0_Interrupt_Level_12_0x4c | |
1041 | #ifdef SUN_H_T0_Interrupt_Level_12_0x4c | |
1042 | SUN_H_T0_Interrupt_Level_12_0x4c | |
1043 | #else | |
1044 | # ifdef My_T0_Interrupt_Level_12_0x4c | |
1045 | My_T0_Interrupt_Level_12_0x4c | |
1046 | # else | |
1047 | CUSTOM_TRAP(H_T0_Interrupt_Level_12_0x4c) | |
1048 | # endif | |
1049 | #endif | |
1050 | .align 32 | |
1051 | #else | |
1052 | NORMAL_TRAP(0x4c); | |
1053 | #endif | |
1054 | ||
1055 | T0_Interrupt_Level_13_0x4d: | |
1056 | #ifdef H_T0_Interrupt_Level_13_0x4d | |
1057 | #ifdef SUN_H_T0_Interrupt_Level_13_0x4d | |
1058 | SUN_H_T0_Interrupt_Level_13_0x4d | |
1059 | #else | |
1060 | # ifdef My_T0_Interrupt_Level_13_0x4d | |
1061 | My_T0_Interrupt_Level_13_0x4d | |
1062 | # else | |
1063 | CUSTOM_TRAP(H_T0_Interrupt_Level_13_0x4d) | |
1064 | # endif | |
1065 | #endif | |
1066 | .align 32 | |
1067 | #else | |
1068 | NORMAL_TRAP(0x4d); | |
1069 | #endif | |
1070 | ||
1071 | T0_Interrupt_Level_14_0x4e: | |
1072 | #ifdef H_T0_Interrupt_Level_14_0x4e | |
1073 | #ifdef SUN_H_T0_Interrupt_Level_14_0x4e | |
1074 | SUN_H_T0_Interrupt_Level_14_0x4e | |
1075 | #else | |
1076 | # ifdef My_T0_Interrupt_Level_14_0x4e | |
1077 | My_T0_Interrupt_Level_14_0x4e | |
1078 | # else | |
1079 | CUSTOM_TRAP(H_T0_Interrupt_Level_14_0x4e) | |
1080 | # endif | |
1081 | #endif | |
1082 | .align 32 | |
1083 | #else | |
1084 | NORMAL_TRAP(0x4e); | |
1085 | #endif | |
1086 | ||
1087 | T0_Interrupt_Level_15_0x4f: | |
1088 | #ifdef H_T0_Interrupt_Level_15_0x4f | |
1089 | #ifdef SUN_H_T0_Interrupt_Level_15_0x4f | |
1090 | SUN_H_T0_Interrupt_Level_15_0x4f | |
1091 | #else | |
1092 | # ifdef My_T0_Interrupt_Level_15_0x4f | |
1093 | My_T0_Interrupt_Level_15_0x4f | |
1094 | # else | |
1095 | CUSTOM_TRAP(H_T0_Interrupt_Level_15_0x4f) | |
1096 | # endif | |
1097 | #endif | |
1098 | .align 32 | |
1099 | #else | |
1100 | NORMAL_TRAP(0x4f); | |
1101 | #endif | |
1102 | ||
1103 | T0_Reserved_0x50: | |
1104 | #ifdef H_T0_Reserved_0x50 | |
1105 | #ifdef SUN_H_T0_Reserved_0x50 | |
1106 | SUN_H_T0_Reserved_0x50 | |
1107 | #else | |
1108 | CUSTOM_TRAP(H_T0_Reserved_0x50) | |
1109 | #endif | |
1110 | .align 32 | |
1111 | #else | |
1112 | NORMAL_TRAP(0x50); | |
1113 | #endif | |
1114 | ||
1115 | T0_Reserved_0x51: | |
1116 | #ifdef H_T0_Reserved_0x51 | |
1117 | #ifdef SUN_H_T0_Reserved_0x51 | |
1118 | SUN_H_T0_Reserved_0x51 | |
1119 | #else | |
1120 | CUSTOM_TRAP(H_T0_Reserved_0x51) | |
1121 | #endif | |
1122 | .align 32 | |
1123 | #else | |
1124 | NORMAL_TRAP(0x51); | |
1125 | #endif | |
1126 | ||
1127 | T0_Reserved_0x52: | |
1128 | #ifdef H_T0_Reserved_0x52 | |
1129 | #ifdef SUN_H_T0_Reserved_0x52 | |
1130 | SUN_H_T0_Reserved_0x52 | |
1131 | #else | |
1132 | CUSTOM_TRAP(H_T0_Reserved_0x52) | |
1133 | #endif | |
1134 | .align 32 | |
1135 | #else | |
1136 | NORMAL_TRAP(0x52); | |
1137 | #endif | |
1138 | ||
1139 | T0_Reserved_0x53: | |
1140 | #ifdef H_T0_Reserved_0x53 | |
1141 | #ifdef SUN_H_T0_Reserved_0x53 | |
1142 | SUN_H_T0_Reserved_0x53 | |
1143 | #else | |
1144 | CUSTOM_TRAP(H_T0_Reserved_0x53) | |
1145 | #endif | |
1146 | .align 32 | |
1147 | #else | |
1148 | NORMAL_TRAP(0x53); | |
1149 | #endif | |
1150 | ||
1151 | T0_Reserved_0x54: | |
1152 | #ifdef H_T0_Reserved_0x54 | |
1153 | #ifdef SUN_H_T0_Reserved_0x54 | |
1154 | SUN_H_T0_Reserved_0x54 | |
1155 | #else | |
1156 | CUSTOM_TRAP(H_T0_Reserved_0x54) | |
1157 | #endif | |
1158 | .align 32 | |
1159 | #else | |
1160 | NORMAL_TRAP(0x54); | |
1161 | #endif | |
1162 | ||
1163 | T0_Reserved_0x55: | |
1164 | #ifdef H_T0_Reserved_0x55 | |
1165 | #ifdef SUN_H_T0_Reserved_0x55 | |
1166 | SUN_H_T0_Reserved_0x55 | |
1167 | #else | |
1168 | CUSTOM_TRAP(H_T0_Reserved_0x55) | |
1169 | #endif | |
1170 | .align 32 | |
1171 | #else | |
1172 | NORMAL_TRAP(0x55); | |
1173 | #endif | |
1174 | ||
1175 | T0_Reserved_0x56: | |
1176 | #ifdef H_T0_Reserved_0x56 | |
1177 | #ifdef SUN_H_T0_Reserved_0x56 | |
1178 | SUN_H_T0_Reserved_0x56 | |
1179 | #else | |
1180 | CUSTOM_TRAP(H_T0_Reserved_0x56) | |
1181 | #endif | |
1182 | .align 32 | |
1183 | #else | |
1184 | NORMAL_TRAP(0x56); | |
1185 | #endif | |
1186 | ||
1187 | T0_Reserved_0x57: | |
1188 | #ifdef H_T0_Reserved_0x57 | |
1189 | #ifdef SUN_H_T0_Reserved_0x57 | |
1190 | SUN_H_T0_Reserved_0x57 | |
1191 | #else | |
1192 | CUSTOM_TRAP(H_T0_Reserved_0x57) | |
1193 | #endif | |
1194 | .align 32 | |
1195 | #else | |
1196 | NORMAL_TRAP(0x57); | |
1197 | #endif | |
1198 | ||
1199 | T0_Reserved_0x58: | |
1200 | #ifdef H_T0_Reserved_0x58 | |
1201 | #ifdef SUN_H_T0_Reserved_0x58 | |
1202 | SUN_H_T0_Reserved_0x58 | |
1203 | #else | |
1204 | CUSTOM_TRAP(H_T0_Reserved_0x58) | |
1205 | #endif | |
1206 | .align 32 | |
1207 | #else | |
1208 | NORMAL_TRAP(0x58); | |
1209 | #endif | |
1210 | ||
1211 | T0_Reserved_0x59: | |
1212 | #ifdef H_T0_Reserved_0x59 | |
1213 | #ifdef SUN_H_T0_Reserved_0x59 | |
1214 | SUN_H_T0_Reserved_0x59 | |
1215 | #else | |
1216 | CUSTOM_TRAP(H_T0_Reserved_0x59) | |
1217 | #endif | |
1218 | .align 32 | |
1219 | #else | |
1220 | NORMAL_TRAP(0x59); | |
1221 | #endif | |
1222 | ||
1223 | T0_Reserved_0x5a: | |
1224 | #ifdef H_T0_Reserved_0x5a | |
1225 | #ifdef SUN_H_T0_Reserved_0x5a | |
1226 | SUN_H_T0_Reserved_0x5a | |
1227 | #else | |
1228 | CUSTOM_TRAP(H_T0_Reserved_0x5a) | |
1229 | #endif | |
1230 | .align 32 | |
1231 | #else | |
1232 | NORMAL_TRAP(0x5a); | |
1233 | #endif | |
1234 | ||
1235 | T0_Reserved_0x5b: | |
1236 | #ifdef H_T0_Reserved_0x5b | |
1237 | #ifdef SUN_H_T0_Reserved_0x5b | |
1238 | SUN_H_T0_Reserved_0x5b | |
1239 | #else | |
1240 | CUSTOM_TRAP(H_T0_Reserved_0x5b) | |
1241 | #endif | |
1242 | .align 32 | |
1243 | #else | |
1244 | NORMAL_TRAP(0x5b); | |
1245 | #endif | |
1246 | ||
1247 | T0_Reserved_0x5c: | |
1248 | #ifdef H_T0_Reserved_0x5c | |
1249 | #ifdef SUN_H_T0_Reserved_0x5c | |
1250 | SUN_H_T0_Reserved_0x5c | |
1251 | #else | |
1252 | CUSTOM_TRAP(H_T0_Reserved_0x5c) | |
1253 | #endif | |
1254 | .align 32 | |
1255 | #else | |
1256 | NORMAL_TRAP(0x5c); | |
1257 | #endif | |
1258 | ||
1259 | T0_Reserved_0x5d: | |
1260 | #ifdef H_T0_Reserved_0x5d | |
1261 | #ifdef SUN_H_T0_Reserved_0x5d | |
1262 | SUN_H_T0_Reserved_0x5d | |
1263 | #else | |
1264 | CUSTOM_TRAP(H_T0_Reserved_0x5d) | |
1265 | #endif | |
1266 | .align 32 | |
1267 | #else | |
1268 | NORMAL_TRAP(0x5d); | |
1269 | #endif | |
1270 | ||
1271 | T0_Reserved_0x5e: | |
1272 | #ifdef H_T0_Reserved_0x5e | |
1273 | #ifdef SUN_H_T0_Reserved_0x5e | |
1274 | SUN_H_T0_Reserved_0x5e | |
1275 | #else | |
1276 | # ifdef My_T0_Reserved_0x5e | |
1277 | My_T0_Reserved_0x5e | |
1278 | # else | |
1279 | CUSTOM_TRAP(H_T0_Reserved_0x5e) | |
1280 | # endif | |
1281 | #endif | |
1282 | .align 32 | |
1283 | #else | |
1284 | NORMAL_TRAP(0x5e); | |
1285 | #endif | |
1286 | ||
1287 | T0_Reserved_0x5f: | |
1288 | #ifdef H_T0_Reserved_0x5f | |
1289 | #ifdef SUN_H_T0_Reserved_0x5f | |
1290 | SUN_H_T0_Reserved_0x5f | |
1291 | #else | |
1292 | CUSTOM_TRAP(H_T0_Reserved_0x5f) | |
1293 | #endif | |
1294 | .align 32 | |
1295 | #else | |
1296 | NORMAL_TRAP(0x5f); | |
1297 | #endif | |
1298 | ||
1299 | T0_Interrupt_0x60: | |
1300 | #ifdef H_T0_Interrupt_0x60 | |
1301 | #ifdef SUN_H_T0_Interrupt_0x60 | |
1302 | SUN_H_T0_Interrupt_0x60 | |
1303 | #else | |
1304 | # ifdef My_T0_Interrupt_0x60 | |
1305 | My_T0_Interrupt_0x60 | |
1306 | # else | |
1307 | CUSTOM_TRAP(H_T0_Interrupt_0x60) | |
1308 | # endif | |
1309 | #endif | |
1310 | .align 32 | |
1311 | #else | |
1312 | NORMAL_TRAP(0x60); | |
1313 | #endif | |
1314 | ||
1315 | T0_Reserved_0x61: | |
1316 | #ifdef H_T0_Reserved_0x61 | |
1317 | #ifdef SUN_H_T0_Reserved_0x61 | |
1318 | SUN_H_T0_Reserved_0x61 | |
1319 | #else | |
1320 | # ifdef My_T0_Reserved_0x61 | |
1321 | My_T0_Reserved_0x61 | |
1322 | # else | |
1323 | CUSTOM_TRAP(H_T0_Reserved_0x61) | |
1324 | # endif | |
1325 | #endif | |
1326 | .align 32 | |
1327 | #else | |
1328 | NORMAL_TRAP(0x61); | |
1329 | #endif | |
1330 | ||
1331 | T0_VA_Watchpoint_0x62: | |
1332 | #ifdef H_T0_VA_Watchpoint_0x62 | |
1333 | #ifdef SUN_H_T0_VA_Watchpoint_0x62 | |
1334 | SUN_H_T0_VA_Watchpoint_0x62 | |
1335 | #else | |
1336 | # ifdef My_T0_VA_Watchpoint_0x62 | |
1337 | My_T0_VA_Watchpoint_0x62 | |
1338 | # else | |
1339 | CUSTOM_TRAP(H_T0_VA_Watchpoint_0x62) | |
1340 | # endif | |
1341 | #endif | |
1342 | .align 32 | |
1343 | #else | |
1344 | NORMAL_TRAP(0x62); | |
1345 | #endif | |
1346 | ||
1347 | T0_Corrected_ECC_error_0x63: | |
1348 | #ifdef H_T0_Corrected_ECC_error_0x63 | |
1349 | #ifdef SUN_H_T0_Corrected_ECC_error_0x63 | |
1350 | SUN_H_T0_Corrected_ECC_error_0x63 | |
1351 | #else | |
1352 | CUSTOM_TRAP(H_T0_Corrected_ECC_error_0x63) | |
1353 | #endif | |
1354 | .align 32 | |
1355 | #else | |
1356 | NORMAL_TRAP(0x63); | |
1357 | #endif | |
1358 | ||
1359 | T0_Fast_Instr_Access_MMU_Miss_0x64: | |
1360 | EXIT_BAD | |
1361 | ||
1362 | .align 128 | |
1363 | T0_Fast_Data_Access_MMU_Miss_0x68: | |
1364 | EXIT_BAD | |
1365 | ||
1366 | .align 128 | |
1367 | T0_Fast_Data_Access_Protection_0x6c: | |
1368 | #ifdef H_T0_data_access_protection_0x6c | |
1369 | #ifdef SUN_H_T0_data_access_protection_0x6c | |
1370 | SUN_H_T0_data_access_protection_0x6c | |
1371 | #else | |
1372 | CUSTOM_TRAP(H_T0_data_access_protection_0x6c) | |
1373 | #endif | |
1374 | #else | |
1375 | NORMAL_TRAP(0x6c); | |
1376 | #endif | |
1377 | ||
1378 | .align 128 | |
1379 | T0_Reserved_0x70: | |
1380 | #ifdef H_T0_Reserved_0x70 | |
1381 | #ifdef SUN_H_T0_Reserved_0x70 | |
1382 | SUN_H_T0_Reserved_0x70 | |
1383 | #else | |
1384 | CUSTOM_TRAP(H_T0_Reserved_0x70) | |
1385 | #endif | |
1386 | .align 32 | |
1387 | #else | |
1388 | NORMAL_TRAP(0x70); | |
1389 | #endif | |
1390 | ||
1391 | T0_Reserved_0x71: | |
1392 | #ifdef H_T0_Reserved_0x71 | |
1393 | #ifdef SUN_H_T0_Reserved_0x71 | |
1394 | SUN_H_T0_Reserved_0x71 | |
1395 | #else | |
1396 | CUSTOM_TRAP(H_T0_Reserved_0x71) | |
1397 | #endif | |
1398 | .align 32 | |
1399 | #else | |
1400 | NORMAL_TRAP(0x71); | |
1401 | #endif | |
1402 | ||
1403 | T0_Reserved_0x72: | |
1404 | #ifdef H_T0_Reserved_0x72 | |
1405 | #ifdef SUN_H_T0_Reserved_0x72 | |
1406 | SUN_H_T0_Reserved_0x72 | |
1407 | #else | |
1408 | CUSTOM_TRAP(H_T0_Reserved_0x72) | |
1409 | #endif | |
1410 | .align 32 | |
1411 | #else | |
1412 | NORMAL_TRAP(0x72); | |
1413 | #endif | |
1414 | ||
1415 | T0_Reserved_0x73: | |
1416 | #ifdef H_T0_Reserved_0x73 | |
1417 | #ifdef SUN_H_T0_Reserved_0x73 | |
1418 | SUN_H_T0_Reserved_0x73 | |
1419 | #else | |
1420 | CUSTOM_TRAP(H_T0_Reserved_0x73) | |
1421 | #endif | |
1422 | .align 32 | |
1423 | #else | |
1424 | NORMAL_TRAP(0x73); | |
1425 | #endif | |
1426 | ||
1427 | T0_Control_Transfer_Instr_0x74: | |
1428 | #ifdef H_T0_Control_Transfer_Instr_0x74 | |
1429 | #ifdef SUN_H_T0_Control_Transfer_Instr_0x74 | |
1430 | SUN_H_T0_Control_Transfer_Instr_0x74 | |
1431 | #else | |
1432 | # ifdef My_H_T0_Control_Transfer_Instr_0x74 | |
1433 | My_H_T0_Control_Transfer_Instr_0x74 | |
1434 | # else | |
1435 | CUSTOM_TRAP(H_T0_Control_Transfer_Instr_0x74) | |
1436 | # endif | |
1437 | #endif | |
1438 | .align 32 | |
1439 | #else | |
1440 | NORMAL_TRAP(0x74); | |
1441 | #endif | |
1442 | ||
1443 | T0_Instruction_VA_Watchpoint_0x75: | |
1444 | #ifdef H_T0_Instruction_VA_Watchpoint_0x75 | |
1445 | #ifdef SUN_H_T0_Instruction_VA_Watchpoint_0x75 | |
1446 | SUN_H_T0_Instruction_VA_Watchpoint_0x75 | |
1447 | #else | |
1448 | CUSTOM_TRAP(H_T0_Instruction_VA_Watchpoint_0x75) | |
1449 | #endif | |
1450 | .align 32 | |
1451 | #else | |
1452 | NORMAL_TRAP(0x75); | |
1453 | #endif | |
1454 | ||
1455 | T0_Reserved_0x76: | |
1456 | #ifdef H_T0_Reserved_0x76 | |
1457 | #ifdef SUN_H_T0_Reserved_0x76 | |
1458 | SUN_H_T0_Reserved_0x76 | |
1459 | #else | |
1460 | CUSTOM_TRAP(H_T0_Reserved_0x76) | |
1461 | #endif | |
1462 | .align 32 | |
1463 | #else | |
1464 | NORMAL_TRAP(0x76); | |
1465 | #endif | |
1466 | ||
1467 | T0_Reserved_0x77: | |
1468 | #ifdef H_T0_Reserved_0x77 | |
1469 | #ifdef SUN_H_T0_Reserved_0x77 | |
1470 | SUN_H_T0_Reserved_0x77 | |
1471 | #else | |
1472 | CUSTOM_TRAP(H_T0_Reserved_0x77) | |
1473 | #endif | |
1474 | .align 32 | |
1475 | #else | |
1476 | NORMAL_TRAP(0x77); | |
1477 | #endif | |
1478 | ||
1479 | T0_Reserved_0x78: | |
1480 | #ifdef H_T0_Reserved_0x78 | |
1481 | #ifdef SUN_H_T0_Reserved_0x78 | |
1482 | SUN_H_T0_Reserved_0x78 | |
1483 | #else | |
1484 | CUSTOM_TRAP(H_T0_Reserved_0x78) | |
1485 | #endif | |
1486 | .align 32 | |
1487 | #else | |
1488 | NORMAL_TRAP(0x78); | |
1489 | #endif | |
1490 | ||
1491 | T0_Reserved_0x79: | |
1492 | #ifdef H_T0_Reserved_0x79 | |
1493 | #ifdef SUN_H_T0_Reserved_0x79 | |
1494 | SUN_H_T0_Reserved_0x79 | |
1495 | #else | |
1496 | CUSTOM_TRAP(H_T0_Reserved_0x79) | |
1497 | #endif | |
1498 | .align 32 | |
1499 | #else | |
1500 | NORMAL_TRAP(0x79); | |
1501 | #endif | |
1502 | ||
1503 | T0_Reserved_0x7a: | |
1504 | #ifdef H_T0_Reserved_0x7a | |
1505 | #ifdef SUN_H_T0_Reserved_0x7a | |
1506 | SUN_H_T0_Reserved_0x7a | |
1507 | #else | |
1508 | CUSTOM_TRAP(H_T0_Reserved_0x7a) | |
1509 | #endif | |
1510 | .align 32 | |
1511 | #else | |
1512 | NORMAL_TRAP(0x7a); | |
1513 | #endif | |
1514 | ||
1515 | T0_Reserved_0x7b: | |
1516 | #ifdef H_T0_Reserved_0x7b | |
1517 | #ifdef SUN_H_T0_Reserved_0x7b | |
1518 | SUN_H_T0_Reserved_0x7b | |
1519 | #else | |
1520 | CUSTOM_TRAP(H_T0_Reserved_0x7b) | |
1521 | #endif | |
1522 | .align 32 | |
1523 | #else | |
1524 | NORMAL_TRAP(0x7b); | |
1525 | #endif | |
1526 | ||
1527 | T0_Cpu_Mondo_Trap_0x7c: | |
1528 | #ifdef H_T0_Cpu_Mondo_Trap_0x7c | |
1529 | #ifdef SUN_H_T0_Cpu_Mondo_Trap_0x7c | |
1530 | SUN_H_T0_Cpu_Mondo_Trap_0x7c | |
1531 | #else | |
1532 | # ifdef My_T0_Cpu_Mondo_Trap_0x7c | |
1533 | My_T0_Cpu_Mondo_Trap_0x7c | |
1534 | # else | |
1535 | CUSTOM_TRAP(H_T0_Cpu_Mondo_Trap_0x7c) | |
1536 | # endif | |
1537 | #endif | |
1538 | .align 32 | |
1539 | #else | |
1540 | NORMAL_TRAP(0x7c); | |
1541 | #endif | |
1542 | ||
1543 | T0_Dev_Mondo_Trap_0x7d: | |
1544 | #ifdef H_T0_Dev_Mondo_Trap_0x7d | |
1545 | #ifdef SUN_H_T0_Dev_Mondo_Trap_0x7d | |
1546 | SUN_H_T0_Dev_Mondo_Trap_0x7d | |
1547 | #else | |
1548 | # ifdef My_T0_Dev_Mondo_Trap_0x7d | |
1549 | My_T0_Dev_Mondo_Trap_0x7d | |
1550 | # else | |
1551 | CUSTOM_TRAP(H_T0_Dev_Mondo_Trap_0x7d) | |
1552 | # endif | |
1553 | #endif | |
1554 | .align 32 | |
1555 | #else | |
1556 | NORMAL_TRAP(0x7d); | |
1557 | #endif | |
1558 | ||
1559 | T0_Resumable_Error_0x7e: | |
1560 | #ifdef H_T0_Resumable_Error_0x7e | |
1561 | #ifdef SUN_H_T0_Resumable_Error_0x7e | |
1562 | SUN_H_T0_Resumable_Error_0x7e | |
1563 | #else | |
1564 | # ifdef My_T0_Resumable_Error_0x7e | |
1565 | My_T0_Resumable_Error_0x7e | |
1566 | # else | |
1567 | CUSTOM_TRAP(H_T0_Resumable_Error_0x7e) | |
1568 | # endif | |
1569 | #endif | |
1570 | .align 32 | |
1571 | #else | |
1572 | NORMAL_TRAP(0x7e); | |
1573 | #endif | |
1574 | ||
1575 | T0_Non_Resumable_Error_0x7f: | |
1576 | #ifdef H_T0_Non_Resumable_Error_0x7f | |
1577 | #ifdef SUN_H_T0_Non_Resumable_Error_0x7f | |
1578 | SUN_H_T0_Non_Resumable_Error_0x7f | |
1579 | #else | |
1580 | # ifdef My_T0_Non_Resumable_Error_0x7f | |
1581 | My_T0_Non_Resumable_Error_0x7f | |
1582 | # else | |
1583 | CUSTOM_TRAP(H_T0_Non_Resumable_Error_0x7f) | |
1584 | # endif | |
1585 | #endif | |
1586 | .align 32 | |
1587 | #else | |
1588 | NORMAL_TRAP(0x7f); | |
1589 | #endif | |
1590 | ||
1591 | T0_Window_Spill_0_Normal_0x80: | |
1592 | #ifdef H_T0_Window_Spill_0_Normal_Trap | |
1593 | #ifdef SUN_H_T0_Window_Spill_0_Normal_Trap | |
1594 | SUN_H_T0_Window_Spill_0_Normal_Trap | |
1595 | #else | |
1596 | # ifdef My_T0_Window_Spill_0_Normal_Trap | |
1597 | My_T0_Window_Spill_0_Normal_Trap | |
1598 | # else | |
1599 | CUSTOM_TRAP(H_T0_Window_Spill_0_Normal_Trap) | |
1600 | # endif | |
1601 | #endif | |
1602 | #else | |
1603 | #ifdef SPILL_TRAP_RETRY | |
1604 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1605 | #else | |
1606 | SPILL_TRAP(0x80) | |
1607 | #endif | |
1608 | #endif | |
1609 | ||
1610 | .align 128 | |
1611 | T0_Window_Spill_1_Normal_0x84: | |
1612 | #ifdef H_T0_Window_Spill_1_Normal_Trap | |
1613 | #ifdef SUN_H_T0_Window_Spill_1_Normal_Trap | |
1614 | SUN_H_T0_Window_Spill_1_Normal_Trap | |
1615 | #else | |
1616 | # ifdef My_T0_Window_Spill_1_Normal_Trap | |
1617 | My_T0_Window_Spill_1_Normal_Trap | |
1618 | # else | |
1619 | CUSTOM_TRAP(H_T0_Window_Spill_1_Normal_Trap) | |
1620 | # endif | |
1621 | #endif | |
1622 | #else | |
1623 | #ifdef SPILL_TRAP_RETRY | |
1624 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1625 | #else | |
1626 | SPILL_TRAP(0x84) | |
1627 | #endif | |
1628 | #endif | |
1629 | ||
1630 | .align 128 | |
1631 | T0_Window_Spill_2_Normal_0x88: | |
1632 | #ifdef H_T0_Window_Spill_2_Normal_Trap | |
1633 | #ifdef SUN_H_T0_Window_Spill_2_Normal_Trap | |
1634 | SUN_H_T0_Window_Spill_2_Normal_Trap | |
1635 | #else | |
1636 | # ifdef My_T0_Window_Spill_2_Normal_Trap | |
1637 | My_T0_Window_Spill_2_Normal_Trap | |
1638 | # else | |
1639 | CUSTOM_TRAP(H_T0_Window_Spill_2_Normal_Trap) | |
1640 | # endif | |
1641 | #endif | |
1642 | #else | |
1643 | #ifdef SPILL_TRAP_RETRY | |
1644 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1645 | #else | |
1646 | SPILL_TRAP(0x88) | |
1647 | #endif | |
1648 | #endif | |
1649 | ||
1650 | .align 128 | |
1651 | T0_Window_Spill_3_Normal_0x8c: | |
1652 | #ifdef H_T0_Window_Spill_3_Normal_Trap | |
1653 | #ifdef SUN_H_T0_Window_Spill_3_Normal_Trap | |
1654 | SUN_H_T0_Window_Spill_3_Normal_Trap | |
1655 | #else | |
1656 | # ifdef My_T0_Window_Spill_3_Normal_Trap | |
1657 | My_T0_Window_Spill_3_Normal_Trap | |
1658 | # else | |
1659 | CUSTOM_TRAP(H_T0_Window_Spill_3_Normal_Trap) | |
1660 | # endif | |
1661 | #endif | |
1662 | #else | |
1663 | #ifdef SPILL_TRAP_RETRY | |
1664 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1665 | #else | |
1666 | SPILL_TRAP(0x8c) | |
1667 | #endif | |
1668 | #endif | |
1669 | ||
1670 | .align 128 | |
1671 | T0_Window_Spill_4_Normal_0x90: | |
1672 | #ifdef H_T0_Window_Spill_4_Normal_Trap | |
1673 | #ifdef SUN_H_T0_Window_Spill_4_Normal_Trap | |
1674 | SUN_H_T0_Window_Spill_4_Normal_Trap | |
1675 | #else | |
1676 | # ifdef My_T0_Window_Spill_4_Normal_Trap | |
1677 | My_T0_Window_Spill_4_Normal_Trap | |
1678 | # else | |
1679 | CUSTOM_TRAP(H_T0_Window_Spill_4_Normal_Trap) | |
1680 | # endif | |
1681 | #endif | |
1682 | #else | |
1683 | #ifdef SPILL_TRAP_RETRY | |
1684 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1685 | #else | |
1686 | SPILL_TRAP(0x90) | |
1687 | #endif | |
1688 | #endif | |
1689 | ||
1690 | .align 128 | |
1691 | T0_Window_Spill_5_Normal_0x94: | |
1692 | #ifdef H_T0_Window_Spill_5_Normal_Trap | |
1693 | #ifdef SUN_H_T0_Window_Spill_5_Normal_Trap | |
1694 | SUN_H_T0_Window_Spill_5_Normal_Trap | |
1695 | #else | |
1696 | # ifdef My_T0_Window_Spill_5_Normal_Trap | |
1697 | My_T0_Window_Spill_5_Normal_Trap | |
1698 | # else | |
1699 | CUSTOM_TRAP(H_T0_Window_Spill_5_Normal_Trap) | |
1700 | # endif | |
1701 | #endif | |
1702 | #else | |
1703 | #ifdef SPILL_TRAP_RETRY | |
1704 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1705 | #else | |
1706 | SPILL_TRAP(0x94) | |
1707 | #endif | |
1708 | #endif | |
1709 | ||
1710 | .align 128 | |
1711 | T0_Window_Spill_6_Normal_0x98: | |
1712 | #ifdef H_T0_Window_Spill_6_Normal_Trap | |
1713 | #ifdef SUN_H_T0_Window_Spill_6_Normal_Trap | |
1714 | SUN_H_T0_Window_Spill_6_Normal_Trap | |
1715 | #else | |
1716 | # ifdef My_T0_Window_Spill_6_Normal_Trap | |
1717 | My_T0_Window_Spill_6_Normal_Trap | |
1718 | # else | |
1719 | CUSTOM_TRAP(H_T0_Window_Spill_6_Normal_Trap) | |
1720 | # endif | |
1721 | #endif | |
1722 | #else | |
1723 | #ifdef SPILL_TRAP_RETRY | |
1724 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1725 | #else | |
1726 | SPILL_TRAP(0x98) | |
1727 | #endif | |
1728 | #endif | |
1729 | ||
1730 | .align 128 | |
1731 | T0_Window_Spill_7_Normal_0x9c: | |
1732 | #ifdef H_T0_Window_Spill_7_Normal_Trap | |
1733 | #ifdef SUN_H_T0_Window_Spill_7_Normal_Trap | |
1734 | SUN_H_T0_Window_Spill_7_Normal_Trap | |
1735 | #else | |
1736 | # ifdef My_T0_Window_Spill_7_Normal_Trap | |
1737 | My_T0_Window_Spill_7_Normal_Trap | |
1738 | # else | |
1739 | CUSTOM_TRAP(H_T0_Window_Spill_7_Normal_Trap) | |
1740 | # endif | |
1741 | #endif | |
1742 | #else | |
1743 | #ifdef SPILL_TRAP_RETRY | |
1744 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1745 | #else | |
1746 | SPILL_TRAP(0x9c) | |
1747 | #endif | |
1748 | #endif | |
1749 | ||
1750 | .align 128 | |
1751 | T0_Window_Spill_0_Other_0xa0: | |
1752 | #ifdef H_T0_Window_Spill_0_Other_Trap | |
1753 | #ifdef SUN_H_T0_Window_Spill_0_Other_Trap | |
1754 | SUN_H_T0_Window_Spill_0_Other_Trap | |
1755 | #else | |
1756 | # ifdef My_T0_Window_Spill_0_Other_Trap | |
1757 | My_T0_Window_Spill_0_Other_Trap | |
1758 | # else | |
1759 | CUSTOM_TRAP(H_T0_Window_Spill_0_Other_Trap) | |
1760 | # endif | |
1761 | #endif | |
1762 | #else | |
1763 | #ifdef SPILL_TRAP_RETRY | |
1764 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1765 | #else | |
1766 | SPILL_TRAP(0xa0) | |
1767 | #endif | |
1768 | #endif | |
1769 | ||
1770 | .align 128 | |
1771 | T0_Window_Spill_1_Other_0xa4: | |
1772 | #ifdef H_T0_Window_Spill_1_Other_Trap | |
1773 | #ifdef SUN_H_T0_Window_Spill_1_Other_Trap | |
1774 | SUN_H_T0_Window_Spill_1_Other_Trap | |
1775 | #else | |
1776 | # ifdef My_T0_Window_Spill_1_Other_Trap | |
1777 | My_T0_Window_Spill_1_Other_Trap | |
1778 | # else | |
1779 | CUSTOM_TRAP(H_T0_Window_Spill_1_Other_Trap) | |
1780 | # endif | |
1781 | #endif | |
1782 | #else | |
1783 | #ifdef SPILL_TRAP_RETRY | |
1784 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1785 | #else | |
1786 | SPILL_TRAP(0xa4) | |
1787 | #endif | |
1788 | #endif | |
1789 | ||
1790 | .align 128 | |
1791 | T0_Window_Spill_2_Other_0xa8: | |
1792 | #ifdef H_T0_Window_Spill_2_Other_Trap | |
1793 | #ifdef SUN_H_T0_Window_Spill_2_Other_Trap | |
1794 | SUN_H_T0_Window_Spill_2_Other_Trap | |
1795 | #else | |
1796 | # ifdef My_T0_Window_Spill_2_Other_Trap | |
1797 | My_T0_Window_Spill_2_Other_Trap | |
1798 | # else | |
1799 | CUSTOM_TRAP(H_T0_Window_Spill_2_Other_Trap) | |
1800 | # endif | |
1801 | #endif | |
1802 | #else | |
1803 | #ifdef SPILL_TRAP_RETRY | |
1804 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1805 | #else | |
1806 | SPILL_TRAP(0xa8) | |
1807 | #endif | |
1808 | #endif | |
1809 | ||
1810 | .align 128 | |
1811 | T0_Window_Spill_3_Other_0xac: | |
1812 | #ifdef H_T0_Window_Spill_3_Other_Trap | |
1813 | #ifdef SUN_H_T0_Window_Spill_3_Other_Trap | |
1814 | SUN_H_T0_Window_Spill_3_Other_Trap | |
1815 | #else | |
1816 | # ifdef My_T0_Window_Spill_3_Other_Trap | |
1817 | My_T0_Window_Spill_3_Other_Trap | |
1818 | # else | |
1819 | CUSTOM_TRAP(H_T0_Window_Spill_3_Other_Trap) | |
1820 | # endif | |
1821 | #endif | |
1822 | #else | |
1823 | #ifdef SPILL_TRAP_RETRY | |
1824 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1825 | #else | |
1826 | SPILL_TRAP(0xac) | |
1827 | #endif | |
1828 | #endif | |
1829 | ||
1830 | .align 128 | |
1831 | T0_Window_Spill_4_Other_0xb0: | |
1832 | #ifdef H_T0_Window_Spill_4_Other_Trap | |
1833 | #ifdef SUN_H_T0_Window_Spill_4_Other_Trap | |
1834 | SUN_H_T0_Window_Spill_4_Other_Trap | |
1835 | #else | |
1836 | # ifdef My_T0_Window_Spill_4_Other_Trap | |
1837 | My_T0_Window_Spill_4_Other_Trap | |
1838 | # else | |
1839 | CUSTOM_TRAP(H_T0_Window_Spill_4_Other_Trap) | |
1840 | # endif | |
1841 | #endif | |
1842 | #else | |
1843 | #ifdef SPILL_TRAP_RETRY | |
1844 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1845 | #else | |
1846 | SPILL_TRAP(0xb0) | |
1847 | #endif | |
1848 | #endif | |
1849 | ||
1850 | .align 128 | |
1851 | T0_Window_Spill_5_Other_0xb4: | |
1852 | #ifdef H_T0_Window_Spill_5_Other_Trap | |
1853 | #ifdef SUN_H_T0_Window_Spill_5_Other_Trap | |
1854 | SUN_H_T0_Window_Spill_5_Other_Trap | |
1855 | #else | |
1856 | # ifdef My_T0_Window_Spill_5_Other_Trap | |
1857 | My_T0_Window_Spill_5_Other_Trap | |
1858 | # else | |
1859 | CUSTOM_TRAP(H_T0_Window_Spill_5_Other_Trap) | |
1860 | # endif | |
1861 | #endif | |
1862 | #else | |
1863 | #ifdef SPILL_TRAP_RETRY | |
1864 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1865 | #else | |
1866 | SPILL_TRAP(0xb4) | |
1867 | #endif | |
1868 | #endif | |
1869 | ||
1870 | .align 128 | |
1871 | T0_Window_Spill_6_Other_0xb8: | |
1872 | #ifdef H_T0_Window_Spill_6_Other_Trap | |
1873 | #ifdef SUN_H_T0_Window_Spill_6_Other_Trap | |
1874 | SUN_H_T0_Window_Spill_6_Other_Trap | |
1875 | #else | |
1876 | # ifdef My_T0_Window_Spill_6_Other_Trap | |
1877 | My_T0_Window_Spill_6_Other_Trap | |
1878 | # else | |
1879 | CUSTOM_TRAP(H_T0_Window_Spill_6_Other_Trap) | |
1880 | # endif | |
1881 | #endif | |
1882 | #else | |
1883 | #ifdef SPILL_TRAP_RETRY | |
1884 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1885 | #else | |
1886 | SPILL_TRAP(0xb8) | |
1887 | #endif | |
1888 | #endif | |
1889 | ||
1890 | .align 128 | |
1891 | T0_Window_Spill_7_Other_0xbc: | |
1892 | #ifdef H_T0_Window_Spill_7_Other_Trap | |
1893 | #ifdef SUN_H_T0_Window_Spill_7_Other_Trap | |
1894 | SUN_H_T0_Window_Spill_7_Other_Trap | |
1895 | #else | |
1896 | # ifdef My_T0_Window_Spill_7_Other_Trap | |
1897 | My_T0_Window_Spill_7_Other_Trap | |
1898 | # else | |
1899 | CUSTOM_TRAP(H_T0_Window_Spill_7_Other_Trap) | |
1900 | # endif | |
1901 | #endif | |
1902 | #else | |
1903 | #ifdef SPILL_TRAP_RETRY | |
1904 | saved; retry; nop;nop;nop;nop;nop;nop; | |
1905 | #else | |
1906 | SPILL_TRAP(0xbc) | |
1907 | #endif | |
1908 | #endif | |
1909 | ||
1910 | .align 128 | |
1911 | T0_Window_Fill_0_Normal_0xc0: | |
1912 | #ifdef H_T0_Window_Fill_0_Normal_Trap | |
1913 | #ifdef SUN_H_T0_Window_Fill_0_Normal_Trap | |
1914 | SUN_H_T0_Window_Fill_0_Normal_Trap | |
1915 | #else | |
1916 | # ifdef My_T0_Window_Fill_0_Normal_Trap | |
1917 | My_T0_Window_Fill_0_Normal_Trap | |
1918 | # else | |
1919 | CUSTOM_TRAP(H_T0_Window_Fill_0_Normal_Trap) | |
1920 | # endif | |
1921 | #endif | |
1922 | #else | |
1923 | #ifdef FILL_TRAP_RETRY | |
1924 | restored; retry; nop;nop;nop;nop;nop;nop; | |
1925 | #else | |
1926 | FILL_TRAP(0xc0) | |
1927 | #endif | |
1928 | #endif | |
1929 | ||
1930 | .align 128 | |
1931 | T0_Window_Fill_1_Normal_0xc4: | |
1932 | #ifdef H_T0_Window_Fill_1_Normal_Trap | |
1933 | #ifdef SUN_H_T0_Window_Fill_1_Normal_Trap | |
1934 | SUN_H_T0_Window_Fill_1_Normal_Trap | |
1935 | #else | |
1936 | # ifdef My_T0_Window_Fill_1_Normal_Trap | |
1937 | My_T0_Window_Fill_1_Normal_Trap | |
1938 | # else | |
1939 | CUSTOM_TRAP(H_T0_Window_Fill_1_Normal_Trap) | |
1940 | # endif | |
1941 | #endif | |
1942 | #else | |
1943 | #ifdef FILL_TRAP_RETRY | |
1944 | restored; retry; nop;nop;nop;nop;nop;nop; | |
1945 | #else | |
1946 | FILL_TRAP(0xc4) | |
1947 | #endif | |
1948 | #endif | |
1949 | ||
1950 | .align 128 | |
1951 | T0_Window_Fill_2_Normal_0xc8: | |
1952 | #ifdef H_T0_Window_Fill_2_Normal_Trap | |
1953 | #ifdef SUN_H_T0_Window_Fill_2_Normal_Trap | |
1954 | SUN_H_T0_Window_Fill_2_Normal_Trap | |
1955 | #else | |
1956 | # ifdef My_T0_Window_Fill_2_Normal_Trap | |
1957 | My_T0_Window_Fill_2_Normal_Trap | |
1958 | # else | |
1959 | CUSTOM_TRAP(H_T0_Window_Fill_2_Normal_Trap) | |
1960 | # endif | |
1961 | #endif | |
1962 | #else | |
1963 | #ifdef FILL_TRAP_RETRY | |
1964 | restored; retry; nop;nop;nop;nop;nop;nop; | |
1965 | #else | |
1966 | FILL_TRAP(0xc8) | |
1967 | #endif | |
1968 | #endif | |
1969 | ||
1970 | .align 128 | |
1971 | T0_Window_Fill_3_Normal_0xcc: | |
1972 | #ifdef H_T0_Window_Fill_3_Normal_Trap | |
1973 | #ifdef SUN_H_T0_Window_Fill_3_Normal_Trap | |
1974 | SUN_H_T0_Window_Fill_3_Normal_Trap | |
1975 | #else | |
1976 | # ifdef My_T0_Window_Fill_3_Normal_Trap | |
1977 | My_T0_Window_Fill_3_Normal_Trap | |
1978 | # else | |
1979 | CUSTOM_TRAP(H_T0_Window_Fill_3_Normal_Trap) | |
1980 | # endif | |
1981 | #endif | |
1982 | #else | |
1983 | #ifdef FILL_TRAP_RETRY | |
1984 | restored; retry; nop;nop;nop;nop;nop;nop; | |
1985 | #else | |
1986 | FILL_TRAP(0xcc) | |
1987 | #endif | |
1988 | #endif | |
1989 | ||
1990 | .align 128 | |
1991 | T0_Window_Fill_4_Normal_0xd0: | |
1992 | #ifdef H_T0_Window_Fill_4_Normal_Trap | |
1993 | #ifdef SUN_H_T0_Window_Fill_4_Normal_Trap | |
1994 | SUN_H_T0_Window_Fill_4_Normal_Trap | |
1995 | #else | |
1996 | # ifdef My_T0_Window_Fill_4_Normal_Trap | |
1997 | My_T0_Window_Fill_4_Normal_Trap | |
1998 | # else | |
1999 | CUSTOM_TRAP(H_T0_Window_Fill_4_Normal_Trap) | |
2000 | # endif | |
2001 | #endif | |
2002 | #else | |
2003 | #ifdef FILL_TRAP_RETRY | |
2004 | restored; retry; nop;nop;nop;nop;nop;nop; | |
2005 | #else | |
2006 | FILL_TRAP(0xd0) | |
2007 | #endif | |
2008 | #endif | |
2009 | ||
2010 | .align 128 | |
2011 | T0_Window_Fill_5_Normal_0xd4: | |
2012 | #ifdef H_T0_Window_Fill_5_Normal_Trap | |
2013 | #ifdef SUN_H_T0_Window_Fill_5_Normal_Trap | |
2014 | SUN_H_T0_Window_Fill_5_Normal_Trap | |
2015 | #else | |
2016 | # ifdef My_T0_Window_Fill_5_Normal_Trap | |
2017 | My_T0_Window_Fill_5_Normal_Trap | |
2018 | # else | |
2019 | CUSTOM_TRAP(H_T0_Window_Fill_5_Normal_Trap) | |
2020 | # endif | |
2021 | #endif | |
2022 | #else | |
2023 | #ifdef FILL_TRAP_RETRY | |
2024 | restored; retry; nop;nop;nop;nop;nop;nop; | |
2025 | #else | |
2026 | FILL_TRAP(0xd4) | |
2027 | #endif | |
2028 | #endif | |
2029 | ||
2030 | .align 128 | |
2031 | T0_Window_Fill_6_Normal_0xd8: | |
2032 | #ifdef H_T0_Window_Fill_6_Normal_Trap | |
2033 | #ifdef SUN_H_T0_Window_Fill_6_Normal_Trap | |
2034 | SUN_H_T0_Window_Fill_6_Normal_Trap | |
2035 | #else | |
2036 | # ifdef My_T0_Window_Fill_6_Normal_Trap | |
2037 | My_T0_Window_Fill_6_Normal_Trap | |
2038 | # else | |
2039 | CUSTOM_TRAP(H_T0_Window_Fill_6_Normal_Trap) | |
2040 | # endif | |
2041 | #endif | |
2042 | #else | |
2043 | #ifdef FILL_TRAP_RETRY | |
2044 | restored; retry; nop;nop;nop;nop;nop;nop; | |
2045 | #else | |
2046 | FILL_TRAP(0xd8) | |
2047 | #endif | |
2048 | #endif | |
2049 | ||
2050 | .align 128 | |
2051 | T0_Window_Fill_7_Normal_0xdc: | |
2052 | #ifdef H_T0_Window_Fill_7_Normal_Trap | |
2053 | #ifdef SUN_H_T0_Window_Fill_7_Normal_Trap | |
2054 | SUN_H_T0_Window_Fill_7_Normal_Trap | |
2055 | #else | |
2056 | # ifdef My_T0_Window_Fill_7_Normal_Trap | |
2057 | My_T0_Window_Fill_7_Normal_Trap | |
2058 | # else | |
2059 | CUSTOM_TRAP(H_T0_Window_Fill_7_Normal_Trap) | |
2060 | # endif | |
2061 | #endif | |
2062 | #else | |
2063 | #ifdef FILL_TRAP_RETRY | |
2064 | restored; retry; nop;nop;nop;nop;nop;nop; | |
2065 | #else | |
2066 | FILL_TRAP(0xdc) | |
2067 | #endif | |
2068 | #endif | |
2069 | ||
2070 | .align 128 | |
2071 | T0_Window_Fill_0_Other_0xe0: | |
2072 | #ifdef H_T0_Window_Fill_0_Other_Trap | |
2073 | #ifdef SUN_H_T0_Window_Fill_0_Other_Trap | |
2074 | SUN_H_T0_Window_Fill_0_Other_Trap | |
2075 | #else | |
2076 | # ifdef My_T0_Window_Fill_0_Other_Trap | |
2077 | My_T0_Window_Fill_0_Other_Trap | |
2078 | # else | |
2079 | CUSTOM_TRAP(H_T0_Window_Fill_0_Other_Trap) | |
2080 | # endif | |
2081 | #endif | |
2082 | #else | |
2083 | FILL_TRAP(0xe0) | |
2084 | #endif | |
2085 | ||
2086 | .align 128 | |
2087 | T0_Window_Fill_1_Other_0xe4: | |
2088 | #ifdef H_T0_Window_Fill_1_Other_Trap | |
2089 | #ifdef SUN_H_T0_Window_Fill_1_Other_Trap | |
2090 | SUN_H_T0_Window_Fill_1_Other_Trap | |
2091 | #else | |
2092 | # ifdef My_T0_Window_Fill_1_Other_Trap | |
2093 | My_T0_Window_Fill_1_Other_Trap | |
2094 | # else | |
2095 | CUSTOM_TRAP(H_T0_Window_Fill_1_Other_Trap) | |
2096 | # endif | |
2097 | #endif | |
2098 | #else | |
2099 | FILL_TRAP(0xe4) | |
2100 | #endif | |
2101 | ||
2102 | .align 128 | |
2103 | T0_Window_Fill_2_Other_0xe8: | |
2104 | #ifdef H_T0_Window_Fill_2_Other_Trap | |
2105 | #ifdef SUN_H_T0_Window_Fill_2_Other_Trap | |
2106 | SUN_H_T0_Window_Fill_2_Other_Trap | |
2107 | #else | |
2108 | # ifdef My_T0_Window_Fill_2_Other_Trap | |
2109 | My_T0_Window_Fill_2_Other_Trap | |
2110 | # else | |
2111 | CUSTOM_TRAP(H_T0_Window_Fill_2_Other_Trap) | |
2112 | # endif | |
2113 | #endif | |
2114 | #else | |
2115 | FILL_TRAP(0xe8) | |
2116 | #endif | |
2117 | ||
2118 | .align 128 | |
2119 | T0_Window_Fill_3_Other_0xec: | |
2120 | #ifdef H_T0_Window_Fill_3_Other_Trap | |
2121 | #ifdef SUN_H_T0_Window_Fill_3_Other_Trap | |
2122 | SUN_H_T0_Window_Fill_3_Other_Trap | |
2123 | #else | |
2124 | # ifdef My_T0_Window_Fill_3_Other_Trap | |
2125 | My_T0_Window_Fill_3_Other_Trap | |
2126 | # else | |
2127 | CUSTOM_TRAP(H_T0_Window_Fill_3_Other_Trap) | |
2128 | # endif | |
2129 | #endif | |
2130 | #else | |
2131 | FILL_TRAP(0xec) | |
2132 | #endif | |
2133 | ||
2134 | .align 128 | |
2135 | T0_Window_Fill_4_Other_0xf0: | |
2136 | #ifdef H_T0_Window_Fill_4_Other_Trap | |
2137 | #ifdef SUN_H_T0_Window_Fill_4_Other_Trap | |
2138 | SUN_H_T0_Window_Fill_4_Other_Trap | |
2139 | #else | |
2140 | # ifdef My_T0_Window_Fill_4_Other_Trap | |
2141 | My_T0_Window_Fill_4_Other_Trap | |
2142 | # else | |
2143 | CUSTOM_TRAP(H_T0_Window_Fill_4_Other_Trap) | |
2144 | # endif | |
2145 | #endif | |
2146 | #else | |
2147 | FILL_TRAP(0xf0) | |
2148 | #endif | |
2149 | ||
2150 | .align 128 | |
2151 | T0_Window_Fill_5_Other_0xf4: | |
2152 | #ifdef H_T0_Window_Fill_5_Other_Trap | |
2153 | #ifdef SUN_H_T0_Window_Fill_5_Other_Trap | |
2154 | SUN_H_T0_Window_Fill_5_Other_Trap | |
2155 | #else | |
2156 | # ifdef My_T0_Window_Fill_5_Other_Trap | |
2157 | My_T0_Window_Fill_5_Other_Trap | |
2158 | # else | |
2159 | CUSTOM_TRAP(H_T0_Window_Fill_5_Other_Trap) | |
2160 | # endif | |
2161 | #endif | |
2162 | #else | |
2163 | FILL_TRAP(0xf4) | |
2164 | #endif | |
2165 | ||
2166 | .align 128 | |
2167 | T0_Window_Fill_6_Other_0xf8: | |
2168 | #ifdef H_T0_Window_Fill_6_Other_Trap | |
2169 | #ifdef SUN_H_T0_Window_Fill_6_Other_Trap | |
2170 | SUN_H_T0_Window_Fill_6_Other_Trap | |
2171 | #else | |
2172 | # ifdef My_T0_Window_Fill_6_Other_Trap | |
2173 | My_T0_Window_Fill_6_Other_Trap | |
2174 | # else | |
2175 | CUSTOM_TRAP(H_T0_Window_Fill_6_Other_Trap) | |
2176 | # endif | |
2177 | #endif | |
2178 | #else | |
2179 | FILL_TRAP(0xf8) | |
2180 | #endif | |
2181 | ||
2182 | .align 128 | |
2183 | T0_Window_Fill_7_Other_0xfc: | |
2184 | #ifdef H_T0_Window_Fill_7_Other_Trap | |
2185 | #ifdef SUN_H_T0_Window_Fill_7_Other_Trap | |
2186 | SUN_H_T0_Window_Fill_7_Other_Trap | |
2187 | #else | |
2188 | # ifdef My_T0_Window_Fill_7_Other_Trap | |
2189 | My_T0_Window_Fill_7_Other_Trap | |
2190 | # else | |
2191 | CUSTOM_TRAP(H_T0_Window_Fill_7_Other_Trap) | |
2192 | # endif | |
2193 | #endif | |
2194 | #else | |
2195 | FILL_TRAP(0xfc) | |
2196 | #endif | |
2197 | ||
2198 | .align 128 | |
2199 | T0_GoodTrap_0x100: | |
2200 | !rd %asr26, %g1; wr %g1, 0x1, %asr26; nop; b good_trap;nop;nop;nop;nop | |
2201 | ta T_HGOOD_TRAP ! N2 | |
2202 | nop ! N2 | |
2203 | nop ! N2 | |
2204 | nop ! N2 | |
2205 | nop ! N2 | |
2206 | nop ! N2 | |
2207 | nop ! N2 | |
2208 | nop ! N2 | |
2209 | ||
2210 | T0_BadTrap_0x101: | |
2211 | #ifdef EXPECT_BAD_TRAP | |
2212 | ta T_HGOOD_TRAP; nop;nop;nop;nop;nop;nop;nop | |
2213 | #else | |
2214 | ta T_HBAD_TRAP; nop;nop;nop;nop;nop;nop;nop | |
2215 | #endif | |
2216 | ||
2217 | T0_ChangePriv_0x102: | |
2218 | #ifdef H_T0_ChangePriv_0x102 | |
2219 | #ifdef SUN_H_T0_ChangePriv_0x102 | |
2220 | SUN_H_T0_ChangePriv_0x102 | |
2221 | #else | |
2222 | CUSTOM_TRAP(H_T0_ChangePriv_0x102) | |
2223 | #endif | |
2224 | #else | |
2225 | rdpr %tstate, %g1 | |
2226 | or %g1, 0x400, %g2 | |
2227 | wrpr %g0, %g2, %tstate | |
2228 | done | |
2229 | nop | |
2230 | nop | |
2231 | nop | |
2232 | nop | |
2233 | #endif | |
2234 | ||
2235 | T0_ChangeNonPriv_0x103: | |
2236 | #ifdef H_T0_ChangeNonPriv_0x103 | |
2237 | #ifdef SUN_H_T0_ChangeNonPriv_0x103 | |
2238 | SUN_H_T0_ChangeNonPriv_0x103 | |
2239 | #else | |
2240 | CUSTOM_TRAP(H_T0_ChangeNonPriv_0x103) | |
2241 | #endif | |
2242 | #else | |
2243 | rdpr %tstate, %g1 | |
2244 | andn %g1, 0x400, %g2 | |
2245 | wrpr %g0, %g2, %tstate | |
2246 | done | |
2247 | nop | |
2248 | nop | |
2249 | nop | |
2250 | nop | |
2251 | #endif | |
2252 | ||
2253 | T0_ChangeToTL1_0x104: | |
2254 | #ifdef H_T0_ChangeToTL1_0x104 | |
2255 | #ifdef SUN_H_T0_ChangeToTL1_0x104 | |
2256 | SUN_H_T0_ChangeToTL1_0x104 | |
2257 | #else | |
2258 | CUSTOM_TRAP(H_T0_ChangeToTL1_0x104) | |
2259 | #endif | |
2260 | #else | |
2261 | wrpr %g0, 1, %gl | |
2262 | rdpr %tnpc, %g1 | |
2263 | wrpr %g0, 1, %tl | |
2264 | jmp %g1 | |
2265 | nop | |
2266 | nop | |
2267 | nop | |
2268 | nop | |
2269 | #endif | |
2270 | ||
2271 | T0_ChangeToTL0_0x105: | |
2272 | #ifdef H_T0_ChangeToTL0_0x105 | |
2273 | #ifdef SUN_H_T0_ChangeToTL0_0x105 | |
2274 | SUN_H_T0_ChangeToTL0_0x105 | |
2275 | #else | |
2276 | CUSTOM_TRAP(H_T0_ChangeToTL0_0x105) | |
2277 | #endif | |
2278 | #else | |
2279 | rdpr %tstate, %g1 | |
2280 | rdpr %tpc, %g2 | |
2281 | rdpr %tnpc, %g3 | |
2282 | wrpr %g0, 1, %tl | |
2283 | wrpr %g1, 0, %tstate | |
2284 | wrpr %g2, 0, %tpc | |
2285 | wrpr %g3, 0, %tnpc | |
2286 | done | |
2287 | #endif | |
2288 | ||
2289 | T0_ChangeToTL0_0x106: | |
2290 | #ifdef H_T0_ChangeToTL0_0x106 | |
2291 | #ifdef SUN_H_T0_ChangeToTL0_0x106 | |
2292 | SUN_H_T0_ChangeToTL0_0x106 | |
2293 | #else | |
2294 | CUSTOM_TRAP(H_T0_ChangeToTL0_0x106) | |
2295 | #endif | |
2296 | #else | |
2297 | rdpr %tstate, %g1 | |
2298 | rdpr %tpc, %g2 | |
2299 | rdpr %tnpc, %g3 | |
2300 | wrpr %g0, 1, %tl | |
2301 | wrpr %g1, 0, %tstate | |
2302 | wrpr %g2, 0, %tpc | |
2303 | wrpr %g3, 0, %tnpc | |
2304 | done | |
2305 | #endif | |
2306 | ||
2307 | T0_ChangeToTL0_0x107: | |
2308 | #ifdef H_T0_ChangeToTL0_0x107 | |
2309 | #ifdef SUN_H_T0_ChangeToTL0_0x107 | |
2310 | SUN_H_T0_ChangeToTL0_0x107 | |
2311 | #else | |
2312 | CUSTOM_TRAP(H_T0_ChangeToTL0_0x107) | |
2313 | #endif | |
2314 | #else | |
2315 | rdpr %tstate, %g1 | |
2316 | rdpr %tpc, %g2 | |
2317 | rdpr %tnpc, %g3 | |
2318 | wrpr %g0, 1, %tl | |
2319 | wrpr %g1, 0, %tstate | |
2320 | wrpr %g2, 0, %tpc | |
2321 | wrpr %g3, 0, %tnpc | |
2322 | done | |
2323 | #endif | |
2324 | ||
2325 | .align 128 | |
2326 | T0_TrapEn_0x108: | |
2327 | setx trap_enable_data, %g2, %g1 | |
2328 | mov 0x800, %g2 | |
2329 | add %o0, %o0, %o0 | |
2330 | sth %g2, [%g1+%o0] | |
2331 | done | |
2332 | ||
2333 | .align 64 | |
2334 | T0_TrapDis_0x10a: | |
2335 | setx trap_enable_data, %g2, %g1 | |
2336 | mov 0, %g2 | |
2337 | add %o0, %o0, %o0 | |
2338 | sth %g2, [%g1+%o0] | |
2339 | done | |
2340 | ||
2341 | .align 64 | |
2342 | T0_TrapEn_Ntimes_0x10c: | |
2343 | setx trap_enable_data, %g2, %g1 | |
2344 | add %o0, %o0, %o0 | |
2345 | sth %o1, [%g1+%o0] | |
2346 | done | |
2347 | ||
2348 | .align 128 | |
2349 | T0_PThreadMutexLock_0x110: | |
2350 | #ifdef H_T0_PThreadMutexLock_0x110 | |
2351 | #ifdef SUN_H_T0_PThreadMutexLock_0x110 | |
2352 | SUN_H_T0_PThreadMutexLock_0x110 | |
2353 | #else | |
2354 | # ifdef My_T0_PThreadMutexLock_0x110 | |
2355 | My_T0_PThreadMutexLock_0x110 | |
2356 | # else | |
2357 | CUSTOM_TRAP(H_T0_PThreadMutexLock_0x110) | |
2358 | # endif | |
2359 | #endif | |
2360 | #else | |
2361 | wrpr 1, %gl ! set it back to 1 | |
2362 | !! setx pthread_mutex_data, %g2, %g3 | |
2363 | sethi %hi(pthread_mutex_data), %g3 | |
2364 | pt_retry: | |
2365 | ldstub [%g3+%g7], %g2 | |
2366 | brz %g2, pt_done | |
2367 | nop | |
2368 | pt_loop: | |
2369 | ldub [%g3+%g7], %g2 | |
2370 | brnz %g2, pt_loop | |
2371 | nop | |
2372 | ba,a pt_retry | |
2373 | pt_done: | |
2374 | membar #LoadLoad | #LoadStore | |
2375 | ldsb [%g4+%g6], %g3 | |
2376 | add 1, %g3, %g3 | |
2377 | stub %g3, [%g4+%g6] | |
2378 | done | |
2379 | nop | |
2380 | #endif | |
2381 | ||
2382 | .align 128 | |
2383 | T0_PThreadMutexUnLock_0x114: | |
2384 | #ifdef H_T0_PThreadMutexUnLock_0x114 | |
2385 | #ifdef SUN_H_T0_PThreadMutexUnLock_0x114 | |
2386 | SUN_H_T0_PThreadMutexUnLock_0x114 | |
2387 | #else | |
2388 | CUSTOM_TRAP(H_T0_PThreadMutexUnLock_0x114) | |
2389 | #endif | |
2390 | #else | |
2391 | wrpr 1, %gl ! set it back to 1 | |
2392 | !! setx pthread_mutex_data, %g2, %g3 | |
2393 | sethi %hi(pthread_mutex_data), %g3 | |
2394 | stub %g0, [%g3+%g7] | |
2395 | ldsb [%g4+%g6], %g3 | |
2396 | subcc %g5, 1, %g5 ! %g5 timeout count | |
2397 | te T_BAD_TRAP | |
2398 | cmp %g3, THREAD_COUNT | |
2399 | bl,a .-12 | |
2400 | ldsb [%g4+%g6], %g3 | |
2401 | done | |
2402 | nop | |
2403 | #endif | |
2404 | ||
2405 | .align 64 | |
2406 | T0_Trap_Sync_0x116: | |
2407 | setx pthread_counter_data, %g1, %g4 | |
2408 | !! we will change the GL not other's | |
2409 | wrpr 1, %gl | |
2410 | rdpr %tstate, %g3 ! get TSTATE | |
2411 | mov 1,%g1 | |
2412 | sllx %g1, 40, %g1 ! mov GL to low bit | |
2413 | xor %g1, %g3, %g3 ! change the prev GL value | |
2414 | wrpr %g3, %tstate | |
2415 | done | |
2416 | nop | |
2417 | ||
2418 | ||
2419 | ||
2420 | .align 64 | |
2421 | ! call kernel device routine | |
2422 | T0_Trap_SysCall_0x118: | |
2423 | ! calculate ptr to syscall data according to thread ID | |
2424 | mov %o1, %g1 ! save %o1 | |
2425 | rdth_id_p ! get thread ID | |
2426 | sllx %o1, 6, %o1 | |
2427 | setx pthread_syscall_data, %g2, %g4 | |
2428 | add %g4, %o1, %g4 ! %g4 = ptr to thread's data | |
2429 | ba syscall_handler | |
2430 | mov %g1, %o1 ! restore %o1 | |
2431 | ||
2432 | .align 64 | |
2433 | T0_Trap_SysRet_0x11a: | |
2434 | ! calculate ptr to syscall data according to thread ID | |
2435 | mov %o1, %g1 ! save %o1 | |
2436 | rdth_id_p ! get thread ID | |
2437 | sllx %o1, 6, %o1 | |
2438 | setx pthread_syscall_data, %g2, %g4 | |
2439 | add %g4, %o1, %g4 ! %g4 = ptr to thread's data | |
2440 | ba sysret_handler | |
2441 | mov %g1, %o1 ! restore %o1 | |
2442 | ||
2443 | .align 512 | |
2444 | T0_HTrap_ChangePriv_0x120: | |
2445 | ta %icc, T_API_CHANGE_PRIV | |
2446 | done | |
2447 | nop | |
2448 | nop | |
2449 | nop | |
2450 | nop | |
2451 | nop | |
2452 | nop | |
2453 | ||
2454 | .align 64 | |
2455 | T0_HTrap_ChangeNonPriv_0x122: | |
2456 | ta %icc, T_API_CHANGE_NONPRIV | |
2457 | done | |
2458 | nop | |
2459 | nop | |
2460 | nop | |
2461 | nop | |
2462 | nop | |
2463 | nop | |
2464 | ||
2465 | .align 64 | |
2466 | T0_HTrapEn_0x124: | |
2467 | ta %icc, T_API_TRAP_EN | |
2468 | done | |
2469 | nop | |
2470 | nop | |
2471 | nop | |
2472 | nop | |
2473 | nop | |
2474 | nop | |
2475 | ||
2476 | .align 64 | |
2477 | T0_HTrapDis_0x126: | |
2478 | ta %icc, T_API_TRAP_DIS | |
2479 | done | |
2480 | nop | |
2481 | nop | |
2482 | nop | |
2483 | nop | |
2484 | nop | |
2485 | nop | |
2486 | ||
2487 | .align 64 | |
2488 | T0_HTrapEn_Ntimes_0x128: | |
2489 | #ifdef H_T0_HTrapEn_Ntimes_0x128 | |
2490 | #ifdef SUN_H_T0_HTrapEn_Ntimes_0x128 | |
2491 | SUN_H_T0_HTrapEn_Ntimes_0x128 | |
2492 | #else | |
2493 | # ifdef My_T0_HTrapEn_Ntimes_0x128 | |
2494 | My_T0_HTrapEn_Ntimes_0x128 | |
2495 | # else | |
2496 | CUSTOM_TRAP(H_T0_HTrapEn_Ntimes_0x128) | |
2497 | # endif | |
2498 | #endif | |
2499 | #else | |
2500 | ta %icc, T_API_TRAP_EN_N_TIMES | |
2501 | done | |
2502 | nop | |
2503 | nop | |
2504 | nop | |
2505 | nop | |
2506 | nop | |
2507 | nop | |
2508 | #endif | |
2509 | ||
2510 | .align 64 | |
2511 | T0_ChangeCtx_0x12a: | |
2512 | #ifdef H_T0_ChangeCtx_0x12a | |
2513 | #ifdef SUN_H_T0_ChangeCtx_0x12a | |
2514 | SUN_H_T0_ChangeCtx_0x12a | |
2515 | #else | |
2516 | # ifdef My_T0_ChangeCtx_0x12a | |
2517 | My_T0_ChangeCtx_0x12a | |
2518 | # else | |
2519 | CUSTOM_TRAP(H_T0_ChangeCtx_0x12a) | |
2520 | # endif | |
2521 | #endif | |
2522 | #else | |
2523 | ta %icc, T_API_CHANGE_CTX | |
2524 | done | |
2525 | nop | |
2526 | nop | |
2527 | nop | |
2528 | nop | |
2529 | nop | |
2530 | nop | |
2531 | #endif | |
2532 | ||
2533 | .align 64 | |
2534 | T0_Dummy_0x12c: | |
2535 | #ifdef H_T0_Dummy_0x12c | |
2536 | #ifdef SUN_H_T0_Dummy_0x12c | |
2537 | SUN_H_T0_Dummy_0x12c | |
2538 | #else | |
2539 | # ifdef My_T0_Dummy_0x12c | |
2540 | My_T0_Dummy_0x12c | |
2541 | # else | |
2542 | CUSTOM_TRAP(H_T0_Dummy_0x12c) | |
2543 | # endif | |
2544 | #endif | |
2545 | #else | |
2546 | nop | |
2547 | nop | |
2548 | nop | |
2549 | nop | |
2550 | nop | |
2551 | nop | |
2552 | nop | |
2553 | nop | |
2554 | #endif | |
2555 | ||
2556 | .align 64 | |
2557 | T0_RdThId_0x12e: | |
2558 | ta %icc, T_API_RD_THID | |
2559 | done | |
2560 | nop | |
2561 | nop | |
2562 | nop | |
2563 | nop | |
2564 | nop | |
2565 | nop | |
2566 | ||
2567 | .align 512 | |
2568 | T0_Trap_Instruction_0x130: | |
2569 | #ifdef H_T0_Trap_Instruction_0 | |
2570 | #ifdef SUN_H_T0_Trap_Instruction_0 | |
2571 | SUN_H_T0_Trap_Instruction_0 | |
2572 | #else | |
2573 | # ifdef My_T0_Trap_Instruction_0 | |
2574 | My_T0_Trap_Instruction_0 | |
2575 | # else | |
2576 | CUSTOM_TRAP(H_T0_Trap_Instruction_0) | |
2577 | # endif | |
2578 | #endif | |
2579 | #else | |
2580 | NORMAL_TRAP(0x130); | |
2581 | #endif | |
2582 | ||
2583 | .align 32 | |
2584 | T0_Trap_Instruction_0x131: | |
2585 | #ifdef H_T0_Trap_Instruction_1 | |
2586 | #ifdef SUN_H_T0_Trap_Instruction_1 | |
2587 | SUN_H_T0_Trap_Instruction_1 | |
2588 | #else | |
2589 | # ifdef My_T0_Trap_Instruction_1 | |
2590 | My_T0_Trap_Instruction_1 | |
2591 | # else | |
2592 | CUSTOM_TRAP(H_T0_Trap_Instruction_1) | |
2593 | # endif | |
2594 | #endif | |
2595 | #else | |
2596 | NORMAL_TRAP(0x131); | |
2597 | #endif | |
2598 | ||
2599 | .align 32 | |
2600 | T0_Trap_Instruction_0x132: | |
2601 | #ifdef H_T0_Trap_Instruction_2 | |
2602 | #ifdef SUN_H_T0_Trap_Instruction_2 | |
2603 | SUN_H_T0_Trap_Instruction_2 | |
2604 | #else | |
2605 | # ifdef My_T0_Trap_Instruction_2 | |
2606 | My_T0_Trap_Instruction_2 | |
2607 | # else | |
2608 | CUSTOM_TRAP(H_T0_Trap_Instruction_2) | |
2609 | # endif | |
2610 | #endif | |
2611 | #else | |
2612 | ta T_API_HTRAP_INST0; | |
2613 | done; | |
2614 | nop; | |
2615 | nop; | |
2616 | nop; | |
2617 | nop; | |
2618 | nop; | |
2619 | nop; | |
2620 | #endif | |
2621 | ||
2622 | .align 32 | |
2623 | T0_Trap_Instruction_0x133: | |
2624 | #ifdef H_T0_Trap_Instruction_3 | |
2625 | #ifdef SUN_H_T0_Trap_Instruction_3 | |
2626 | SUN_H_T0_Trap_Instruction_3 | |
2627 | #else | |
2628 | # ifdef My_T0_Trap_Instruction_3 | |
2629 | My_T0_Trap_Instruction_3 | |
2630 | # else | |
2631 | CUSTOM_TRAP(H_T0_Trap_Instruction_3) | |
2632 | # endif | |
2633 | #endif | |
2634 | #else | |
2635 | ta T_API_HTRAP_INST1; | |
2636 | done; | |
2637 | nop; | |
2638 | nop; | |
2639 | nop; | |
2640 | nop; | |
2641 | nop; | |
2642 | nop; | |
2643 | #endif | |
2644 | ||
2645 | .align 32 | |
2646 | T0_Trap_Instruction_0x134: | |
2647 | #ifdef H_T0_Trap_Instruction_4 | |
2648 | #ifdef SUN_H_T0_Trap_Instruction_4 | |
2649 | SUN_H_T0_Trap_Instruction_4 | |
2650 | #else | |
2651 | # ifdef My_T0_Trap_Instruction_4 | |
2652 | My_T0_Trap_Instruction_4 | |
2653 | # else | |
2654 | CUSTOM_TRAP(H_T0_Trap_Instruction_4) | |
2655 | # endif | |
2656 | #endif | |
2657 | #else | |
2658 | NORMAL_TRAP(0x134); | |
2659 | #endif | |
2660 | ||
2661 | .align 32 | |
2662 | T0_Trap_Instruction_0x135: | |
2663 | #ifdef H_T0_Trap_Instruction_5 | |
2664 | #ifdef SUN_H_T0_Trap_Instruction_5 | |
2665 | SUN_H_T0_Trap_Instruction_5 | |
2666 | #else | |
2667 | # ifdef My_T0_Trap_Instruction_5 | |
2668 | My_T0_Trap_Instruction_5 | |
2669 | # else | |
2670 | CUSTOM_TRAP(H_T0_Trap_Instruction_5) | |
2671 | # endif | |
2672 | #endif | |
2673 | #else | |
2674 | NORMAL_TRAP(0x135); | |
2675 | #endif | |
2676 | ||
2677 | .align 128 | |
2678 | T0_Trap_Instruction_0x138: | |
2679 | #ifdef H_T0_Trap_Instruction_0x138 | |
2680 | #ifdef SUN_H_T0_Trap_Instruction_0x138 | |
2681 | SUN_H_T0_Trap_Instruction_0x138 | |
2682 | #else | |
2683 | # ifdef My_T0_Trap_Instruction_0x138 | |
2684 | My_T0_Trap_Instruction_0x138 | |
2685 | # else | |
2686 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x138) | |
2687 | # endif | |
2688 | #endif | |
2689 | #else | |
2690 | NORMAL_TRAP(0x138); | |
2691 | #endif | |
2692 | ||
2693 | .align 128 | |
2694 | T0_Trap_Instruction_0x13c: | |
2695 | #ifdef H_T0_Trap_Instruction_0x13c | |
2696 | #ifdef SUN_H_T0_Trap_Instruction_0x13c | |
2697 | SUN_H_T0_Trap_Instruction_0x13c | |
2698 | #else | |
2699 | # ifdef My_T0_Trap_Instruction_0x13c | |
2700 | My_T0_Trap_Instruction_0x13c | |
2701 | # else | |
2702 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x13c) | |
2703 | # endif | |
2704 | #endif | |
2705 | #else | |
2706 | NORMAL_TRAP(0x13c); | |
2707 | #endif | |
2708 | ||
2709 | .align 128 | |
2710 | T0_Trap_Instruction_0x140: | |
2711 | #ifdef H_T0_Trap_Instruction_0x140 | |
2712 | #ifdef SUN_H_T0_Trap_Instruction_0x140 | |
2713 | SUN_H_T0_Trap_Instruction_0x140 | |
2714 | #else | |
2715 | # ifdef My_T0_Trap_Instruction_0x140 | |
2716 | My_T0_Trap_Instruction_0x140 | |
2717 | # else | |
2718 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x140) | |
2719 | # endif | |
2720 | #endif | |
2721 | #else | |
2722 | NORMAL_TRAP(0x140); | |
2723 | #endif | |
2724 | ||
2725 | .align 128 | |
2726 | T0_Trap_Instruction_0x144: | |
2727 | #ifdef H_T0_Trap_Instruction_0x144 | |
2728 | #ifdef SUN_H_T0_Trap_Instruction_0x144 | |
2729 | SUN_H_T0_Trap_Instruction_0x144 | |
2730 | #else | |
2731 | # ifdef My_T0_Trap_Instruction_0x144 | |
2732 | My_T0_Trap_Instruction_0x144 | |
2733 | # else | |
2734 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x144) | |
2735 | # endif | |
2736 | #endif | |
2737 | #else | |
2738 | NORMAL_TRAP(0x144); | |
2739 | #endif | |
2740 | ||
2741 | .align 128 | |
2742 | T0_Trap_Instruction_0x148: | |
2743 | #ifdef H_T0_Trap_Instruction_0x148 | |
2744 | #ifdef SUN_H_T0_Trap_Instruction_0x148 | |
2745 | SUN_H_T0_Trap_Instruction_0x148 | |
2746 | #else | |
2747 | # ifdef My_T0_Trap_Instruction_0x148 | |
2748 | My_T0_Trap_Instruction_0x148 | |
2749 | # else | |
2750 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x148) | |
2751 | # endif | |
2752 | #endif | |
2753 | #else | |
2754 | NORMAL_TRAP(0x148); | |
2755 | #endif | |
2756 | ||
2757 | .align 128 | |
2758 | T0_Trap_Instruction_0x14c: | |
2759 | #ifdef H_T0_Trap_Instruction_0x14c | |
2760 | #ifdef SUN_H_T0_Trap_Instruction_0x14c | |
2761 | SUN_H_T0_Trap_Instruction_0x14c | |
2762 | #else | |
2763 | # ifdef My_T0_Trap_Instruction_0x14c | |
2764 | My_T0_Trap_Instruction_0x14c | |
2765 | # else | |
2766 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x14c) | |
2767 | # endif | |
2768 | #endif | |
2769 | #else | |
2770 | NORMAL_TRAP(0x14c); | |
2771 | #endif | |
2772 | ||
2773 | .align 128 | |
2774 | T0_Trap_Instruction_0x150: | |
2775 | #ifdef H_T0_Trap_Instruction_0x150 | |
2776 | #ifdef SUN_H_T0_Trap_Instruction_0x150 | |
2777 | SUN_H_T0_Trap_Instruction_0x150 | |
2778 | #else | |
2779 | # ifdef My_T0_Trap_Instruction_0x150 | |
2780 | My_T0_Trap_Instruction_0x150 | |
2781 | # else | |
2782 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x150) | |
2783 | # endif | |
2784 | #endif | |
2785 | #else | |
2786 | NORMAL_TRAP(0x150); | |
2787 | #endif | |
2788 | ||
2789 | .align 128 | |
2790 | T0_Trap_Instruction_0x154: | |
2791 | #ifdef H_T0_Trap_Instruction_0x154 | |
2792 | #ifdef SUN_H_T0_Trap_Instruction_0x154 | |
2793 | SUN_H_T0_Trap_Instruction_0x154 | |
2794 | #else | |
2795 | # ifdef My_T0_Trap_Instruction_0x154 | |
2796 | My_T0_Trap_Instruction_0x154 | |
2797 | # else | |
2798 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x154) | |
2799 | # endif | |
2800 | #endif | |
2801 | #else | |
2802 | NORMAL_TRAP(0x154); | |
2803 | #endif | |
2804 | ||
2805 | .align 128 | |
2806 | T0_Trap_Instruction_0x158: | |
2807 | #ifdef H_T0_Trap_Instruction_0x158 | |
2808 | #ifdef SUN_H_T0_Trap_Instruction_0x158 | |
2809 | SUN_H_T0_Trap_Instruction_0x158 | |
2810 | #else | |
2811 | # ifdef My_T0_Trap_Instruction_0x158 | |
2812 | My_T0_Trap_Instruction_0x158 | |
2813 | # else | |
2814 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x158) | |
2815 | # endif | |
2816 | #endif | |
2817 | #else | |
2818 | NORMAL_TRAP(0x158); | |
2819 | #endif | |
2820 | ||
2821 | .align 128 | |
2822 | T0_Trap_Instruction_0x15c: | |
2823 | #ifdef H_T0_Trap_Instruction_0x15c | |
2824 | #ifdef SUN_H_T0_Trap_Instruction_0x15c | |
2825 | SUN_H_T0_Trap_Instruction_0x15c | |
2826 | #else | |
2827 | # ifdef My_T0_Trap_Instruction_0x15c | |
2828 | My_T0_Trap_Instruction_0x15c | |
2829 | # else | |
2830 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x15c) | |
2831 | # endif | |
2832 | #endif | |
2833 | #else | |
2834 | NORMAL_TRAP(0x15c); | |
2835 | #endif | |
2836 | ||
2837 | .align 128 | |
2838 | T0_Trap_Instruction_0x160: | |
2839 | #ifdef H_T0_Trap_Instruction_0x160 | |
2840 | #ifdef SUN_H_T0_Trap_Instruction_0x160 | |
2841 | SUN_H_T0_Trap_Instruction_0x160 | |
2842 | #else | |
2843 | # ifdef My_T0_Trap_Instruction_0x160 | |
2844 | My_T0_Trap_Instruction_0x160 | |
2845 | # else | |
2846 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x160) | |
2847 | # endif | |
2848 | #endif | |
2849 | #else | |
2850 | NORMAL_TRAP(0x160); | |
2851 | #endif | |
2852 | ||
2853 | .align 128 | |
2854 | T0_Trap_Instruction_0x164: | |
2855 | #ifdef H_T0_Trap_Instruction_0x164 | |
2856 | #ifdef SUN_H_T0_Trap_Instruction_0x164 | |
2857 | SUN_H_T0_Trap_Instruction_0x164 | |
2858 | #else | |
2859 | # ifdef My_T0_Trap_Instruction_0x164 | |
2860 | My_T0_Trap_Instruction_0x164 | |
2861 | # else | |
2862 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x164) | |
2863 | # endif | |
2864 | #endif | |
2865 | #else | |
2866 | NORMAL_TRAP(0x164); | |
2867 | #endif | |
2868 | ||
2869 | .align 128 | |
2870 | T0_Trap_Instruction_0x168: | |
2871 | #ifdef H_T0_Trap_Instruction_0x168 | |
2872 | #ifdef SUN_H_T0_Trap_Instruction_0x168 | |
2873 | SUN_H_T0_Trap_Instruction_0x168 | |
2874 | #else | |
2875 | # ifdef My_T0_Trap_Instruction_0x168 | |
2876 | My_T0_Trap_Instruction_0x168 | |
2877 | # else | |
2878 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x168) | |
2879 | # endif | |
2880 | #endif | |
2881 | #else | |
2882 | NORMAL_TRAP(0x168); | |
2883 | #endif | |
2884 | ||
2885 | .align 128 | |
2886 | T0_Trap_Instruction_0x16c: | |
2887 | #ifdef H_T0_Trap_Instruction_0x16c | |
2888 | #ifdef SUN_H_T0_Trap_Instruction_0x16c | |
2889 | SUN_H_T0_Trap_Instruction_0x16c | |
2890 | #else | |
2891 | # ifdef My_T0_Trap_Instruction_0x16c | |
2892 | My_T0_Trap_Instruction_0x16c | |
2893 | # else | |
2894 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x16c) | |
2895 | # endif | |
2896 | #endif | |
2897 | #else | |
2898 | NORMAL_TRAP(0x16c); | |
2899 | #endif | |
2900 | ||
2901 | .align 128 | |
2902 | T0_Trap_Instruction_0x170: | |
2903 | #ifdef H_T0_Trap_Instruction_0x170 | |
2904 | #ifdef SUN_H_T0_Trap_Instruction_0x170 | |
2905 | SUN_H_T0_Trap_Instruction_0x170 | |
2906 | #else | |
2907 | # ifdef My_T0_Trap_Instruction_0x170 | |
2908 | My_T0_Trap_Instruction_0x170 | |
2909 | # else | |
2910 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x170) | |
2911 | # endif | |
2912 | #endif | |
2913 | #else | |
2914 | NORMAL_TRAP(0x170); | |
2915 | #endif | |
2916 | ||
2917 | .align 128 | |
2918 | T0_Trap_Instruction_0x174: | |
2919 | #ifdef H_T0_Trap_Instruction_0x174 | |
2920 | #ifdef SUN_H_T0_Trap_Instruction_0x174 | |
2921 | SUN_H_T0_Trap_Instruction_0x174 | |
2922 | #else | |
2923 | # ifdef My_T0_Trap_Instruction_0x174 | |
2924 | My_T0_Trap_Instruction_0x174 | |
2925 | # else | |
2926 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x174) | |
2927 | # endif | |
2928 | #endif | |
2929 | #else | |
2930 | NORMAL_TRAP(0x174); | |
2931 | #endif | |
2932 | ||
2933 | .align 32 | |
2934 | T0_Trap_Instruction_0x175: | |
2935 | #ifdef H_T0_Trap_Instruction_0x175 | |
2936 | #ifdef SUN_H_T0_Trap_Instruction_0x175 | |
2937 | SUN_H_T0_Trap_Instruction_0x175 | |
2938 | #else | |
2939 | # ifdef My_T0_Trap_Instruction_0x175 | |
2940 | My_T0_Trap_Instruction_0x175 | |
2941 | # else | |
2942 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x175) | |
2943 | # endif | |
2944 | #endif | |
2945 | #else | |
2946 | NORMAL_TRAP(0x175); | |
2947 | #endif | |
2948 | ||
2949 | ||
2950 | ||
2951 | .align 0x1000 /* align to 0x3000 , tt=0x180 */ | |
2952 | ||
2953 | T0_Trap_Instruction_0x180: | |
2954 | #ifdef H_T0_Trap_Instruction_0x180 | |
2955 | #ifdef SUN_H_T0_Trap_Instruction_0x180 | |
2956 | SUN_H_T0_Trap_Instruction_0x180 | |
2957 | #else | |
2958 | # ifdef My_T0_Trap_Instruction_0x180 | |
2959 | My_T0_Trap_Instruction_0x180 | |
2960 | # else | |
2961 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x180) | |
2962 | # endif | |
2963 | #endif | |
2964 | #else | |
2965 | NORMAL_TRAP(0x180); | |
2966 | #endif | |
2967 | ||
2968 | .align 512 /* align to 0x3200 , tt=0x190 */ | |
2969 | T0_Trap_Instruction_0x190: | |
2970 | #ifdef H_T0_Trap_Instruction_0x190 | |
2971 | #ifdef SUN_H_T0_Trap_Instruction_0x190 | |
2972 | SUN_H_T0_Trap_Instruction_0x190 | |
2973 | #else | |
2974 | # ifdef My_T0_Trap_Instruction_0x190 | |
2975 | My_T0_Trap_Instruction_0x190 | |
2976 | # else | |
2977 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x190) | |
2978 | # endif | |
2979 | #endif | |
2980 | #else | |
2981 | NORMAL_TRAP(0x190); | |
2982 | #endif | |
2983 | ||
2984 | .align 256 /* align to 0x3300 , tt = 0x198 */ | |
2985 | T0_Trap_Instruction_0x198: | |
2986 | #ifdef H_T0_Trap_Instruction_0x198 | |
2987 | #ifdef SUN_H_T0_Trap_Instruction_0x198 | |
2988 | SUN_H_T0_Trap_Instruction_0x198 | |
2989 | #else | |
2990 | # ifdef My_T0_Trap_Instruction_0x198 | |
2991 | My_T0_Trap_Instruction_0x198 | |
2992 | # else | |
2993 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x198) | |
2994 | # endif | |
2995 | #endif | |
2996 | #else | |
2997 | NORMAL_TRAP(0x198); | |
2998 | #endif | |
2999 | ||
3000 | .align 32 | |
3001 | ||
3002 | T0_Trap_Instruction_0x199: | |
3003 | #ifdef H_T0_Trap_Instruction_0x199 | |
3004 | #ifdef SUN_H_T0_Trap_Instruction_0x199 | |
3005 | SUN_H_T0_Trap_Instruction_0x199 | |
3006 | #else | |
3007 | # ifdef My_T0_Trap_Instruction_0x199 | |
3008 | My_T0_Trap_Instruction_0x199 | |
3009 | # else | |
3010 | CUSTOM_TRAP(H_T0_Trap_Instruction_0x199) | |
3011 | # endif | |
3012 | #endif | |
3013 | #else | |
3014 | NORMAL_TRAP(0x199); | |
3015 | #endif | |
3016 | ||
3017 | ||
3018 | .align 0x4000 | |
3019 | ||
3020 | ||
3021 | T1_Reserved_0x00: | |
3022 | #ifdef H_T1_Reserved_0x00 | |
3023 | #ifdef SUN_H_T1_Reserved_0x00 | |
3024 | SUN_H_T1_Reserved_0x00 | |
3025 | #else | |
3026 | CUSTOM_TRAP(H_T1_Reserved_0x00) | |
3027 | #endif | |
3028 | .align 32 | |
3029 | #else | |
3030 | NORMAL_TRAP(0x00); | |
3031 | #endif | |
3032 | ||
3033 | T1_Reserved_0x01: | |
3034 | #ifdef H_T1_Reserved_0x01 | |
3035 | #ifdef SUN_H_T1_Reserved_0x01 | |
3036 | SUN_H_T1_Reserved_0x01 | |
3037 | #else | |
3038 | CUSTOM_TRAP(H_T1_Reserved_0x01) | |
3039 | #endif | |
3040 | .align 32 | |
3041 | #else | |
3042 | NORMAL_TRAP(0x01); | |
3043 | #endif | |
3044 | ||
3045 | T1_Reserved_0x02: | |
3046 | #ifdef H_T1_Reserved_0x02 | |
3047 | #ifdef SUN_H_T1_Reserved_0x02 | |
3048 | SUN_H_T1_Reserved_0x02 | |
3049 | #else | |
3050 | CUSTOM_TRAP(H_T1_Reserved_0x02) | |
3051 | #endif | |
3052 | .align 32 | |
3053 | #else | |
3054 | NORMAL_TRAP(0x02); | |
3055 | #endif | |
3056 | ||
3057 | T1_Reserved_0x03: | |
3058 | #ifdef H_T1_Reserved_0x03 | |
3059 | #ifdef SUN_H_T1_Reserved_0x03 | |
3060 | SUN_H_T1_Reserved_0x03 | |
3061 | #else | |
3062 | CUSTOM_TRAP(H_T1_Reserved_0x03) | |
3063 | #endif | |
3064 | .align 32 | |
3065 | #else | |
3066 | NORMAL_TRAP(0x03); | |
3067 | #endif | |
3068 | ||
3069 | T1_Reserved_0x04: | |
3070 | #ifdef H_T1_Reserved_0x04 | |
3071 | #ifdef SUN_H_T1_Reserved_0x04 | |
3072 | SUN_H_T1_Reserved_0x04 | |
3073 | #else | |
3074 | CUSTOM_TRAP(H_T1_Reserved_0x04) | |
3075 | #endif | |
3076 | .align 32 | |
3077 | #else | |
3078 | NORMAL_TRAP(0x04); | |
3079 | #endif | |
3080 | ||
3081 | T1_Reserved_0x05: | |
3082 | #ifdef H_T1_Reserved_0x05 | |
3083 | #ifdef SUN_H_T1_Reserved_0x05 | |
3084 | SUN_H_T1_Reserved_0x05 | |
3085 | #else | |
3086 | CUSTOM_TRAP(H_T1_Reserved_0x05) | |
3087 | #endif | |
3088 | .align 32 | |
3089 | #else | |
3090 | NORMAL_TRAP(0x05); | |
3091 | #endif | |
3092 | ||
3093 | T1_Reserved_0x06: | |
3094 | #ifdef H_T1_Reserved_0x06 | |
3095 | #ifdef SUN_H_T1_Reserved_0x06 | |
3096 | SUN_H_T1_Reserved_0x06 | |
3097 | #else | |
3098 | CUSTOM_TRAP(H_T1_Reserved_0x06) | |
3099 | #endif | |
3100 | .align 32 | |
3101 | #else | |
3102 | NORMAL_TRAP(0x06); | |
3103 | #endif | |
3104 | ||
3105 | T1_Reserved_0x07: | |
3106 | #ifdef H_T1_Reserved_0x07 | |
3107 | #ifdef SUN_H_T1_Reserved_0x07 | |
3108 | SUN_H_T1_Reserved_0x07 | |
3109 | #else | |
3110 | CUSTOM_TRAP(H_T1_Reserved_0x07) | |
3111 | #endif | |
3112 | .align 32 | |
3113 | #else | |
3114 | NORMAL_TRAP(0x07); | |
3115 | #endif | |
3116 | ||
3117 | T1_Reserved_0x08: | |
3118 | #ifdef H_T1_Reserved_0x08 | |
3119 | #ifdef SUN_H_T1_Reserved_0x08 | |
3120 | SUN_H_T1_Reserved_0x08 | |
3121 | #else | |
3122 | CUSTOM_TRAP(H_T1_Reserved_0x08) | |
3123 | #endif | |
3124 | .align 32 | |
3125 | #else | |
3126 | NORMAL_TRAP(0x08); | |
3127 | #endif | |
3128 | ||
3129 | T1_Reserved_0x09: | |
3130 | #ifdef H_T1_Reserved_0x09 | |
3131 | #ifdef SUN_H_T1_Reserved_0x09 | |
3132 | SUN_H_T1_Reserved_0x09 | |
3133 | #else | |
3134 | CUSTOM_TRAP(H_T1_Reserved_0x09) | |
3135 | #endif | |
3136 | .align 32 | |
3137 | #else | |
3138 | NORMAL_TRAP(0x09); | |
3139 | #endif | |
3140 | ||
3141 | T1_Reserved_0x0a: | |
3142 | #ifdef H_T1_Reserved_0x0a | |
3143 | #ifdef SUN_H_T1_Reserved_0x0a | |
3144 | SUN_H_T1_Reserved_0x0a | |
3145 | #else | |
3146 | CUSTOM_TRAP(H_T1_Reserved_0x0a) | |
3147 | #endif | |
3148 | .align 32 | |
3149 | #else | |
3150 | NORMAL_TRAP(0x0a); | |
3151 | #endif | |
3152 | ||
3153 | T1_Reserved_0x0b: | |
3154 | #ifdef H_T1_Reserved_0x0b | |
3155 | #ifdef SUN_H_T1_Reserved_0x0b | |
3156 | SUN_H_T1_Reserved_0x0b | |
3157 | #else | |
3158 | CUSTOM_TRAP(H_T1_Reserved_0x0b) | |
3159 | #endif | |
3160 | .align 32 | |
3161 | #else | |
3162 | NORMAL_TRAP(0x0b); | |
3163 | #endif | |
3164 | ||
3165 | T1_Reserved_0x0c: | |
3166 | #ifdef H_T1_Reserved_0x0c | |
3167 | #ifdef SUN_H_T1_Reserved_0x0c | |
3168 | SUN_H_T1_Reserved_0x0c | |
3169 | #else | |
3170 | CUSTOM_TRAP(H_T1_Reserved_0x0c) | |
3171 | #endif | |
3172 | .align 32 | |
3173 | #else | |
3174 | NORMAL_TRAP(0x0c); | |
3175 | #endif | |
3176 | ||
3177 | T1_Reserved_0x0d: | |
3178 | #ifdef H_T1_Reserved_0x0d | |
3179 | #ifdef SUN_H_T1_Reserved_0x0d | |
3180 | SUN_H_T1_Reserved_0x0d | |
3181 | #else | |
3182 | CUSTOM_TRAP(H_T1_Reserved_0x0d) | |
3183 | #endif | |
3184 | .align 32 | |
3185 | #else | |
3186 | NORMAL_TRAP(0x0d); | |
3187 | #endif | |
3188 | ||
3189 | T1_Reserved_0x0e: | |
3190 | #ifdef H_T1_Reserved_0x0e | |
3191 | #ifdef SUN_H_T1_Reserved_0x0e | |
3192 | SUN_H_T1_Reserved_0x0e | |
3193 | #else | |
3194 | CUSTOM_TRAP(H_T1_Reserved_0x0e) | |
3195 | #endif | |
3196 | .align 32 | |
3197 | #else | |
3198 | NORMAL_TRAP(0x0e); | |
3199 | #endif | |
3200 | ||
3201 | T1_Reserved_0x0f: | |
3202 | #ifdef H_T1_Reserved_0x0f | |
3203 | #ifdef SUN_H_T1_Reserved_0x0f | |
3204 | SUN_H_T1_Reserved_0x0f | |
3205 | #else | |
3206 | CUSTOM_TRAP(H_T1_Reserved_0x0f) | |
3207 | #endif | |
3208 | .align 32 | |
3209 | #else | |
3210 | NORMAL_TRAP(0x0f); | |
3211 | #endif | |
3212 | ||
3213 | T1_Illegal_Instruction_0x10: | |
3214 | #ifdef H_T1_Illegal_instruction_0x10 | |
3215 | #ifdef SUN_H_T1_Illegal_instruction_0x10 | |
3216 | SUN_H_T1_Illegal_instruction_0x10 | |
3217 | #else | |
3218 | # ifdef My_T1_Illegal_instruction_0x10 | |
3219 | My_T1_Illegal_instruction_0x10 | |
3220 | # else | |
3221 | CUSTOM_TRAP(H_T1_Illegal_instruction_0x10) | |
3222 | # endif | |
3223 | #endif | |
3224 | .align 32 | |
3225 | #else | |
3226 | NORMAL_TRAP(0x10) | |
3227 | #endif | |
3228 | ||
3229 | T1_Privileged_Opcode_0x11: | |
3230 | #ifdef H_T1_Privileged_Opcode_0x11 | |
3231 | #ifdef SUN_H_T1_Privileged_Opcode_0x11 | |
3232 | SUN_H_T1_Privileged_Opcode_0x11 | |
3233 | #else | |
3234 | CUSTOM_TRAP(H_T1_Privileged_Opcode_0x11) | |
3235 | #endif | |
3236 | .align 32 | |
3237 | #else | |
3238 | NORMAL_TRAP(0x11); | |
3239 | #endif | |
3240 | ||
3241 | T1_Reserved_0x12: | |
3242 | #ifdef H_T1_Reserved_0x12 | |
3243 | #ifdef SUN_H_T1_Reserved_0x12 | |
3244 | SUN_H_T1_Reserved_0x12 | |
3245 | #else | |
3246 | CUSTOM_TRAP(H_T1_Reserved_0x12) | |
3247 | #endif | |
3248 | .align 32 | |
3249 | #else | |
3250 | NORMAL_TRAP(0x12); | |
3251 | #endif | |
3252 | ||
3253 | T1_Reserved_0x13: | |
3254 | #ifdef H_T1_Reserved_0x13 | |
3255 | #ifdef SUN_H_T1_Reserved_0x13 | |
3256 | SUN_H_T1_Reserved_0x13 | |
3257 | #else | |
3258 | CUSTOM_TRAP(H_T1_Reserved_0x13) | |
3259 | #endif | |
3260 | .align 32 | |
3261 | #else | |
3262 | NORMAL_TRAP(0x13); | |
3263 | #endif | |
3264 | ||
3265 | T1_Reserved_0x14: | |
3266 | #ifdef H_T1_Reserved_0x14 | |
3267 | #ifdef SUN_H_T1_Reserved_0x14 | |
3268 | SUN_H_T1_Reserved_0x14 | |
3269 | #else | |
3270 | CUSTOM_TRAP(H_T1_Reserved_0x14) | |
3271 | #endif | |
3272 | .align 32 | |
3273 | #else | |
3274 | NORMAL_TRAP(0x14); | |
3275 | #endif | |
3276 | ||
3277 | T1_Reserved_0x15: | |
3278 | #ifdef H_T1_Reserved_0x15 | |
3279 | #ifdef SUN_H_T1_Reserved_0x15 | |
3280 | SUN_H_T1_Reserved_0x15 | |
3281 | #else | |
3282 | CUSTOM_TRAP(H_T1_Reserved_0x15) | |
3283 | #endif | |
3284 | .align 32 | |
3285 | #else | |
3286 | NORMAL_TRAP(0x15); | |
3287 | #endif | |
3288 | ||
3289 | T1_Reserved_0x16: | |
3290 | #ifdef H_T1_Reserved_0x16 | |
3291 | #ifdef SUN_H_T1_Reserved_0x16 | |
3292 | SUN_H_T1_Reserved_0x16 | |
3293 | #else | |
3294 | CUSTOM_TRAP(H_T1_Reserved_0x16) | |
3295 | #endif | |
3296 | .align 32 | |
3297 | #else | |
3298 | NORMAL_TRAP(0x16); | |
3299 | #endif | |
3300 | ||
3301 | T1_Reserved_0x17: | |
3302 | #ifdef H_T1_Reserved_0x17 | |
3303 | #ifdef SUN_H_T1_Reserved_0x17 | |
3304 | SUN_H_T1_Reserved_0x17 | |
3305 | #else | |
3306 | CUSTOM_TRAP(H_T1_Reserved_0x17) | |
3307 | #endif | |
3308 | .align 32 | |
3309 | #else | |
3310 | NORMAL_TRAP(0x17); | |
3311 | #endif | |
3312 | ||
3313 | T1_Reserved_0x18: | |
3314 | #ifdef H_T1_Reserved_0x18 | |
3315 | #ifdef SUN_H_T1_Reserved_0x18 | |
3316 | SUN_H_T1_Reserved_0x18 | |
3317 | #else | |
3318 | CUSTOM_TRAP(H_T1_Reserved_0x18) | |
3319 | #endif | |
3320 | .align 32 | |
3321 | #else | |
3322 | NORMAL_TRAP(0x18); | |
3323 | #endif | |
3324 | ||
3325 | T1_Reserved_0x19: | |
3326 | #ifdef H_T1_Reserved_0x19 | |
3327 | #ifdef SUN_H_T1_Reserved_0x19 | |
3328 | SUN_H_T1_Reserved_0x19 | |
3329 | #else | |
3330 | CUSTOM_TRAP(H_T1_Reserved_0x19) | |
3331 | #endif | |
3332 | .align 32 | |
3333 | #else | |
3334 | NORMAL_TRAP(0x19); | |
3335 | #endif | |
3336 | ||
3337 | T1_Reserved_0x1a: | |
3338 | #ifdef H_T1_Reserved_0x1a | |
3339 | #ifdef SUN_H_T1_Reserved_0x1a | |
3340 | SUN_H_T1_Reserved_0x1a | |
3341 | #else | |
3342 | CUSTOM_TRAP(H_T1_Reserved_0x1a) | |
3343 | #endif | |
3344 | .align 32 | |
3345 | #else | |
3346 | NORMAL_TRAP(0x1a); | |
3347 | #endif | |
3348 | ||
3349 | T1_Reserved_0x1b: | |
3350 | #ifdef H_T1_Reserved_0x1b | |
3351 | #ifdef SUN_H_T1_Reserved_0x1b | |
3352 | SUN_H_T1_Reserved_0x1b | |
3353 | #else | |
3354 | CUSTOM_TRAP(H_T1_Reserved_0x1b) | |
3355 | #endif | |
3356 | .align 32 | |
3357 | #else | |
3358 | NORMAL_TRAP(0x1b); | |
3359 | #endif | |
3360 | ||
3361 | T1_Reserved_0x1c: | |
3362 | #ifdef H_T1_Reserved_0x1c | |
3363 | #ifdef SUN_H_T1_Reserved_0x1c | |
3364 | SUN_H_T1_Reserved_0x1c | |
3365 | #else | |
3366 | CUSTOM_TRAP(H_T1_Reserved_0x1c) | |
3367 | #endif | |
3368 | .align 32 | |
3369 | #else | |
3370 | NORMAL_TRAP(0x1c); | |
3371 | #endif | |
3372 | ||
3373 | T1_Reserved_0x1d: | |
3374 | #ifdef H_T1_Reserved_0x1d | |
3375 | #ifdef SUN_H_T1_Reserved_0x1d | |
3376 | SUN_H_T1_Reserved_0x1d | |
3377 | #else | |
3378 | CUSTOM_TRAP(H_T1_Reserved_0x1d) | |
3379 | #endif | |
3380 | .align 32 | |
3381 | #else | |
3382 | NORMAL_TRAP(0x1d); | |
3383 | #endif | |
3384 | ||
3385 | T1_Reserved_0x1e: | |
3386 | #ifdef H_T1_Reserved_0x1e | |
3387 | #ifdef SUN_H_T1_Reserved_0x1e | |
3388 | SUN_H_T1_Reserved_0x1e | |
3389 | #else | |
3390 | CUSTOM_TRAP(H_T1_Reserved_0x1e) | |
3391 | #endif | |
3392 | .align 32 | |
3393 | #else | |
3394 | NORMAL_TRAP(0x1e); | |
3395 | #endif | |
3396 | ||
3397 | T1_Reserved_0x1f: | |
3398 | #ifdef H_T1_Reserved_0x1f | |
3399 | #ifdef SUN_H_T1_Reserved_0x1f | |
3400 | SUN_H_T1_Reserved_0x1f | |
3401 | #else | |
3402 | CUSTOM_TRAP(H_T1_Reserved_0x1f) | |
3403 | #endif | |
3404 | .align 32 | |
3405 | #else | |
3406 | NORMAL_TRAP(0x1f); | |
3407 | #endif | |
3408 | ||
3409 | T1_Fp_Disabled_0x20: | |
3410 | #ifdef H_T1_Fp_Disabled_0x20 | |
3411 | #ifdef SUN_H_T1_Fp_Disabled_0x20 | |
3412 | SUN_H_T1_Fp_Disabled_0x20 | |
3413 | #else | |
3414 | # ifdef My_H_T1_Fp_Disabled_0x20 | |
3415 | My_H_T1_Fp_Disabled_0x20 | |
3416 | # else | |
3417 | CUSTOM_TRAP(H_T1_Fp_Disabled_0x20) | |
3418 | # endif | |
3419 | #endif | |
3420 | .align 32 | |
3421 | #else | |
3422 | NORMAL_TRAP(0x20); | |
3423 | #endif | |
3424 | ||
3425 | T1_Fp_Exception_Ieee_754_0x21: | |
3426 | #ifdef H_T1_Fp_Exception_Ieee_754_0x21 | |
3427 | #ifdef SUN_H_T1_Fp_Exception_Ieee_754_0x21 | |
3428 | SUN_H_T1_Fp_Exception_Ieee_754_0x21 | |
3429 | #else | |
3430 | # ifdef My_H_T1_Fp_Exception_Ieee_754_0x21 | |
3431 | My_H_T1_Fp_Exception_Ieee_754_0x21 | |
3432 | # else | |
3433 | CUSTOM_TRAP(H_T1_Fp_Exception_Ieee_754_0x21) | |
3434 | # endif | |
3435 | #endif | |
3436 | .align 32 | |
3437 | #else | |
3438 | NORMAL_TRAP(0x21); | |
3439 | #endif | |
3440 | ||
3441 | T1_Fp_Exception_Other_0x22: | |
3442 | #ifdef H_T1_Fp_Exception_Other_0x22 | |
3443 | #ifdef SUN_H_T1_Fp_Exception_Other_0x22 | |
3444 | SUN_H_T1_Fp_Exception_Other_0x22 | |
3445 | #else | |
3446 | # ifdef My_H_T1_Fp_Exception_Other_0x22 | |
3447 | My_H_T1_Fp_Exception_Other_0x22 | |
3448 | # else | |
3449 | CUSTOM_TRAP(H_T1_Fp_Exception_Other_0x22) | |
3450 | # endif | |
3451 | #endif | |
3452 | .align 32 | |
3453 | #else | |
3454 | NORMAL_TRAP(0x22); | |
3455 | #endif | |
3456 | ||
3457 | T1_Tag_Overflow_0x23: | |
3458 | #ifdef H_T1_Tag_Overflow_0x23 | |
3459 | #ifdef SUN_H_T1_Tag_Overflow_0x23 | |
3460 | SUN_H_T1_Tag_Overflow_0x23 | |
3461 | #else | |
3462 | CUSTOM_TRAP(H_T1_Tag_Overflow_0x23) | |
3463 | #endif | |
3464 | .align 32 | |
3465 | #else | |
3466 | NORMAL_TRAP(0x23); | |
3467 | #endif | |
3468 | ||
3469 | T1_Clean_Window_0x24: | |
3470 | #ifdef H_T1_Clean_Window_0x24 | |
3471 | #ifdef SUN_H_T1_Clean_Window_0x24 | |
3472 | SUN_H_T1_Clean_Window_0x24 | |
3473 | #else | |
3474 | CUSTOM_TRAP(H_T1_Clean_Window_0x24) | |
3475 | #endif | |
3476 | .align 32 | |
3477 | #else | |
3478 | NORMAL_TRAP(0x24); | |
3479 | #endif | |
3480 | ||
3481 | T1_Clean_Window_0x25: | |
3482 | #ifdef H_T1_Clean_Window_0x25 | |
3483 | #ifdef SUN_H_T1_Clean_Window_0x25 | |
3484 | SUN_H_T1_Clean_Window_0x25 | |
3485 | #else | |
3486 | CUSTOM_TRAP(H_T1_Clean_Window_0x25) | |
3487 | #endif | |
3488 | .align 32 | |
3489 | #else | |
3490 | NORMAL_TRAP(0x01); | |
3491 | #endif | |
3492 | ||
3493 | T1__0x26: | |
3494 | #ifdef H_T1_Clean_Window_0x26 | |
3495 | #ifdef SUN_H_T1_Clean_Window_0x26 | |
3496 | SUN_H_T1_Clean_Window_0x26 | |
3497 | #else | |
3498 | CUSTOM_TRAP(H_T1_Clean_Window_0x26) | |
3499 | #endif | |
3500 | .align 32 | |
3501 | #else | |
3502 | NORMAL_TRAP(0x26); | |
3503 | #endif | |
3504 | ||
3505 | T1_Clean_Window_0x27: | |
3506 | #ifdef H_T1_Clean_Window_0x27 | |
3507 | #ifdef SUN_H_T1_Clean_Window_0x27 | |
3508 | SUN_H_T1_Clean_Window_0x27 | |
3509 | #else | |
3510 | CUSTOM_TRAP(H_T1_Clean_Window_0x27) | |
3511 | #endif | |
3512 | .align 32 | |
3513 | #else | |
3514 | NORMAL_TRAP(0x27); | |
3515 | #endif | |
3516 | ||
3517 | T1_Division_By_Zero_0x28: | |
3518 | #ifdef H_T1_Division_By_Zero_0x28 | |
3519 | #ifdef SUN_H_T1_Division_By_Zero_0x28 | |
3520 | SUN_H_T1_Division_By_Zero_0x28 | |
3521 | #else | |
3522 | # ifdef My_H_T1_Division_By_Zero_0x28 | |
3523 | My_H_T1_Division_By_Zero_0x28 | |
3524 | # else | |
3525 | CUSTOM_TRAP(H_T1_Division_By_Zero_0x28) | |
3526 | # endif | |
3527 | #endif | |
3528 | .align 32 | |
3529 | #else | |
3530 | NORMAL_TRAP(0x28); | |
3531 | #endif | |
3532 | ||
3533 | T1_Reserved_0x29: | |
3534 | #ifdef H_T1_Reserved_0x29 | |
3535 | #ifdef SUN_H_T1_Reserved_0x29 | |
3536 | SUN_H_T1_Reserved_0x29 | |
3537 | #else | |
3538 | CUSTOM_TRAP(H_T1_Reserved_0x29) | |
3539 | #endif | |
3540 | .align 32 | |
3541 | #else | |
3542 | NORMAL_TRAP(0x29); | |
3543 | #endif | |
3544 | ||
3545 | T1_Reserved_0x2a: | |
3546 | #ifdef H_T1_Reserved_0x2a | |
3547 | #ifdef SUN_H_T1_Reserved_0x2a | |
3548 | SUN_H_T1_Reserved_0x2a | |
3549 | #else | |
3550 | CUSTOM_TRAP(H_T1_Reserved_0x2a) | |
3551 | #endif | |
3552 | .align 32 | |
3553 | #else | |
3554 | NORMAL_TRAP(0x2a); | |
3555 | #endif | |
3556 | ||
3557 | T1_Reserved_0x2b: | |
3558 | #ifdef H_T1_Reserved_0x2b | |
3559 | #ifdef SUN_H_T1_Reserved_0x2b | |
3560 | SUN_H_T1_Reserved_0x2b | |
3561 | #else | |
3562 | CUSTOM_TRAP(H_T1_Reserved_0x2b) | |
3563 | #endif | |
3564 | .align 32 | |
3565 | #else | |
3566 | NORMAL_TRAP(0x2b); | |
3567 | #endif | |
3568 | ||
3569 | T1_Reserved_0x2c: | |
3570 | #ifdef H_T1_Reserved_0x2c | |
3571 | #ifdef SUN_H_T1_Reserved_0x2c | |
3572 | SUN_H_T1_Reserved_0x2c | |
3573 | #else | |
3574 | CUSTOM_TRAP(H_T1_Reserved_0x2c) | |
3575 | #endif | |
3576 | .align 32 | |
3577 | #else | |
3578 | NORMAL_TRAP(0x2c); | |
3579 | #endif | |
3580 | ||
3581 | T1_Reserved_0x2d: | |
3582 | #ifdef H_T1_Reserved_0x2d | |
3583 | #ifdef SUN_H_T1_Reserved_0x2d | |
3584 | SUN_H_T1_Reserved_0x2d | |
3585 | #else | |
3586 | CUSTOM_TRAP(H_T1_Reserved_0x2d) | |
3587 | #endif | |
3588 | .align 32 | |
3589 | #else | |
3590 | NORMAL_TRAP(0x2d); | |
3591 | #endif | |
3592 | ||
3593 | T1_Reserved_0x2e: | |
3594 | #ifdef H_T1_Reserved_0x2e | |
3595 | #ifdef SUN_H_T1_Reserved_0x2e | |
3596 | SUN_H_T1_Reserved_0x2e | |
3597 | #else | |
3598 | CUSTOM_TRAP(H_T1_Reserved_0x2e) | |
3599 | #endif | |
3600 | .align 32 | |
3601 | #else | |
3602 | NORMAL_TRAP(0x2e); | |
3603 | #endif | |
3604 | ||
3605 | T1_Reserved_0x2f: | |
3606 | #ifdef H_T1_Reserved_0x2f | |
3607 | #ifdef SUN_H_T1_Reserved_0x2f | |
3608 | SUN_H_T1_Reserved_0x2f | |
3609 | #else | |
3610 | CUSTOM_TRAP(H_T1_Reserved_0x2f) | |
3611 | #endif | |
3612 | .align 32 | |
3613 | #else | |
3614 | NORMAL_TRAP(0x2f); | |
3615 | #endif | |
3616 | ||
3617 | T1_Reserved_0x30: | |
3618 | #ifdef H_T1_Reserved_0x30 | |
3619 | #ifdef SUN_H_T1_Reserved_0x30 | |
3620 | SUN_H_T1_Reserved_0x30 | |
3621 | #else | |
3622 | CUSTOM_TRAP(H_T1_Reserved_0x30) | |
3623 | #endif | |
3624 | .align 32 | |
3625 | #else | |
3626 | NORMAL_TRAP(0x30); | |
3627 | #endif | |
3628 | ||
3629 | T1_Reserved_0x31: | |
3630 | #ifdef H_T1_Reserved_0x31 | |
3631 | #ifdef SUN_H_T1_Reserved_0x31 | |
3632 | SUN_H_T1_Reserved_0x31 | |
3633 | #else | |
3634 | CUSTOM_TRAP(H_T1_Reserved_0x31) | |
3635 | #endif | |
3636 | .align 32 | |
3637 | #else | |
3638 | NORMAL_TRAP(0x31); | |
3639 | #endif | |
3640 | ||
3641 | T1_Reserved_0x32: | |
3642 | #ifdef H_T1_Reserved_0x32 | |
3643 | #ifdef SUN_H_T1_Reserved_0x32 | |
3644 | SUN_H_T1_Reserved_0x32 | |
3645 | #else | |
3646 | CUSTOM_TRAP(H_T1_Reserved_0x32) | |
3647 | #endif | |
3648 | .align 32 | |
3649 | #else | |
3650 | NORMAL_TRAP(0x32); | |
3651 | #endif | |
3652 | ||
3653 | T1_Reserved_0x33: | |
3654 | #ifdef H_T1_Reserved_0x33 | |
3655 | #ifdef SUN_H_T1_Reserved_0x33 | |
3656 | SUN_H_T1_Reserved_0x33 | |
3657 | #else | |
3658 | CUSTOM_TRAP(H_T1_Reserved_0x33) | |
3659 | #endif | |
3660 | .align 32 | |
3661 | #else | |
3662 | NORMAL_TRAP(0x33); | |
3663 | #endif | |
3664 | ||
3665 | T1_Mem_Address_Not_Aligned_0x34: | |
3666 | #ifdef H_T1_Mem_Address_Not_Aligned_0x34 | |
3667 | #ifdef SUN_H_T1_Mem_Address_Not_Aligned_0x34 | |
3668 | SUN_H_T1_Mem_Address_Not_Aligned_0x34 | |
3669 | #else | |
3670 | # ifdef My_T1_Mem_Address_Not_Aligned_0x34 | |
3671 | My_T1_Mem_Address_Not_Aligned_0x34 | |
3672 | # else | |
3673 | CUSTOM_TRAP(H_T1_Mem_Address_Not_Aligned_0x34) | |
3674 | # endif | |
3675 | #endif | |
3676 | .align 32 | |
3677 | #else | |
3678 | NORMAL_TRAP(0x34); | |
3679 | #endif | |
3680 | ||
3681 | T1_Reserved_0x35: | |
3682 | #ifdef H_T1_Reserved_0x35 | |
3683 | #ifdef SUN_H_T1_Reserved_0x35 | |
3684 | SUN_H_T1_Reserved_0x35 | |
3685 | #else | |
3686 | CUSTOM_TRAP(H_T1_Reserved_0x35) | |
3687 | #endif | |
3688 | .align 32 | |
3689 | #else | |
3690 | NORMAL_TRAP(0x35); | |
3691 | #endif | |
3692 | ||
3693 | T1_Reserved_0x36: | |
3694 | #ifdef H_T1_Reserved_0x36 | |
3695 | #ifdef SUN_H_T1_Reserved_0x36 | |
3696 | SUN_H_T1_Reserved_0x36 | |
3697 | #else | |
3698 | CUSTOM_TRAP(H_T1_Reserved_0x36) | |
3699 | #endif | |
3700 | .align 32 | |
3701 | #else | |
3702 | NORMAL_TRAP(0x36); | |
3703 | #endif | |
3704 | ||
3705 | T1_Reserved_0x37: | |
3706 | #ifdef H_T1_Reserved_0x37 | |
3707 | #ifdef SUN_H_T1_Reserved_0x37 | |
3708 | SUN_H_T1_Reserved_0x37 | |
3709 | #else | |
3710 | CUSTOM_TRAP(H_T1_Reserved_0x37) | |
3711 | #endif | |
3712 | .align 32 | |
3713 | #else | |
3714 | NORMAL_TRAP(0x37); | |
3715 | #endif | |
3716 | ||
3717 | T1_Reserved_0x38: | |
3718 | #ifdef H_T1_Reserved_0x38 | |
3719 | #ifdef SUN_H_T1_Reserved_0x38 | |
3720 | SUN_H_T1_Reserved_0x38 | |
3721 | #else | |
3722 | CUSTOM_TRAP(H_T1_Reserved_0x38) | |
3723 | #endif | |
3724 | .align 32 | |
3725 | #else | |
3726 | NORMAL_TRAP(0x38); | |
3727 | #endif | |
3728 | ||
3729 | T1_Reserved_0x39: | |
3730 | #ifdef H_T1_Reserved_0x39 | |
3731 | #ifdef SUN_H_T1_Reserved_0x39 | |
3732 | SUN_H_T1_Reserved_0x39 | |
3733 | #else | |
3734 | CUSTOM_TRAP(H_T1_Reserved_0x39) | |
3735 | #endif | |
3736 | .align 32 | |
3737 | #else | |
3738 | NORMAL_TRAP(0x39); | |
3739 | #endif | |
3740 | ||
3741 | T1_Reserved_0x3a: | |
3742 | #ifdef H_T1_Reserved_0x3a | |
3743 | #ifdef SUN_H_T1_Reserved_0x3a | |
3744 | SUN_H_T1_Reserved_0x3a | |
3745 | #else | |
3746 | CUSTOM_TRAP(H_T1_Reserved_0x3a) | |
3747 | #endif | |
3748 | .align 32 | |
3749 | #else | |
3750 | NORMAL_TRAP(0x3a); | |
3751 | #endif | |
3752 | ||
3753 | T1_Reserved_0x3b: | |
3754 | #ifdef H_T1_Reserved_0x3b | |
3755 | #ifdef SUN_H_T1_Reserved_0x3b | |
3756 | SUN_H_T1_Reserved_0x3b | |
3757 | #else | |
3758 | CUSTOM_TRAP(H_T1_Reserved_0x3b) | |
3759 | #endif | |
3760 | .align 32 | |
3761 | #else | |
3762 | NORMAL_TRAP(0x3b); | |
3763 | #endif | |
3764 | ||
3765 | T1_Reserved_0x3c: | |
3766 | #ifdef H_T1_Reserved_0x3c | |
3767 | #ifdef SUN_H_T1_Reserved_0x3c | |
3768 | SUN_H_T1_Reserved_0x3c | |
3769 | #else | |
3770 | CUSTOM_TRAP(H_T1_Reserved_0x3c) | |
3771 | #endif | |
3772 | .align 32 | |
3773 | #else | |
3774 | NORMAL_TRAP(0x3c); | |
3775 | #endif | |
3776 | ||
3777 | T1_Reserved_0x3d: | |
3778 | #ifdef H_T1_Reserved_0x3d | |
3779 | #ifdef SUN_H_T1_Reserved_0x3d | |
3780 | SUN_H_T1_Reserved_0x3d | |
3781 | #else | |
3782 | CUSTOM_TRAP(H_T1_Reserved_0x3d) | |
3783 | #endif | |
3784 | .align 32 | |
3785 | #else | |
3786 | NORMAL_TRAP(0x3d); | |
3787 | #endif | |
3788 | ||
3789 | T1_Reserved_0x3e: | |
3790 | #ifdef H_T1_Reserved_0x3e | |
3791 | #ifdef SUN_H_T1_Reserved_0x3e | |
3792 | SUN_H_T1_Reserved_0x3e | |
3793 | #else | |
3794 | CUSTOM_TRAP(H_T1_Reserved_0x3e) | |
3795 | #endif | |
3796 | .align 32 | |
3797 | #else | |
3798 | NORMAL_TRAP(0x3e); | |
3799 | #endif | |
3800 | ||
3801 | T1_Reserved_0x3f: | |
3802 | #ifdef H_T1_Reserved_0x3f | |
3803 | #ifdef SUN_H_T1_Reserved_0x3f | |
3804 | SUN_H_T1_Reserved_0x3f | |
3805 | #else | |
3806 | CUSTOM_TRAP(H_T1_Reserved_0x3f) | |
3807 | #endif | |
3808 | .align 32 | |
3809 | #else | |
3810 | NORMAL_TRAP(0x3f); | |
3811 | #endif | |
3812 | ||
3813 | T1_Reserved_0x40: | |
3814 | #ifdef H_T1_Reserved_0x40 | |
3815 | #ifdef SUN_H_T1_Reserved_0x40 | |
3816 | SUN_H_T1_Reserved_0x40 | |
3817 | #else | |
3818 | CUSTOM_TRAP(H_T1_Reserved_0x40) | |
3819 | #endif | |
3820 | .align 32 | |
3821 | #else | |
3822 | NORMAL_TRAP(0x40); | |
3823 | #endif | |
3824 | ||
3825 | T1_Interrupt_Level_1_0x41: | |
3826 | #ifdef H_T1_Interrupt_Level_1_0x41 | |
3827 | #ifdef SUN_H_T1_Interrupt_Level_1_0x41 | |
3828 | SUN_H_T1_Interrupt_Level_1_0x41 | |
3829 | #else | |
3830 | # ifdef My_T1_Interrupt_Level_1_0x41 | |
3831 | My_T1_Interrupt_Level_1_0x41 | |
3832 | # else | |
3833 | CUSTOM_TRAP(H_T1_Interrupt_Level_1_0x41) | |
3834 | # endif | |
3835 | #endif | |
3836 | .align 32 | |
3837 | #else | |
3838 | NORMAL_TRAP(0x41); | |
3839 | #endif | |
3840 | ||
3841 | T1_Interrupt_Level_2_0x42: | |
3842 | #ifdef H_T1_Interrupt_Level_2_0x42 | |
3843 | #ifdef SUN_H_T1_Interrupt_Level_2_0x42 | |
3844 | SUN_H_T1_Interrupt_Level_2_0x42 | |
3845 | #else | |
3846 | # ifdef My_T1_Interrupt_Level_2_0x42 | |
3847 | My_T1_Interrupt_Level_2_0x42 | |
3848 | # else | |
3849 | CUSTOM_TRAP(H_T1_Interrupt_Level_2_0x42) | |
3850 | # endif | |
3851 | #endif | |
3852 | .align 32 | |
3853 | #else | |
3854 | NORMAL_TRAP(0x42); | |
3855 | #endif | |
3856 | ||
3857 | T1_Interrupt_Level_3_0x43: | |
3858 | #ifdef H_T1_Interrupt_Level_3_0x43 | |
3859 | #ifdef SUN_H_T1_Interrupt_Level_3_0x43 | |
3860 | SUN_H_T1_Interrupt_Level_3_0x43 | |
3861 | #else | |
3862 | # ifdef My_T1_Interrupt_Level_3_0x43 | |
3863 | My_T1_Interrupt_Level_3_0x43 | |
3864 | # else | |
3865 | CUSTOM_TRAP(H_T1_Interrupt_Level_3_0x43) | |
3866 | # endif | |
3867 | #endif | |
3868 | .align 32 | |
3869 | #else | |
3870 | NORMAL_TRAP(0x43); | |
3871 | #endif | |
3872 | ||
3873 | T1_Interrupt_Level_4_0x44: | |
3874 | #ifdef H_T1_Interrupt_Level_4_0x44 | |
3875 | #ifdef SUN_H_T1_Interrupt_Level_4_0x44 | |
3876 | SUN_H_T1_Interrupt_Level_4_0x44 | |
3877 | #else | |
3878 | # ifdef My_T1_Interrupt_Level_4_0x44 | |
3879 | My_T1_Interrupt_Level_4_0x44 | |
3880 | # else | |
3881 | CUSTOM_TRAP(H_T1_Interrupt_Level_4_0x44) | |
3882 | # endif | |
3883 | #endif | |
3884 | .align 32 | |
3885 | #else | |
3886 | NORMAL_TRAP(0x44); | |
3887 | #endif | |
3888 | ||
3889 | T1_Interrupt_Level_5_0x45: | |
3890 | #ifdef H_T1_Interrupt_Level_5_0x45 | |
3891 | #ifdef SUN_H_T1_Interrupt_Level_5_0x45 | |
3892 | SUN_H_T1_Interrupt_Level_5_0x45 | |
3893 | #else | |
3894 | # ifdef My_T1_Interrupt_Level_5_0x45 | |
3895 | My_T1_Interrupt_Level_5_0x45 | |
3896 | # else | |
3897 | CUSTOM_TRAP(H_T1_Interrupt_Level_5_0x45) | |
3898 | # endif | |
3899 | #endif | |
3900 | .align 32 | |
3901 | #else | |
3902 | NORMAL_TRAP(0x45); | |
3903 | #endif | |
3904 | ||
3905 | T1_Interrupt_Level_6_0x46: | |
3906 | #ifdef H_T1_Interrupt_Level_6_0x46 | |
3907 | #ifdef SUN_H_T1_Interrupt_Level_6_0x46 | |
3908 | SUN_H_T1_Interrupt_Level_6_0x46 | |
3909 | #else | |
3910 | # ifdef My_T1_Interrupt_Level_6_0x46 | |
3911 | My_T1_Interrupt_Level_6_0x46 | |
3912 | # else | |
3913 | CUSTOM_TRAP(H_T1_Interrupt_Level_6_0x46) | |
3914 | # endif | |
3915 | #endif | |
3916 | .align 32 | |
3917 | #else | |
3918 | NORMAL_TRAP(0x46); | |
3919 | #endif | |
3920 | ||
3921 | T1_Interrupt_Level_7_0x47: | |
3922 | #ifdef H_T1_Interrupt_Level_7_0x47 | |
3923 | #ifdef SUN_H_T1_Interrupt_Level_7_0x47 | |
3924 | SUN_H_T1_Interrupt_Level_7_0x47 | |
3925 | #else | |
3926 | # ifdef My_T1_Interrupt_Level_7_0x47 | |
3927 | My_T1_Interrupt_Level_7_0x47 | |
3928 | # else | |
3929 | CUSTOM_TRAP(H_T1_Interrupt_Level_7_0x47) | |
3930 | # endif | |
3931 | #endif | |
3932 | .align 32 | |
3933 | #else | |
3934 | NORMAL_TRAP(0x47); | |
3935 | #endif | |
3936 | ||
3937 | T1_Interrupt_Level_8_0x48: | |
3938 | #ifdef H_T1_Interrupt_Level_8_0x48 | |
3939 | #ifdef SUN_H_T1_Interrupt_Level_8_0x48 | |
3940 | SUN_H_T1_Interrupt_Level_8_0x48 | |
3941 | #else | |
3942 | # ifdef My_T1_Interrupt_Level_8_0x48 | |
3943 | My_T1_Interrupt_Level_8_0x48 | |
3944 | # else | |
3945 | CUSTOM_TRAP(H_T1_Interrupt_Level_8_0x48) | |
3946 | # endif | |
3947 | #endif | |
3948 | .align 32 | |
3949 | #else | |
3950 | NORMAL_TRAP(0x48); | |
3951 | #endif | |
3952 | ||
3953 | T1_Interrupt_Level_9_0x49: | |
3954 | #ifdef H_T1_Interrupt_Level_9_0x49 | |
3955 | #ifdef SUN_H_T1_Interrupt_Level_9_0x49 | |
3956 | SUN_H_T1_Interrupt_Level_9_0x49 | |
3957 | #else | |
3958 | # ifdef My_T1_Interrupt_Level_9_0x49 | |
3959 | My_T1_Interrupt_Level_9_0x49 | |
3960 | # else | |
3961 | CUSTOM_TRAP(H_T1_Interrupt_Level_9_0x49) | |
3962 | # endif | |
3963 | #endif | |
3964 | .align 32 | |
3965 | #else | |
3966 | NORMAL_TRAP(0x49); | |
3967 | #endif | |
3968 | ||
3969 | T1_Interrupt_Level_10_0x4a: | |
3970 | #ifdef H_T1_Interrupt_Level_10_0x4a | |
3971 | #ifdef SUN_H_T1_Interrupt_Level_10_0x4a | |
3972 | SUN_H_T1_Interrupt_Level_10_0x4a | |
3973 | #else | |
3974 | # ifdef My_T1_Interrupt_Level_10_0x4a | |
3975 | My_T1_Interrupt_Level_10_0x4a | |
3976 | # else | |
3977 | CUSTOM_TRAP(H_T1_Interrupt_Level_10_0x4a) | |
3978 | # endif | |
3979 | #endif | |
3980 | .align 32 | |
3981 | #else | |
3982 | NORMAL_TRAP(0x4a); | |
3983 | #endif | |
3984 | ||
3985 | T1_Interrupt_Level_11_0x4b: | |
3986 | #ifdef H_T1_Interrupt_Level_11_0x4b | |
3987 | #ifdef SUN_H_T1_Interrupt_Level_11_0x4b | |
3988 | SUN_H_T1_Interrupt_Level_11_0x4b | |
3989 | #else | |
3990 | # ifdef My_T1_Interrupt_Level_11_0x4b | |
3991 | My_T1_Interrupt_Level_11_0x4b | |
3992 | # else | |
3993 | CUSTOM_TRAP(H_T1_Interrupt_Level_11_0x4b) | |
3994 | # endif | |
3995 | #endif | |
3996 | .align 32 | |
3997 | #else | |
3998 | NORMAL_TRAP(0x4b); | |
3999 | #endif | |
4000 | ||
4001 | T1_Interrupt_Level_12_0x4c: | |
4002 | #ifdef H_T1_Interrupt_Level_12_0x4c | |
4003 | #ifdef SUN_H_T1_Interrupt_Level_12_0x4c | |
4004 | SUN_H_T1_Interrupt_Level_12_0x4c | |
4005 | #else | |
4006 | # ifdef My_T1_Interrupt_Level_12_0x4c | |
4007 | My_T1_Interrupt_Level_12_0x4c | |
4008 | # else | |
4009 | CUSTOM_TRAP(H_T1_Interrupt_Level_12_0x4c) | |
4010 | # endif | |
4011 | #endif | |
4012 | .align 32 | |
4013 | #else | |
4014 | NORMAL_TRAP(0x4c); | |
4015 | #endif | |
4016 | ||
4017 | T1_Interrupt_Level_13_0x4d: | |
4018 | #ifdef H_T1_Interrupt_Level_13_0x4d | |
4019 | #ifdef SUN_H_T1_Interrupt_Level_13_0x4d | |
4020 | SUN_H_T1_Interrupt_Level_13_0x4d | |
4021 | #else | |
4022 | # ifdef My_T1_Interrupt_Level_13_0x4d | |
4023 | My_T1_Interrupt_Level_13_0x4d | |
4024 | # else | |
4025 | CUSTOM_TRAP(H_T1_Interrupt_Level_13_0x4d) | |
4026 | # endif | |
4027 | #endif | |
4028 | .align 32 | |
4029 | #else | |
4030 | NORMAL_TRAP(0x4d); | |
4031 | #endif | |
4032 | ||
4033 | T1_Interrupt_Level_14_0x4e: | |
4034 | #ifdef H_T1_Interrupt_Level_14_0x4e | |
4035 | #ifdef SUN_H_T1_Interrupt_Level_14_0x4e | |
4036 | SUN_H_T1_Interrupt_Level_14_0x4e | |
4037 | #else | |
4038 | # ifdef My_T1_Interrupt_Level_14_0x4e | |
4039 | My_T1_Interrupt_Level_14_0x4e | |
4040 | # else | |
4041 | CUSTOM_TRAP(H_T1_Interrupt_Level_14_0x4e) | |
4042 | # endif | |
4043 | #endif | |
4044 | .align 32 | |
4045 | #else | |
4046 | NORMAL_TRAP(0x4e); | |
4047 | #endif | |
4048 | ||
4049 | T1_Interrupt_Level_15_0x4f: | |
4050 | #ifdef H_T1_Interrupt_Level_15_0x4f | |
4051 | #ifdef SUN_H_T1_Interrupt_Level_15_0x4f | |
4052 | SUN_H_T1_Interrupt_Level_15_0x4f | |
4053 | #else | |
4054 | # ifdef My_T1_Interrupt_Level_15_0x4f | |
4055 | My_T1_Interrupt_Level_15_0x4f | |
4056 | # else | |
4057 | CUSTOM_TRAP(H_T1_Interrupt_Level_15_0x4f) | |
4058 | # endif | |
4059 | #endif | |
4060 | .align 32 | |
4061 | #else | |
4062 | NORMAL_TRAP(0x4f); | |
4063 | #endif | |
4064 | ||
4065 | T1_Reserved_0x50: | |
4066 | #ifdef H_T1_Reserved_0x50 | |
4067 | #ifdef SUN_H_T1_Reserved_0x50 | |
4068 | SUN_H_T1_Reserved_0x50 | |
4069 | #else | |
4070 | CUSTOM_TRAP(H_T1_Reserved_0x50) | |
4071 | #endif | |
4072 | .align 32 | |
4073 | #else | |
4074 | NORMAL_TRAP(0x50); | |
4075 | #endif | |
4076 | ||
4077 | T1_Reserved_0x51: | |
4078 | #ifdef H_T1_Reserved_0x51 | |
4079 | #ifdef SUN_H_T1_Reserved_0x51 | |
4080 | SUN_H_T1_Reserved_0x51 | |
4081 | #else | |
4082 | CUSTOM_TRAP(H_T1_Reserved_0x51) | |
4083 | #endif | |
4084 | .align 32 | |
4085 | #else | |
4086 | NORMAL_TRAP(0x51); | |
4087 | #endif | |
4088 | ||
4089 | T1_Reserved_0x52: | |
4090 | #ifdef H_T1_Reserved_0x52 | |
4091 | #ifdef SUN_H_T1_Reserved_0x52 | |
4092 | SUN_H_T1_Reserved_0x52 | |
4093 | #else | |
4094 | CUSTOM_TRAP(H_T1_Reserved_0x52) | |
4095 | #endif | |
4096 | .align 32 | |
4097 | #else | |
4098 | NORMAL_TRAP(0x52); | |
4099 | #endif | |
4100 | ||
4101 | T1_Reserved_0x53: | |
4102 | #ifdef H_T1_Reserved_0x53 | |
4103 | #ifdef SUN_H_T1_Reserved_0x53 | |
4104 | SUN_H_T1_Reserved_0x53 | |
4105 | #else | |
4106 | CUSTOM_TRAP(H_T1_Reserved_0x53) | |
4107 | #endif | |
4108 | .align 32 | |
4109 | #else | |
4110 | NORMAL_TRAP(0x53); | |
4111 | #endif | |
4112 | ||
4113 | T1_Reserved_0x54: | |
4114 | #ifdef H_T1_Reserved_0x54 | |
4115 | #ifdef SUN_H_T1_Reserved_0x54 | |
4116 | SUN_H_T1_Reserved_0x54 | |
4117 | #else | |
4118 | CUSTOM_TRAP(H_T1_Reserved_0x54) | |
4119 | #endif | |
4120 | .align 32 | |
4121 | #else | |
4122 | NORMAL_TRAP(0x54); | |
4123 | #endif | |
4124 | ||
4125 | T1_Reserved_0x55: | |
4126 | #ifdef H_T1_Reserved_0x55 | |
4127 | #ifdef SUN_H_T1_Reserved_0x55 | |
4128 | SUN_H_T1_Reserved_0x55 | |
4129 | #else | |
4130 | CUSTOM_TRAP(H_T1_Reserved_0x55) | |
4131 | #endif | |
4132 | .align 32 | |
4133 | #else | |
4134 | NORMAL_TRAP(0x55); | |
4135 | #endif | |
4136 | ||
4137 | T1_Reserved_0x56: | |
4138 | #ifdef H_T1_Reserved_0x56 | |
4139 | #ifdef SUN_H_T1_Reserved_0x56 | |
4140 | SUN_H_T1_Reserved_0x56 | |
4141 | #else | |
4142 | CUSTOM_TRAP(H_T1_Reserved_0x56) | |
4143 | #endif | |
4144 | .align 32 | |
4145 | #else | |
4146 | NORMAL_TRAP(0x56); | |
4147 | #endif | |
4148 | ||
4149 | T1_Reserved_0x57: | |
4150 | #ifdef H_T1_Reserved_0x57 | |
4151 | #ifdef SUN_H_T1_Reserved_0x57 | |
4152 | SUN_H_T1_Reserved_0x57 | |
4153 | #else | |
4154 | CUSTOM_TRAP(H_T1_Reserved_0x57) | |
4155 | #endif | |
4156 | .align 32 | |
4157 | #else | |
4158 | NORMAL_TRAP(0x57); | |
4159 | #endif | |
4160 | ||
4161 | T1_Reserved_0x58: | |
4162 | #ifdef H_T1_Reserved_0x58 | |
4163 | #ifdef SUN_H_T1_Reserved_0x58 | |
4164 | SUN_H_T1_Reserved_0x58 | |
4165 | #else | |
4166 | CUSTOM_TRAP(H_T1_Reserved_0x58) | |
4167 | #endif | |
4168 | .align 32 | |
4169 | #else | |
4170 | NORMAL_TRAP(0x58); | |
4171 | #endif | |
4172 | ||
4173 | T1_Reserved_0x59: | |
4174 | #ifdef H_T1_Reserved_0x59 | |
4175 | #ifdef SUN_H_T1_Reserved_0x59 | |
4176 | SUN_H_T1_Reserved_0x59 | |
4177 | #else | |
4178 | CUSTOM_TRAP(H_T1_Reserved_0x59) | |
4179 | #endif | |
4180 | .align 32 | |
4181 | #else | |
4182 | NORMAL_TRAP(0x59); | |
4183 | #endif | |
4184 | ||
4185 | T1_Reserved_0x5a: | |
4186 | #ifdef H_T1_Reserved_0x5a | |
4187 | #ifdef SUN_H_T1_Reserved_0x5a | |
4188 | SUN_H_T1_Reserved_0x5a | |
4189 | #else | |
4190 | CUSTOM_TRAP(H_T1_Reserved_0x5a) | |
4191 | #endif | |
4192 | .align 32 | |
4193 | #else | |
4194 | NORMAL_TRAP(0x5a); | |
4195 | #endif | |
4196 | ||
4197 | T1_Reserved_0x5b: | |
4198 | #ifdef H_T1_Reserved_0x5b | |
4199 | #ifdef SUN_H_T1_Reserved_0x5b | |
4200 | SUN_H_T1_Reserved_0x5b | |
4201 | #else | |
4202 | CUSTOM_TRAP(H_T1_Reserved_0x5b) | |
4203 | #endif | |
4204 | .align 32 | |
4205 | #else | |
4206 | NORMAL_TRAP(0x5b); | |
4207 | #endif | |
4208 | ||
4209 | T1_Reserved_0x5c: | |
4210 | #ifdef H_T1_Reserved_0x5c | |
4211 | #ifdef SUN_H_T1_Reserved_0x5c | |
4212 | SUN_H_T1_Reserved_0x5c | |
4213 | #else | |
4214 | CUSTOM_TRAP(H_T1_Reserved_0x5c) | |
4215 | #endif | |
4216 | .align 32 | |
4217 | #else | |
4218 | NORMAL_TRAP(0x5c); | |
4219 | #endif | |
4220 | ||
4221 | T1_Reserved_0x5d: | |
4222 | #ifdef H_T1_Reserved_0x5d | |
4223 | #ifdef SUN_H_T1_Reserved_0x5d | |
4224 | SUN_H_T1_Reserved_0x5d | |
4225 | #else | |
4226 | CUSTOM_TRAP(H_T1_Reserved_0x5d) | |
4227 | #endif | |
4228 | .align 32 | |
4229 | #else | |
4230 | NORMAL_TRAP(0x5d); | |
4231 | #endif | |
4232 | ||
4233 | T1_Reserved_0x5e: | |
4234 | #ifdef H_T1_Reserved_0x5e | |
4235 | #ifdef SUN_H_T1_Reserved_0x5e | |
4236 | SUN_H_T1_Reserved_0x5e | |
4237 | #else | |
4238 | # ifdef My_T1_Reserved_0x5e | |
4239 | My_T1_Reserved_0x5e | |
4240 | # else | |
4241 | CUSTOM_TRAP(H_T1_Reserved_0x5e) | |
4242 | # endif | |
4243 | #endif | |
4244 | .align 32 | |
4245 | #else | |
4246 | NORMAL_TRAP(0x5e); | |
4247 | #endif | |
4248 | ||
4249 | T1_Reserved_0x5f: | |
4250 | #ifdef H_T1_Reserved_0x5f | |
4251 | #ifdef SUN_H_T1_Reserved_0x5f | |
4252 | SUN_H_T1_Reserved_0x5f | |
4253 | #else | |
4254 | CUSTOM_TRAP(H_T1_Reserved_0x5f) | |
4255 | #endif | |
4256 | .align 32 | |
4257 | #else | |
4258 | NORMAL_TRAP(0x5f); | |
4259 | #endif | |
4260 | ||
4261 | T1_Reserved_0x60: | |
4262 | #ifdef H_T1_Reserved_0x60 | |
4263 | #ifdef SUN_H_T1_Reserved_0x60 | |
4264 | SUN_H_T1_Reserved_0x60 | |
4265 | #else | |
4266 | CUSTOM_TRAP(H_T1_Reserved_0x60) | |
4267 | #endif | |
4268 | .align 32 | |
4269 | #else | |
4270 | NORMAL_TRAP(0x60); | |
4271 | #endif | |
4272 | ||
4273 | T1_Reserved_0x61: | |
4274 | #ifdef H_T1_Reserved_0x61 | |
4275 | #ifdef SUN_H_T1_Reserved_0x61 | |
4276 | SUN_H_T1_Reserved_0x61 | |
4277 | #else | |
4278 | CUSTOM_TRAP(H_T1_Reserved_0x61) | |
4279 | #endif | |
4280 | .align 32 | |
4281 | #else | |
4282 | NORMAL_TRAP(0x61); | |
4283 | #endif | |
4284 | ||
4285 | T1_VA_Watchpoint_0x62: | |
4286 | #ifdef H_T1_VA_Watchpoint_0x62 | |
4287 | #ifdef SUN_H_T1_VA_Watchpoint_0x62 | |
4288 | SUN_H_T1_VA_Watchpoint_0x62 | |
4289 | #else | |
4290 | CUSTOM_TRAP(H_T1_VA_Watchpoint_0x62) | |
4291 | #endif | |
4292 | .align 32 | |
4293 | #else | |
4294 | NORMAL_TRAP(0x62); | |
4295 | #endif | |
4296 | ||
4297 | T1_Reserved_0x63: | |
4298 | #ifdef H_T1_Reserved_0x63 | |
4299 | #ifdef SUN_H_T1_Reserved_0x63 | |
4300 | SUN_H_T1_Reserved_0x63 | |
4301 | #else | |
4302 | CUSTOM_TRAP(H_T1_Reserved_0x63) | |
4303 | #endif | |
4304 | .align 32 | |
4305 | #else | |
4306 | NORMAL_TRAP(0x63); | |
4307 | #endif | |
4308 | ||
4309 | T1_Fast_Instr_Access_MMU_Miss_0x64: | |
4310 | EXIT_BAD | |
4311 | ||
4312 | .align 128 | |
4313 | T1_Fast_Data_Access_MMU_Miss_0x68: | |
4314 | EXIT_BAD | |
4315 | ||
4316 | .align 128 | |
4317 | ||
4318 | T1_Fast_Data_Access_Protection_0x6c: | |
4319 | #ifdef H_T1_data_access_protection_0x6c | |
4320 | #ifdef SUN_H_T1_data_access_protection_0x6c | |
4321 | SUN_H_T1_data_access_protection_0x6c | |
4322 | #else | |
4323 | CUSTOM_TRAP(H_T1_data_access_protection_0x6c) | |
4324 | #endif | |
4325 | .align 32 | |
4326 | #else | |
4327 | NORMAL_TRAP(0x6c); | |
4328 | #endif | |
4329 | ||
4330 | T1_Reserved_0x6d: | |
4331 | #ifdef H_T1_Reserved_0x6d | |
4332 | #ifdef SUN_H_T1_Reserved_0x6d | |
4333 | SUN_H_T1_Reserved_0x6d | |
4334 | #else | |
4335 | CUSTOM_TRAP(H_T1_Reserved_0x6d) | |
4336 | #endif | |
4337 | .align 32 | |
4338 | #else | |
4339 | NORMAL_TRAP(0x6d); | |
4340 | #endif | |
4341 | ||
4342 | T1_Reserved_0x6e: | |
4343 | #ifdef H_T1_Reserved_0x6e | |
4344 | #ifdef SUN_H_T1_Reserved_0x6e | |
4345 | SUN_H_T1_Reserved_0x6e | |
4346 | #else | |
4347 | CUSTOM_TRAP(H_T1_Reserved_0x6e) | |
4348 | #endif | |
4349 | .align 32 | |
4350 | #else | |
4351 | NORMAL_TRAP(0x6e); | |
4352 | #endif | |
4353 | ||
4354 | T1_Reserved_0x6f: | |
4355 | #ifdef H_T1_Reserved_0x6f | |
4356 | #ifdef SUN_H_T1_Reserved_0x6f | |
4357 | SUN_H_T1_Reserved_0x6f | |
4358 | #else | |
4359 | CUSTOM_TRAP(H_T1_Reserved_0x6f) | |
4360 | #endif | |
4361 | .align 32 | |
4362 | #else | |
4363 | NORMAL_TRAP(0x6f); | |
4364 | #endif | |
4365 | ||
4366 | T1_Reserved_0x70: | |
4367 | #ifdef H_T1_Reserved_0x70 | |
4368 | #ifdef SUN_H_T1_Reserved_0x70 | |
4369 | SUN_H_T1_Reserved_0x70 | |
4370 | #else | |
4371 | CUSTOM_TRAP(H_T1_Reserved_0x70) | |
4372 | #endif | |
4373 | .align 32 | |
4374 | #else | |
4375 | NORMAL_TRAP(0x70); | |
4376 | #endif | |
4377 | ||
4378 | T1_Reserved_0x71: | |
4379 | #ifdef H_T1_Reserved_0x71 | |
4380 | #ifdef SUN_H_T1_Reserved_0x71 | |
4381 | SUN_H_T1_Reserved_0x71 | |
4382 | #else | |
4383 | CUSTOM_TRAP(H_T1_Reserved_0x71) | |
4384 | #endif | |
4385 | .align 32 | |
4386 | #else | |
4387 | NORMAL_TRAP(0x71); | |
4388 | #endif | |
4389 | ||
4390 | T1_Reserved_0x72: | |
4391 | #ifdef H_T1_Reserved_0x72 | |
4392 | #ifdef SUN_H_T1_Reserved_0x72 | |
4393 | SUN_H_T1_Reserved_0x72 | |
4394 | #else | |
4395 | CUSTOM_TRAP(H_T1_Reserved_0x72) | |
4396 | #endif | |
4397 | .align 32 | |
4398 | #else | |
4399 | NORMAL_TRAP(0x72); | |
4400 | #endif | |
4401 | ||
4402 | T1_Reserved_0x73: | |
4403 | #ifdef H_T1_Reserved_0x73 | |
4404 | #ifdef SUN_H_T1_Reserved_0x73 | |
4405 | SUN_H_T1_Reserved_0x73 | |
4406 | #else | |
4407 | CUSTOM_TRAP(H_T1_Reserved_0x73) | |
4408 | #endif | |
4409 | .align 32 | |
4410 | #else | |
4411 | NORMAL_TRAP(0x73); | |
4412 | #endif | |
4413 | ||
4414 | T1_Control_Transfer_Instr_0x74: | |
4415 | #ifdef H_T1_Control_Transfer_Instr_0x74 | |
4416 | #ifdef SUN_H_T1_Control_Transfer_Instr_0x74 | |
4417 | SUN_H_T1_Control_Transfer_Instr_0x74 | |
4418 | #else | |
4419 | # ifdef My_H_T1_Control_Transfer_Instr_0x74 | |
4420 | My_H_T1_Control_Transfer_Instr_0x74 | |
4421 | # else | |
4422 | CUSTOM_TRAP(H_T1_Control_Transfer_Instr_0x74) | |
4423 | # endif | |
4424 | #endif | |
4425 | .align 32 | |
4426 | #else | |
4427 | NORMAL_TRAP(0x74); | |
4428 | #endif | |
4429 | ||
4430 | T1_Instruction_VA_Watchpoint_0x75: | |
4431 | #ifdef H_T1_Instruction_VA_Watchpoint_0x75 | |
4432 | #ifdef SUN_H_T1_Instruction_VA_Watchpoint_0x75 | |
4433 | SUN_H_T1_Instruction_VA_Watchpoint_0x75 | |
4434 | #else | |
4435 | CUSTOM_TRAP(H_T1_Instruction_VA_Watchpoint_0x75) | |
4436 | #endif | |
4437 | .align 32 | |
4438 | #else | |
4439 | NORMAL_TRAP(0x75); | |
4440 | #endif | |
4441 | ||
4442 | T1_Reserved_0x76: | |
4443 | #ifdef H_T1_Reserved_0x76 | |
4444 | #ifdef SUN_H_T1_Reserved_0x76 | |
4445 | SUN_H_T1_Reserved_0x76 | |
4446 | #else | |
4447 | CUSTOM_TRAP(H_T1_Reserved_0x76) | |
4448 | #endif | |
4449 | .align 32 | |
4450 | #else | |
4451 | NORMAL_TRAP(0x76); | |
4452 | #endif | |
4453 | ||
4454 | T1_Reserved_0x77: | |
4455 | #ifdef H_T1_Reserved_0x77 | |
4456 | #ifdef SUN_H_T1_Reserved_0x77 | |
4457 | SUN_H_T1_Reserved_0x77 | |
4458 | #else | |
4459 | CUSTOM_TRAP(H_T1_Reserved_0x77) | |
4460 | #endif | |
4461 | .align 32 | |
4462 | #else | |
4463 | NORMAL_TRAP(0x77); | |
4464 | #endif | |
4465 | ||
4466 | T1_Reserved_0x78: | |
4467 | #ifdef H_T1_Reserved_0x78 | |
4468 | #ifdef SUN_H_T1_Reserved_0x78 | |
4469 | SUN_H_T1_Reserved_0x78 | |
4470 | #else | |
4471 | CUSTOM_TRAP(H_T1_Reserved_0x78) | |
4472 | #endif | |
4473 | .align 32 | |
4474 | #else | |
4475 | NORMAL_TRAP(0x78); | |
4476 | #endif | |
4477 | ||
4478 | T1_Reserved_0x79: | |
4479 | #ifdef H_T1_Reserved_0x79 | |
4480 | #ifdef SUN_H_T1_Reserved_0x79 | |
4481 | SUN_H_T1_Reserved_0x79 | |
4482 | #else | |
4483 | CUSTOM_TRAP(H_T1_Reserved_0x79) | |
4484 | #endif | |
4485 | .align 32 | |
4486 | #else | |
4487 | NORMAL_TRAP(0x79); | |
4488 | #endif | |
4489 | ||
4490 | T1_Reserved_0x7a: | |
4491 | #ifdef H_T1_Reserved_0x7a | |
4492 | #ifdef SUN_H_T1_Reserved_0x7a | |
4493 | SUN_H_T1_Reserved_0x7a | |
4494 | #else | |
4495 | CUSTOM_TRAP(H_T1_Reserved_0x7a) | |
4496 | #endif | |
4497 | .align 32 | |
4498 | #else | |
4499 | NORMAL_TRAP(0x7a); | |
4500 | #endif | |
4501 | ||
4502 | T1_Reserved_0x7b: | |
4503 | #ifdef H_T1_Reserved_0x7b | |
4504 | #ifdef SUN_H_T1_Reserved_0x7b | |
4505 | SUN_H_T1_Reserved_0x7b | |
4506 | #else | |
4507 | CUSTOM_TRAP(H_T1_Reserved_0x7b) | |
4508 | #endif | |
4509 | .align 32 | |
4510 | #else | |
4511 | NORMAL_TRAP(0x7b); | |
4512 | #endif | |
4513 | ||
4514 | T1_Cpu_Mondo_Trap_0x7c: | |
4515 | #ifdef H_T1_Cpu_Mondo_Trap_0x7c | |
4516 | #ifdef SUN_H_T1_Cpu_Mondo_Trap_0x7c | |
4517 | SUN_H_T1_Cpu_Mondo_Trap_0x7c | |
4518 | #else | |
4519 | # ifdef My_T1_Cpu_Mondo_Trap_0x7c | |
4520 | My_T1_Cpu_Mondo_Trap_0x7c | |
4521 | # else | |
4522 | CUSTOM_TRAP(H_T1_Cpu_Mondo_Trap_0x7c) | |
4523 | # endif | |
4524 | #endif | |
4525 | .align 32 | |
4526 | #else | |
4527 | NORMAL_TRAP(0x7c); | |
4528 | #endif | |
4529 | ||
4530 | T1_Dev_Mondo_Trap_0x7d: | |
4531 | #ifdef H_T1_Dev_Mondo_Trap_0x7d | |
4532 | #ifdef SUN_H_T1_Dev_Mondo_Trap_0x7d | |
4533 | SUN_H_T1_Dev_Mondo_Trap_0x7d | |
4534 | #else | |
4535 | # ifdef My_T1_Dev_Mondo_Trap_0x7d | |
4536 | My_T1_Dev_Mondo_Trap_0x7d | |
4537 | # else | |
4538 | CUSTOM_TRAP(H_T1_Dev_Mondo_Trap_0x7d) | |
4539 | # endif | |
4540 | #endif | |
4541 | .align 32 | |
4542 | #else | |
4543 | NORMAL_TRAP(0x7d); | |
4544 | #endif | |
4545 | ||
4546 | T1_Resumable_Error_0x7e: | |
4547 | #ifdef H_T1_Resumable_Error_0x7e | |
4548 | #ifdef SUN_H_T1_Resumable_Error_0x7e | |
4549 | SUN_H_T1_Resumable_Error_0x7e | |
4550 | #else | |
4551 | # ifdef My_T1_Resumable_Error_0x7e | |
4552 | My_T1_Resumable_Error_0x7e | |
4553 | # else | |
4554 | CUSTOM_TRAP(H_T1_Resumable_Error_0x7e) | |
4555 | # endif | |
4556 | #endif | |
4557 | .align 32 | |
4558 | #else | |
4559 | NORMAL_TRAP(0x7e); | |
4560 | #endif | |
4561 | ||
4562 | T1_Reserved_0x7f: | |
4563 | #ifdef H_T1_Reserved_0x7f | |
4564 | #ifdef SUN_H_T1_Reserved_0x7f | |
4565 | SUN_H_T1_Reserved_0x7f | |
4566 | #else | |
4567 | CUSTOM_TRAP(H_T1_Reserved_0x7f) | |
4568 | #endif | |
4569 | .align 32 | |
4570 | #else | |
4571 | NORMAL_TRAP(0x7f); | |
4572 | #endif | |
4573 | ||
4574 | T1_Window_Spill_0_Normal_0x80: | |
4575 | #ifdef H_T1_Window_Spill_0_Normal_Trap | |
4576 | #ifdef SUN_H_T1_Window_Spill_0_Normal_Trap | |
4577 | SUN_H_T1_Window_Spill_0_Normal_Trap | |
4578 | #else | |
4579 | # ifdef My_T1_Window_Spill_0_Normal_Trap | |
4580 | My_T1_Window_Spill_0_Normal_Trap | |
4581 | # else | |
4582 | CUSTOM_TRAP(H_T1_Window_Spill_0_Normal_Trap) | |
4583 | # endif | |
4584 | #endif | |
4585 | #else | |
4586 | #ifdef SPILL_TRAP_RETRY | |
4587 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4588 | #else | |
4589 | SPILL_TRAP(0x80) | |
4590 | #endif | |
4591 | #endif | |
4592 | ||
4593 | .align 128 | |
4594 | T1_Window_Spill_1_Normal_0x84: | |
4595 | #ifdef H_T1_Window_Spill_1_Normal_Trap | |
4596 | #ifdef SUN_H_T1_Window_Spill_1_Normal_Trap | |
4597 | SUN_H_T1_Window_Spill_1_Normal_Trap | |
4598 | #else | |
4599 | # ifdef My_T1_Window_Spill_1_Normal_Trap | |
4600 | My_T1_Window_Spill_1_Normal_Trap | |
4601 | # else | |
4602 | CUSTOM_TRAP(H_T1_Window_Spill_1_Normal_Trap) | |
4603 | # endif | |
4604 | #endif | |
4605 | #else | |
4606 | #ifdef SPILL_TRAP_RETRY | |
4607 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4608 | #else | |
4609 | SPILL_TRAP(0x84) | |
4610 | #endif | |
4611 | #endif | |
4612 | ||
4613 | .align 128 | |
4614 | T1_Window_Spill_2_Normal_0x88: | |
4615 | #ifdef H_T1_Window_Spill_2_Normal_Trap | |
4616 | #ifdef SUN_H_T1_Window_Spill_2_Normal_Trap | |
4617 | SUN_H_T1_Window_Spill_2_Normal_Trap | |
4618 | #else | |
4619 | # ifdef My_T1_Window_Spill_2_Normal_Trap | |
4620 | My_T1_Window_Spill_2_Normal_Trap | |
4621 | # else | |
4622 | CUSTOM_TRAP(H_T1_Window_Spill_2_Normal_Trap) | |
4623 | # endif | |
4624 | #endif | |
4625 | #else | |
4626 | #ifdef SPILL_TRAP_RETRY | |
4627 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4628 | #else | |
4629 | SPILL_TRAP(0x88) | |
4630 | #endif | |
4631 | #endif | |
4632 | ||
4633 | .align 128 | |
4634 | T1_Window_Spill_3_Normal_0x8c: | |
4635 | #ifdef H_T1_Window_Spill_3_Normal_Trap | |
4636 | #ifdef SUN_H_T1_Window_Spill_3_Normal_Trap | |
4637 | SUN_H_T1_Window_Spill_3_Normal_Trap | |
4638 | #else | |
4639 | # ifdef My_T1_Window_Spill_3_Normal_Trap | |
4640 | My_T1_Window_Spill_3_Normal_Trap | |
4641 | # else | |
4642 | CUSTOM_TRAP(H_T1_Window_Spill_3_Normal_Trap) | |
4643 | # endif | |
4644 | #endif | |
4645 | #else | |
4646 | #ifdef SPILL_TRAP_RETRY | |
4647 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4648 | #else | |
4649 | SPILL_TRAP(0x8c) | |
4650 | #endif | |
4651 | #endif | |
4652 | ||
4653 | .align 128 | |
4654 | T1_Window_Spill_4_Normal_0x90: | |
4655 | #ifdef H_T1_Window_Spill_4_Normal_Trap | |
4656 | #ifdef SUN_H_T1_Window_Spill_4_Normal_Trap | |
4657 | SUN_H_T1_Window_Spill_4_Normal_Trap | |
4658 | #else | |
4659 | # ifdef My_T1_Window_Spill_4_Normal_Trap | |
4660 | My_T1_Window_Spill_4_Normal_Trap | |
4661 | # else | |
4662 | CUSTOM_TRAP(H_T1_Window_Spill_4_Normal_Trap) | |
4663 | # endif | |
4664 | #endif | |
4665 | #else | |
4666 | #ifdef SPILL_TRAP_RETRY | |
4667 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4668 | #else | |
4669 | SPILL_TRAP(0x90) | |
4670 | #endif | |
4671 | #endif | |
4672 | ||
4673 | .align 128 | |
4674 | T1_Window_Spill_5_Normal_0x94: | |
4675 | #ifdef H_T1_Window_Spill_5_Normal_Trap | |
4676 | #ifdef SUN_H_T1_Window_Spill_5_Normal_Trap | |
4677 | SUN_H_T1_Window_Spill_5_Normal_Trap | |
4678 | #else | |
4679 | # ifdef My_T1_Window_Spill_5_Normal_Trap | |
4680 | My_T1_Window_Spill_5_Normal_Trap | |
4681 | # else | |
4682 | CUSTOM_TRAP(H_T1_Window_Spill_5_Normal_Trap) | |
4683 | # endif | |
4684 | #endif | |
4685 | #else | |
4686 | #ifdef SPILL_TRAP_RETRY | |
4687 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4688 | #else | |
4689 | SPILL_TRAP(0x94) | |
4690 | #endif | |
4691 | #endif | |
4692 | ||
4693 | .align 128 | |
4694 | T1_Window_Spill_6_Normal_0x98: | |
4695 | #ifdef H_T1_Window_Spill_6_Normal_Trap | |
4696 | #ifdef SUN_H_T1_Window_Spill_6_Normal_Trap | |
4697 | SUN_H_T1_Window_Spill_6_Normal_Trap | |
4698 | #else | |
4699 | # ifdef My_T1_Window_Spill_6_Normal_Trap | |
4700 | My_T1_Window_Spill_6_Normal_Trap | |
4701 | # else | |
4702 | CUSTOM_TRAP(H_T1_Window_Spill_6_Normal_Trap) | |
4703 | # endif | |
4704 | #endif | |
4705 | #else | |
4706 | #ifdef SPILL_TRAP_RETRY | |
4707 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4708 | #else | |
4709 | SPILL_TRAP(0x98) | |
4710 | #endif | |
4711 | #endif | |
4712 | ||
4713 | .align 128 | |
4714 | T1_Window_Spill_7_Normal_0x9c: | |
4715 | #ifdef H_T1_Window_Spill_7_Normal_Trap | |
4716 | #ifdef SUN_H_T1_Window_Spill_7_Normal_Trap | |
4717 | SUN_H_T1_Window_Spill_7_Normal_Trap | |
4718 | #else | |
4719 | # ifdef My_T1_Window_Spill_7_Normal_Trap | |
4720 | My_T1_Window_Spill_7_Normal_Trap | |
4721 | # else | |
4722 | CUSTOM_TRAP(H_T1_Window_Spill_7_Normal_Trap) | |
4723 | # endif | |
4724 | #endif | |
4725 | #else | |
4726 | #ifdef SPILL_TRAP_RETRY | |
4727 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4728 | #else | |
4729 | SPILL_TRAP(0x9c) | |
4730 | #endif | |
4731 | #endif | |
4732 | ||
4733 | .align 128 | |
4734 | T1_Window_Spill_0_Other_0xa0: | |
4735 | #ifdef H_T1_Window_Spill_0_Other_Trap | |
4736 | #ifdef SUN_H_T1_Window_Spill_0_Other_Trap | |
4737 | SUN_H_T1_Window_Spill_0_Other_Trap | |
4738 | #else | |
4739 | # ifdef My_T1_Window_Spill_0_Other_Trap | |
4740 | My_T1_Window_Spill_0_Other_Trap | |
4741 | # else | |
4742 | CUSTOM_TRAP(H_T1_Window_Spill_0_Other_Trap) | |
4743 | # endif | |
4744 | #endif | |
4745 | #else | |
4746 | #ifdef SPILL_TRAP_RETRY | |
4747 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4748 | #else | |
4749 | SPILL_TRAP(0xa0) | |
4750 | #endif | |
4751 | #endif | |
4752 | ||
4753 | .align 128 | |
4754 | T1_Window_Spill_1_Other_0xa4: | |
4755 | #ifdef H_T1_Window_Spill_1_Other_Trap | |
4756 | #ifdef SUN_H_T1_Window_Spill_1_Other_Trap | |
4757 | SUN_H_T1_Window_Spill_1_Other_Trap | |
4758 | #else | |
4759 | # ifdef My_T1_Window_Spill_1_Other_Trap | |
4760 | My_T1_Window_Spill_1_Other_Trap | |
4761 | # else | |
4762 | CUSTOM_TRAP(H_T1_Window_Spill_1_Other_Trap) | |
4763 | # endif | |
4764 | #endif | |
4765 | #else | |
4766 | #ifdef SPILL_TRAP_RETRY | |
4767 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4768 | #else | |
4769 | SPILL_TRAP(0xa4) | |
4770 | #endif | |
4771 | #endif | |
4772 | ||
4773 | .align 128 | |
4774 | T1_Window_Spill_2_Other_0xa8: | |
4775 | #ifdef H_T1_Window_Spill_2_Other_Trap | |
4776 | #ifdef SUN_H_T1_Window_Spill_2_Other_Trap | |
4777 | SUN_H_T1_Window_Spill_2_Other_Trap | |
4778 | #else | |
4779 | # ifdef My_T1_Window_Spill_2_Other_Trap | |
4780 | My_T1_Window_Spill_2_Other_Trap | |
4781 | # else | |
4782 | CUSTOM_TRAP(H_T1_Window_Spill_2_Other_Trap) | |
4783 | # endif | |
4784 | #endif | |
4785 | #else | |
4786 | #ifdef SPILL_TRAP_RETRY | |
4787 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4788 | #else | |
4789 | SPILL_TRAP(0xa8) | |
4790 | #endif | |
4791 | #endif | |
4792 | ||
4793 | .align 128 | |
4794 | T1_Window_Spill_3_Other_0xac: | |
4795 | #ifdef H_T1_Window_Spill_3_Other_Trap | |
4796 | #ifdef SUN_H_T1_Window_Spill_3_Other_Trap | |
4797 | SUN_H_T1_Window_Spill_3_Other_Trap | |
4798 | #else | |
4799 | # ifdef My_T1_Window_Spill_3_Other_Trap | |
4800 | My_T1_Window_Spill_3_Other_Trap | |
4801 | # else | |
4802 | CUSTOM_TRAP(H_T1_Window_Spill_3_Other_Trap) | |
4803 | # endif | |
4804 | #endif | |
4805 | #else | |
4806 | #ifdef SPILL_TRAP_RETRY | |
4807 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4808 | #else | |
4809 | SPILL_TRAP(0xac) | |
4810 | #endif | |
4811 | #endif | |
4812 | ||
4813 | .align 128 | |
4814 | T1_Window_Spill_4_Other_0xb0: | |
4815 | #ifdef H_T1_Window_Spill_4_Other_Trap | |
4816 | #ifdef SUN_H_T1_Window_Spill_4_Other_Trap | |
4817 | SUN_H_T1_Window_Spill_4_Other_Trap | |
4818 | #else | |
4819 | # ifdef My_T1_Window_Spill_4_Other_Trap | |
4820 | My_T1_Window_Spill_4_Other_Trap | |
4821 | # else | |
4822 | CUSTOM_TRAP(H_T1_Window_Spill_4_Other_Trap) | |
4823 | # endif | |
4824 | #endif | |
4825 | #else | |
4826 | #ifdef SPILL_TRAP_RETRY | |
4827 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4828 | #else | |
4829 | SPILL_TRAP(0xb0) | |
4830 | #endif | |
4831 | #endif | |
4832 | ||
4833 | .align 128 | |
4834 | T1_Window_Spill_5_Other_0xb4: | |
4835 | #ifdef H_T1_Window_Spill_5_Other_Trap | |
4836 | #ifdef SUN_H_T1_Window_Spill_5_Other_Trap | |
4837 | SUN_H_T1_Window_Spill_5_Other_Trap | |
4838 | #else | |
4839 | # ifdef My_T1_Window_Spill_5_Other_Trap | |
4840 | My_T1_Window_Spill_5_Other_Trap | |
4841 | # else | |
4842 | CUSTOM_TRAP(H_T1_Window_Spill_5_Other_Trap) | |
4843 | # endif | |
4844 | #endif | |
4845 | #else | |
4846 | #ifdef SPILL_TRAP_RETRY | |
4847 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4848 | #else | |
4849 | SPILL_TRAP(0xb4) | |
4850 | #endif | |
4851 | #endif | |
4852 | ||
4853 | .align 128 | |
4854 | T1_Window_Spill_6_Other_0xb8: | |
4855 | #ifdef H_T1_Window_Spill_6_Other_Trap | |
4856 | #ifdef SUN_H_T1_Window_Spill_6_Other_Trap | |
4857 | SUN_H_T1_Window_Spill_6_Other_Trap | |
4858 | #else | |
4859 | # ifdef My_T1_Window_Spill_6_Other_Trap | |
4860 | My_T1_Window_Spill_6_Other_Trap | |
4861 | # else | |
4862 | CUSTOM_TRAP(H_T1_Window_Spill_6_Other_Trap) | |
4863 | # endif | |
4864 | #endif | |
4865 | #else | |
4866 | #ifdef SPILL_TRAP_RETRY | |
4867 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4868 | #else | |
4869 | SPILL_TRAP(0xb8) | |
4870 | #endif | |
4871 | #endif | |
4872 | ||
4873 | .align 128 | |
4874 | T1_Window_Spill_7_Other_0xbc: | |
4875 | #ifdef H_T1_Window_Spill_7_Other_Trap | |
4876 | #ifdef SUN_H_T1_Window_Spill_7_Other_Trap | |
4877 | SUN_H_T1_Window_Spill_7_Other_Trap | |
4878 | #else | |
4879 | # ifdef My_T1_Window_Spill_7_Other_Trap | |
4880 | My_T1_Window_Spill_7_Other_Trap | |
4881 | # else | |
4882 | CUSTOM_TRAP(H_T1_Window_Spill_7_Other_Trap) | |
4883 | # endif | |
4884 | #endif | |
4885 | #else | |
4886 | #ifdef SPILL_TRAP_RETRY | |
4887 | saved; retry; nop;nop;nop;nop;nop;nop; | |
4888 | #else | |
4889 | SPILL_TRAP(0xbc) | |
4890 | #endif | |
4891 | #endif | |
4892 | ||
4893 | .align 128 | |
4894 | T1_Window_Fill_0_Normal_0xc0: | |
4895 | #ifdef H_T1_Window_Fill_0_Normal_Trap | |
4896 | #ifdef SUN_H_T1_Window_Fill_0_Normal_Trap | |
4897 | SUN_H_T1_Window_Fill_0_Normal_Trap | |
4898 | #else | |
4899 | # ifdef My_T1_Window_Fill_0_Normal_Trap | |
4900 | My_T1_Window_Fill_0_Normal_Trap | |
4901 | # else | |
4902 | CUSTOM_TRAP(H_T1_Window_Fill_0_Normal_Trap) | |
4903 | # endif | |
4904 | #endif | |
4905 | #else | |
4906 | #ifdef FILL_TRAP_RETRY | |
4907 | restored; retry; nop;nop;nop;nop;nop;nop; | |
4908 | #else | |
4909 | FILL_TRAP(0xc0) | |
4910 | #endif | |
4911 | #endif | |
4912 | ||
4913 | .align 128 | |
4914 | T1_Window_Fill_1_Normal_0xc4: | |
4915 | #ifdef H_T1_Window_Fill_1_Normal_Trap | |
4916 | #ifdef SUN_H_T1_Window_Fill_1_Normal_Trap | |
4917 | SUN_H_T1_Window_Fill_1_Normal_Trap | |
4918 | #else | |
4919 | # ifdef My_T1_Window_Fill_1_Normal_Trap | |
4920 | My_T1_Window_Fill_1_Normal_Trap | |
4921 | # else | |
4922 | CUSTOM_TRAP(H_T1_Window_Fill_1_Normal_Trap) | |
4923 | # endif | |
4924 | #endif | |
4925 | #else | |
4926 | #ifdef FILL_TRAP_RETRY | |
4927 | restored; retry; nop;nop;nop;nop;nop;nop; | |
4928 | #else | |
4929 | FILL_TRAP(0xc4) | |
4930 | #endif | |
4931 | #endif | |
4932 | ||
4933 | .align 128 | |
4934 | T1_Window_Fill_2_Normal_0xc8: | |
4935 | #ifdef H_T1_Window_Fill_2_Normal_Trap | |
4936 | #ifdef SUN_H_T1_Window_Fill_2_Normal_Trap | |
4937 | SUN_H_T1_Window_Fill_2_Normal_Trap | |
4938 | #else | |
4939 | # ifdef My_T1_Window_Fill_2_Normal_Trap | |
4940 | My_T1_Window_Fill_2_Normal_Trap | |
4941 | # else | |
4942 | CUSTOM_TRAP(H_T1_Window_Fill_2_Normal_Trap) | |
4943 | # endif | |
4944 | #endif | |
4945 | #else | |
4946 | #ifdef FILL_TRAP_RETRY | |
4947 | restored; retry; nop;nop;nop;nop;nop;nop; | |
4948 | #else | |
4949 | FILL_TRAP(0xc8) | |
4950 | #endif | |
4951 | #endif | |
4952 | ||
4953 | .align 128 | |
4954 | T1_Window_Fill_3_Normal_0xcc: | |
4955 | #ifdef H_T1_Window_Fill_3_Normal_Trap | |
4956 | #ifdef SUN_H_T1_Window_Fill_3_Normal_Trap | |
4957 | SUN_H_T1_Window_Fill_3_Normal_Trap | |
4958 | #else | |
4959 | # ifdef My_T1_Window_Fill_3_Normal_Trap | |
4960 | My_T1_Window_Fill_3_Normal_Trap | |
4961 | # else | |
4962 | CUSTOM_TRAP(H_T1_Window_Fill_3_Normal_Trap) | |
4963 | # endif | |
4964 | #endif | |
4965 | #else | |
4966 | #ifdef FILL_TRAP_RETRY | |
4967 | restored; retry; nop;nop;nop;nop;nop;nop; | |
4968 | #else | |
4969 | FILL_TRAP(0xcc) | |
4970 | #endif | |
4971 | #endif | |
4972 | ||
4973 | .align 128 | |
4974 | T1_Window_Fill_4_Normal_0xd0: | |
4975 | #ifdef H_T1_Window_Fill_4_Normal_Trap | |
4976 | #ifdef SUN_H_T1_Window_Fill_4_Normal_Trap | |
4977 | SUN_H_T1_Window_Fill_4_Normal_Trap | |
4978 | #else | |
4979 | # ifdef My_T1_Window_Fill_4_Normal_Trap | |
4980 | My_T1_Window_Fill_4_Normal_Trap | |
4981 | # else | |
4982 | CUSTOM_TRAP(H_T1_Window_Fill_4_Normal_Trap) | |
4983 | # endif | |
4984 | #endif | |
4985 | #else | |
4986 | #ifdef FILL_TRAP_RETRY | |
4987 | restored; retry; nop;nop;nop;nop;nop;nop; | |
4988 | #else | |
4989 | FILL_TRAP(0xd0) | |
4990 | #endif | |
4991 | #endif | |
4992 | ||
4993 | .align 128 | |
4994 | T1_Window_Fill_5_Normal_0xd4: | |
4995 | #ifdef H_T1_Window_Fill_5_Normal_Trap | |
4996 | #ifdef SUN_H_T1_Window_Fill_5_Normal_Trap | |
4997 | SUN_H_T1_Window_Fill_5_Normal_Trap | |
4998 | #else | |
4999 | # ifdef My_T1_Window_Fill_5_Normal_Trap | |
5000 | My_T1_Window_Fill_5_Normal_Trap | |
5001 | # else | |
5002 | CUSTOM_TRAP(H_T1_Window_Fill_5_Normal_Trap) | |
5003 | # endif | |
5004 | #endif | |
5005 | #else | |
5006 | #ifdef FILL_TRAP_RETRY | |
5007 | restored; retry; nop;nop;nop;nop;nop;nop; | |
5008 | #else | |
5009 | FILL_TRAP(0xd4) | |
5010 | #endif | |
5011 | #endif | |
5012 | ||
5013 | .align 128 | |
5014 | T1_Window_Fill_6_Normal_0xd8: | |
5015 | #ifdef H_T1_Window_Fill_6_Normal_Trap | |
5016 | #ifdef SUN_H_T1_Window_Fill_6_Normal_Trap | |
5017 | SUN_H_T1_Window_Fill_6_Normal_Trap | |
5018 | #else | |
5019 | # ifdef My_T1_Window_Fill_6_Normal_Trap | |
5020 | My_T1_Window_Fill_6_Normal_Trap | |
5021 | # else | |
5022 | CUSTOM_TRAP(H_T1_Window_Fill_6_Normal_Trap) | |
5023 | # endif | |
5024 | #endif | |
5025 | #else | |
5026 | #ifdef FILL_TRAP_RETRY | |
5027 | restored; retry; nop;nop;nop;nop;nop;nop; | |
5028 | #else | |
5029 | FILL_TRAP(0xd8) | |
5030 | #endif | |
5031 | #endif | |
5032 | ||
5033 | .align 128 | |
5034 | T1_Window_Fill_7_Normal_0xdc: | |
5035 | #ifdef H_T1_Window_Fill_7_Normal_Trap | |
5036 | #ifdef SUN_H_T1_Window_Fill_7_Normal_Trap | |
5037 | SUN_H_T1_Window_Fill_7_Normal_Trap | |
5038 | #else | |
5039 | # ifdef My_T1_Window_Fill_7_Normal_Trap | |
5040 | My_T1_Window_Fill_7_Normal_Trap | |
5041 | # else | |
5042 | CUSTOM_TRAP(H_T1_Window_Fill_7_Normal_Trap) | |
5043 | # endif | |
5044 | #endif | |
5045 | #else | |
5046 | #ifdef FILL_TRAP_RETRY | |
5047 | restored; retry; nop;nop;nop;nop;nop;nop; | |
5048 | #else | |
5049 | FILL_TRAP(0xdc) | |
5050 | #endif | |
5051 | #endif | |
5052 | ||
5053 | .align 128 | |
5054 | T1_Window_Fill_0_Other_0xe0: | |
5055 | #ifdef H_T1_Window_Fill_0_Other_Trap | |
5056 | #ifdef SUN_H_T1_Window_Fill_0_Other_Trap | |
5057 | SUN_H_T1_Window_Fill_0_Other_Trap | |
5058 | #else | |
5059 | # ifdef My_T1_Window_Fill_0_Other_Trap | |
5060 | My_T1_Window_Fill_0_Other_Trap | |
5061 | # else | |
5062 | CUSTOM_TRAP(H_T1_Window_Fill_0_Other_Trap) | |
5063 | # endif | |
5064 | #endif | |
5065 | #else | |
5066 | FILL_TRAP(0xe0) | |
5067 | #endif | |
5068 | ||
5069 | .align 128 | |
5070 | T1_Window_Fill_1_Other_0xe4: | |
5071 | #ifdef H_T1_Window_Fill_1_Other_Trap | |
5072 | #ifdef SUN_H_T1_Window_Fill_1_Other_Trap | |
5073 | SUN_H_T1_Window_Fill_1_Other_Trap | |
5074 | #else | |
5075 | # ifdef My_T1_Window_Fill_1_Other_Trap | |
5076 | My_T1_Window_Fill_1_Other_Trap | |
5077 | # else | |
5078 | CUSTOM_TRAP(H_T1_Window_Fill_1_Other_Trap) | |
5079 | # endif | |
5080 | #endif | |
5081 | #else | |
5082 | FILL_TRAP(0xe4) | |
5083 | #endif | |
5084 | ||
5085 | .align 128 | |
5086 | T1_Window_Fill_2_Other_0xe8: | |
5087 | #ifdef H_T1_Window_Fill_2_Other_Trap | |
5088 | #ifdef SUN_H_T1_Window_Fill_2_Other_Trap | |
5089 | SUN_H_T1_Window_Fill_2_Other_Trap | |
5090 | #else | |
5091 | # ifdef My_T1_Window_Fill_2_Other_Trap | |
5092 | My_T1_Window_Fill_2_Other_Trap | |
5093 | # else | |
5094 | CUSTOM_TRAP(H_T1_Window_Fill_2_Other_Trap) | |
5095 | # endif | |
5096 | #endif | |
5097 | #else | |
5098 | FILL_TRAP(0xe8) | |
5099 | #endif | |
5100 | ||
5101 | .align 128 | |
5102 | T1_Window_Fill_3_Other_0xec: | |
5103 | #ifdef H_T1_Window_Fill_3_Other_Trap | |
5104 | #ifdef SUN_H_T1_Window_Fill_3_Other_Trap | |
5105 | SUN_H_T1_Window_Fill_3_Other_Trap | |
5106 | #else | |
5107 | # ifdef My_T1_Window_Fill_3_Other_Trap | |
5108 | My_T1_Window_Fill_3_Other_Trap | |
5109 | # else | |
5110 | CUSTOM_TRAP(H_T1_Window_Fill_3_Other_Trap) | |
5111 | # endif | |
5112 | #endif | |
5113 | #else | |
5114 | FILL_TRAP(0xec) | |
5115 | #endif | |
5116 | ||
5117 | .align 128 | |
5118 | T1_Window_Fill_4_Other_0xf0: | |
5119 | #ifdef H_T1_Window_Fill_4_Other_Trap | |
5120 | #ifdef SUN_H_T1_Window_Fill_4_Other_Trap | |
5121 | SUN_H_T1_Window_Fill_4_Other_Trap | |
5122 | #else | |
5123 | # ifdef My_T1_Window_Fill_4_Other_Trap | |
5124 | My_T1_Window_Fill_4_Other_Trap | |
5125 | # else | |
5126 | CUSTOM_TRAP(H_T1_Window_Fill_4_Other_Trap) | |
5127 | # endif | |
5128 | #endif | |
5129 | #else | |
5130 | FILL_TRAP(0xf0) | |
5131 | #endif | |
5132 | ||
5133 | .align 128 | |
5134 | T1_Window_Fill_5_Other_0xf4: | |
5135 | #ifdef H_T1_Window_Fill_5_Other_Trap | |
5136 | #ifdef SUN_H_T1_Window_Fill_5_Other_Trap | |
5137 | SUN_H_T1_Window_Fill_5_Other_Trap | |
5138 | #else | |
5139 | # ifdef My_T1_Window_Fill_5_Other_Trap | |
5140 | My_T1_Window_Fill_5_Other_Trap | |
5141 | # else | |
5142 | CUSTOM_TRAP(H_T1_Window_Fill_5_Other_Trap) | |
5143 | # endif | |
5144 | #endif | |
5145 | #else | |
5146 | FILL_TRAP(0xf4) | |
5147 | #endif | |
5148 | ||
5149 | .align 128 | |
5150 | T1_Window_Fill_6_Other_0xf8: | |
5151 | #ifdef H_T1_Window_Fill_6_Other_Trap | |
5152 | #ifdef SUN_H_T1_Window_Fill_6_Other_Trap | |
5153 | SUN_H_T1_Window_Fill_6_Other_Trap | |
5154 | #else | |
5155 | # ifdef My_T1_Window_Fill_6_Other_Trap | |
5156 | My_T1_Window_Fill_6_Other_Trap | |
5157 | # else | |
5158 | CUSTOM_TRAP(H_T1_Window_Fill_6_Other_Trap) | |
5159 | # endif | |
5160 | #endif | |
5161 | #else | |
5162 | FILL_TRAP(0xf8) | |
5163 | #endif | |
5164 | ||
5165 | .align 128 | |
5166 | T1_Window_Fill_7_Other_0xfc: | |
5167 | #ifdef H_T1_Window_Fill_7_Other_Trap | |
5168 | #ifdef SUN_H_T1_Window_Fill_7_Other_Trap | |
5169 | SUN_H_T1_Window_Fill_7_Other_Trap | |
5170 | #else | |
5171 | # ifdef My_T1_Window_Fill_7_Other_Trap | |
5172 | My_T1_Window_Fill_7_Other_Trap | |
5173 | # else | |
5174 | CUSTOM_TRAP(H_T1_Window_Fill_7_Other_Trap) | |
5175 | # endif | |
5176 | #endif | |
5177 | #else | |
5178 | FILL_TRAP(0xfc) | |
5179 | #endif | |
5180 | ||
5181 | ||
5182 | .align 128 | |
5183 | T1_GoodTrap_0x100: | |
5184 | ta T_HGOOD_TRAP;nop;nop;nop;nop;nop;nop;nop | |
5185 | ||
5186 | T1_BadTrap_0x101: | |
5187 | ta T_HBAD_TRAP; nop;nop;nop;nop;nop;nop;nop | |
5188 | ||
5189 | .align 32 | |
5190 | T1_ChangePriv_0x102: | |
5191 | #ifdef H_T1_ChangePriv_0x102 | |
5192 | #ifdef SUN_H_T1_ChangePriv_0x102 | |
5193 | SUN_H_T1_ChangePriv_0x102 | |
5194 | #else | |
5195 | CUSTOM_TRAP(H_T1_ChangePriv_0x102) | |
5196 | #endif | |
5197 | #else | |
5198 | rdpr %tstate, %g1 | |
5199 | or %g1, 0x400, %g2 | |
5200 | wrpr %g0, %g2, %tstate | |
5201 | done | |
5202 | nop | |
5203 | nop | |
5204 | nop | |
5205 | nop | |
5206 | #endif | |
5207 | ||
5208 | .align 32 | |
5209 | T1_ChangeNonPriv_0x103: | |
5210 | #ifdef H_T1_ChangeNonPriv_0x103 | |
5211 | #ifdef SUN_H_T1_ChangeNonPriv_0x103 | |
5212 | SUN_H_T1_ChangeNonPriv_0x103 | |
5213 | #else | |
5214 | CUSTOM_TRAP(H_T1_ChangeNonPriv_0x103) | |
5215 | #endif | |
5216 | #else | |
5217 | rdpr %tstate, %g1 | |
5218 | andn %g1, 0x400, %g2 | |
5219 | wrpr %g0, %g2, %tstate | |
5220 | done | |
5221 | nop | |
5222 | nop | |
5223 | nop | |
5224 | nop | |
5225 | #endif | |
5226 | ||
5227 | T1_ChangeToTL1_0x104: | |
5228 | wrpr %g0, 1, %gl | |
5229 | rdpr %tnpc, %g1 | |
5230 | wrpr %g0, 1, %tl | |
5231 | jmp %g1 | |
5232 | nop | |
5233 | nop | |
5234 | nop | |
5235 | nop | |
5236 | ||
5237 | T1_ChangeToTL0_0x105: | |
5238 | rdpr %tstate, %g1 | |
5239 | rdpr %tpc, %g2 | |
5240 | rdpr %tnpc, %g3 | |
5241 | wrpr %g0, 1, %tl | |
5242 | wrpr %g1, 0, %tstate | |
5243 | wrpr %g2, 0, %tpc | |
5244 | wrpr %g3, 0, %tnpc | |
5245 | done | |
5246 | ||
5247 | .align 128 | |
5248 | T1_TrapEn_0x108: | |
5249 | setx trap_enable_data, %g2, %g1 | |
5250 | mov 0x800, %g2 | |
5251 | add %o0, %o0, %o0 | |
5252 | sth %g2, [%g1+%o0] | |
5253 | done | |
5254 | ||
5255 | .align 64 | |
5256 | T1_TrapDis_0x10a: | |
5257 | setx trap_enable_data, %g2, %g1 | |
5258 | mov 0, %g2 | |
5259 | add %o0, %o0, %o0 | |
5260 | sth %g2, [%g1+%o0] | |
5261 | done | |
5262 | ||
5263 | .align 64 | |
5264 | T1_TrapEn_Ntimes_0x10c: | |
5265 | setx trap_enable_data, %g2, %g1 | |
5266 | add %o0, %o0, %o0 | |
5267 | sth %o1, [%g1+%o0] | |
5268 | done | |
5269 | ||
5270 | .align 128 | |
5271 | T1_PThreadMutexLock_0x110: | |
5272 | #ifdef H_T1_PThreadMutexLock_0x110 | |
5273 | #ifdef SUN_H_T1_PThreadMutexLock_0x110 | |
5274 | SUN_H_T1_PThreadMutexLock_0x110 | |
5275 | #else | |
5276 | # ifdef My_T1_PThreadMutexLock_0x110 | |
5277 | My_T1_PThreadMutexLock_0x110 | |
5278 | # else | |
5279 | CUSTOM_TRAP(H_T1_PThreadMutexLock_0x110) | |
5280 | # endif | |
5281 | #endif | |
5282 | #else | |
5283 | rdpr %tl, %g2 | |
5284 | cmp %g2, 2 | |
5285 | bne,a .+8 | |
5286 | or %i0, %g0, %o1 | |
5287 | setx pthread_mutex_data, %g2, %g3 | |
5288 | pt_retry_1: | |
5289 | ldstub [%g3+%o1], %g2 | |
5290 | brz %g2, pt_done_1 | |
5291 | nop | |
5292 | pt_loop_1: | |
5293 | ldub [%g3+%o1], %g2 | |
5294 | brnz %g2, pt_loop_1 | |
5295 | nop | |
5296 | ba,a pt_retry_1 | |
5297 | pt_done_1: | |
5298 | membar #LoadLoad | #LoadStore | |
5299 | done | |
5300 | #endif | |
5301 | ||
5302 | .align 128 | |
5303 | T1_PThreadMutexUnLock_0x114: | |
5304 | #ifdef H_T1_PThreadMutexUnLock_0x114 | |
5305 | #ifdef SUN_H_T1_PThreadMutexUnLock_0x114 | |
5306 | SUN_H_T1_PThreadMutexUnLock_0x114 | |
5307 | #else | |
5308 | CUSTOM_TRAP(H_T1_PThreadMutexUnLock_0x114) | |
5309 | #endif | |
5310 | #else | |
5311 | setx pthread_mutex_data, %g2, %g5 | |
5312 | stub %g0, [%g5+%o1] | |
5313 | done | |
5314 | #endif | |
5315 | ||
5316 | .align 64 | |
5317 | T1_Trap_Sync_0x116: | |
5318 | ||
5319 | setx pthread_counter_data, %g1, %g4 | |
5320 | rdpr %tpc, %g2 | |
5321 | rdpr %tnpc,%g3 | |
5322 | mov %g3, %g1 | |
5323 | add %g2, 60, %g2 | |
5324 | add %g3, 60, %g3 | |
5325 | wrpr %g2, 0, %tpc ! set %tcp/%tnpc | |
5326 | wrpr %g3, 0, %tnpc | |
5327 | jmp %g1 ! %g1 is original %tnpc | |
5328 | nop | |
5329 | ||
5330 | ||
5331 | .align 64 | |
5332 | T1_Trap_Function_0x118: | |
5333 | ! call kernel dervice routine | |
5334 | mov 0x0, %o0 | |
5335 | done | |
5336 | nop | |
5337 | nop | |
5338 | nop | |
5339 | nop | |
5340 | nop | |
5341 | nop | |
5342 | ||
5343 | .align 512 | |
5344 | T1_HTrap_Enable_0x120: | |
5345 | ! call kernel dervice routine | |
5346 | ta %icc, T_API_CHANGE_PRIV | |
5347 | done | |
5348 | mov 123, %g1 | |
5349 | mov 123, %g1 | |
5350 | mov 123, %g1 | |
5351 | nop | |
5352 | nop | |
5353 | nop | |
5354 | ||
5355 | .align 64 | |
5356 | T1_HTrap_Disable_0x122: | |
5357 | ta %icc, T_API_CHANGE_NONPRIV | |
5358 | done | |
5359 | nop | |
5360 | nop | |
5361 | nop | |
5362 | nop | |
5363 | nop | |
5364 | nop | |
5365 | ||
5366 | .align 64 | |
5367 | T1_Trap_Function_0x124: | |
5368 | ta %icc, T_API_TRAP_EN | |
5369 | done | |
5370 | nop | |
5371 | nop | |
5372 | nop | |
5373 | nop | |
5374 | nop | |
5375 | nop | |
5376 | ||
5377 | .align 64 | |
5378 | T1_Trap_Function_0x126: | |
5379 | ta %icc, T_API_TRAP_DIS | |
5380 | done | |
5381 | nop | |
5382 | nop | |
5383 | nop | |
5384 | nop | |
5385 | nop | |
5386 | nop | |
5387 | ||
5388 | .align 64 | |
5389 | T1_HTrapEn_Ntimes_0x128: | |
5390 | #ifdef H_T1_HTrapEn_Ntimes_0x128 | |
5391 | #ifdef SUN_H_T1_HTrapEn_Ntimes_0x128 | |
5392 | SUN_H_T1_HTrapEn_Ntimes_0x128 | |
5393 | #else | |
5394 | # ifdef My_T1_HTrapEn_Ntimes_0x128 | |
5395 | My_T1_HTrapEn_Ntimes_0x128 | |
5396 | # else | |
5397 | CUSTOM_TRAP(H_T1_HTrapEn_Ntimes_0x128) | |
5398 | # endif | |
5399 | #endif | |
5400 | #else | |
5401 | ta %icc, T_API_TRAP_EN_N_TIMES | |
5402 | done | |
5403 | nop | |
5404 | nop | |
5405 | nop | |
5406 | nop | |
5407 | nop | |
5408 | nop | |
5409 | #endif | |
5410 | ||
5411 | .align 64 | |
5412 | T1_ChangeCtx_0x12a: | |
5413 | #ifdef H_T1_ChangeCtx_0x12a | |
5414 | #ifdef SUN_H_T1_ChangeCtx_0x12a | |
5415 | SUN_H_T1_ChangeCtx_0x12a | |
5416 | #else | |
5417 | # ifdef My_T1_ChangeCtx_0x12a | |
5418 | My_T1_ChangeCtx_0x12a | |
5419 | # else | |
5420 | CUSTOM_TRAP(H_T1_ChangeCtx_0x12a) | |
5421 | # endif | |
5422 | #endif | |
5423 | #else | |
5424 | ta %icc, T_API_CHANGE_CTX | |
5425 | done | |
5426 | nop | |
5427 | nop | |
5428 | nop | |
5429 | nop | |
5430 | nop | |
5431 | nop | |
5432 | #endif | |
5433 | ||
5434 | .align 64 | |
5435 | T1_Dummy_0x12c: | |
5436 | #ifdef H_T1_Dummy_0x12c | |
5437 | #ifdef SUN_H_T1_Dummy_0x12c | |
5438 | SUN_H_T1_Dummy_0x12c | |
5439 | #else | |
5440 | # ifdef My_T1_Dummy_0x12c | |
5441 | My_T1_Dummy_0x12c | |
5442 | # else | |
5443 | CUSTOM_TRAP(H_T1_Dummy_0x12c) | |
5444 | # endif | |
5445 | #endif | |
5446 | #else | |
5447 | nop | |
5448 | nop | |
5449 | nop | |
5450 | nop | |
5451 | nop | |
5452 | nop | |
5453 | nop | |
5454 | nop | |
5455 | #endif | |
5456 | ||
5457 | .align 64 | |
5458 | T1_RdThId_0x12e: | |
5459 | ta %icc, T_API_RD_THID | |
5460 | done | |
5461 | nop | |
5462 | nop | |
5463 | nop | |
5464 | nop | |
5465 | nop | |
5466 | nop | |
5467 | ||
5468 | .align 512 | |
5469 | T1_Trap_Instruction_0x130: | |
5470 | #ifdef H_T1_Trap_Instruction_0 | |
5471 | #ifdef SUN_H_T1_Trap_Instruction_0 | |
5472 | SUN_H_T1_Trap_Instruction_0 | |
5473 | #else | |
5474 | # ifdef My_T1_Trap_Instruction_0 | |
5475 | My_T1_Trap_Instruction_0 | |
5476 | # else | |
5477 | CUSTOM_TRAP(H_T1_Trap_Instruction_0) | |
5478 | # endif | |
5479 | #endif | |
5480 | #else | |
5481 | NORMAL_TRAP(0x130); | |
5482 | #endif | |
5483 | ||
5484 | .align 32 | |
5485 | T1_Trap_Instruction_0x131: | |
5486 | #ifdef H_T1_Trap_Instruction_1 | |
5487 | #ifdef SUN_H_T1_Trap_Instruction_1 | |
5488 | SUN_H_T1_Trap_Instruction_1 | |
5489 | #else | |
5490 | # ifdef My_T1_Trap_Instruction_1 | |
5491 | My_T1_Trap_Instruction_1 | |
5492 | # else | |
5493 | CUSTOM_TRAP(H_T1_Trap_Instruction_1) | |
5494 | # endif | |
5495 | #endif | |
5496 | #else | |
5497 | NORMAL_TRAP(0x131); | |
5498 | #endif | |
5499 | ||
5500 | .align 32 | |
5501 | T1_Trap_Instruction_0x132: | |
5502 | #ifdef H_T1_Trap_Instruction_2 | |
5503 | #ifdef SUN_H_T1_Trap_Instruction_2 | |
5504 | SUN_H_T1_Trap_Instruction_2 | |
5505 | #else | |
5506 | # ifdef My_T1_Trap_Instruction_2 | |
5507 | My_T1_Trap_Instruction_2 | |
5508 | # else | |
5509 | CUSTOM_TRAP(H_T1_Trap_Instruction_2) | |
5510 | # endif | |
5511 | #endif | |
5512 | #else | |
5513 | ta T_API_HTRAP_INST0; | |
5514 | done; | |
5515 | nop; | |
5516 | nop; | |
5517 | nop; | |
5518 | nop; | |
5519 | nop; | |
5520 | nop; | |
5521 | #endif | |
5522 | ||
5523 | .align 32 | |
5524 | T1_Trap_Instruction_0x133: | |
5525 | #ifdef H_T1_Trap_Instruction_3 | |
5526 | #ifdef SUN_H_T1_Trap_Instruction_3 | |
5527 | SUN_H_T1_Trap_Instruction_3 | |
5528 | #else | |
5529 | # ifdef My_T1_Trap_Instruction_3 | |
5530 | My_T1_Trap_Instruction_3 | |
5531 | # else | |
5532 | CUSTOM_TRAP(H_T1_Trap_Instruction_3) | |
5533 | # endif | |
5534 | #endif | |
5535 | #else | |
5536 | ta T_API_HTRAP_INST1; | |
5537 | done; | |
5538 | nop; | |
5539 | nop; | |
5540 | nop; | |
5541 | nop; | |
5542 | nop; | |
5543 | nop; | |
5544 | #endif | |
5545 | ||
5546 | .align 32 | |
5547 | T1_Trap_Instruction_0x134: | |
5548 | #ifdef H_T1_Trap_Instruction_4 | |
5549 | #ifdef SUN_H_T1_Trap_Instruction_4 | |
5550 | SUN_H_T1_Trap_Instruction_4 | |
5551 | #else | |
5552 | # ifdef My_T1_Trap_Instruction_4 | |
5553 | My_T1_Trap_Instruction_4 | |
5554 | # else | |
5555 | CUSTOM_TRAP(H_T1_Trap_Instruction_4) | |
5556 | # endif | |
5557 | #endif | |
5558 | #else | |
5559 | NORMAL_TRAP(0x134); | |
5560 | #endif | |
5561 | ||
5562 | .align 32 | |
5563 | T1_Trap_Instruction_0x135: | |
5564 | #ifdef H_T1_Trap_Instruction_5 | |
5565 | #ifdef SUN_H_T1_Trap_Instruction_5 | |
5566 | SUN_H_T1_Trap_Instruction_5 | |
5567 | #else | |
5568 | # ifdef My_T1_Trap_Instruction_5 | |
5569 | My_T1_Trap_Instruction_5 | |
5570 | # else | |
5571 | CUSTOM_TRAP(H_T1_Trap_Instruction_5) | |
5572 | # endif | |
5573 | #endif | |
5574 | #else | |
5575 | NORMAL_TRAP(0x135); | |
5576 | #endif | |
5577 | ||
5578 | .align 128 | |
5579 | T1_Trap_Instruction_0x138: | |
5580 | #ifdef H_T1_Trap_Instruction_0x138 | |
5581 | #ifdef SUN_H_T1_Trap_Instruction_0x138 | |
5582 | SUN_H_T1_Trap_Instruction_0x138 | |
5583 | #else | |
5584 | # ifdef My_T1_Trap_Instruction_0x138 | |
5585 | My_T1_Trap_Instruction_0x138 | |
5586 | # else | |
5587 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x138) | |
5588 | # endif | |
5589 | #endif | |
5590 | #else | |
5591 | NORMAL_TRAP(0x138); | |
5592 | #endif | |
5593 | ||
5594 | .align 128 | |
5595 | T1_Trap_Instruction_0x13c: | |
5596 | #ifdef H_T1_Trap_Instruction_0x13c | |
5597 | #ifdef SUN_H_T1_Trap_Instruction_0x13c | |
5598 | SUN_H_T1_Trap_Instruction_0x13c | |
5599 | #else | |
5600 | # ifdef My_T1_Trap_Instruction_0x13c | |
5601 | My_T1_Trap_Instruction_0x13c | |
5602 | # else | |
5603 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x13c) | |
5604 | # endif | |
5605 | #endif | |
5606 | #else | |
5607 | NORMAL_TRAP(0x13c); | |
5608 | #endif | |
5609 | ||
5610 | .align 128 | |
5611 | T1_Trap_Instruction_0x140: | |
5612 | #ifdef H_T1_Trap_Instruction_0x140 | |
5613 | #ifdef SUN_H_T1_Trap_Instruction_0x140 | |
5614 | SUN_H_T1_Trap_Instruction_0x140 | |
5615 | #else | |
5616 | # ifdef My_T1_Trap_Instruction_0x140 | |
5617 | My_T1_Trap_Instruction_0x140 | |
5618 | # else | |
5619 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x140) | |
5620 | # endif | |
5621 | #endif | |
5622 | #else | |
5623 | NORMAL_TRAP(0x140); | |
5624 | #endif | |
5625 | ||
5626 | .align 128 | |
5627 | T1_Trap_Instruction_0x144: | |
5628 | #ifdef H_T1_Trap_Instruction_0x144 | |
5629 | #ifdef SUN_H_T1_Trap_Instruction_0x144 | |
5630 | SUN_H_T1_Trap_Instruction_0x144 | |
5631 | #else | |
5632 | # ifdef My_T1_Trap_Instruction_0x144 | |
5633 | My_T1_Trap_Instruction_0x144 | |
5634 | # else | |
5635 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x144) | |
5636 | # endif | |
5637 | #endif | |
5638 | #else | |
5639 | NORMAL_TRAP(0x144); | |
5640 | #endif | |
5641 | ||
5642 | .align 128 | |
5643 | T1_Trap_Instruction_0x148: | |
5644 | #ifdef H_T1_Trap_Instruction_0x148 | |
5645 | #ifdef SUN_H_T1_Trap_Instruction_0x148 | |
5646 | SUN_H_T1_Trap_Instruction_0x148 | |
5647 | #else | |
5648 | # ifdef My_T1_Trap_Instruction_0x148 | |
5649 | My_T1_Trap_Instruction_0x148 | |
5650 | # else | |
5651 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x148) | |
5652 | # endif | |
5653 | #endif | |
5654 | #else | |
5655 | NORMAL_TRAP(0x148); | |
5656 | #endif | |
5657 | ||
5658 | .align 128 | |
5659 | T1_Trap_Instruction_0x14c: | |
5660 | #ifdef H_T1_Trap_Instruction_0x14c | |
5661 | #ifdef SUN_H_T1_Trap_Instruction_0x14c | |
5662 | SUN_H_T1_Trap_Instruction_0x14c | |
5663 | #else | |
5664 | # ifdef My_T1_Trap_Instruction_0x14c | |
5665 | My_T1_Trap_Instruction_0x14c | |
5666 | # else | |
5667 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x14c) | |
5668 | # endif | |
5669 | #endif | |
5670 | #else | |
5671 | NORMAL_TRAP(0x14c); | |
5672 | #endif | |
5673 | ||
5674 | .align 128 | |
5675 | T1_Trap_Instruction_0x150: | |
5676 | #ifdef H_T1_Trap_Instruction_0x150 | |
5677 | #ifdef SUN_H_T1_Trap_Instruction_0x150 | |
5678 | SUN_H_T1_Trap_Instruction_0x150 | |
5679 | #else | |
5680 | # ifdef My_T1_Trap_Instruction_0x150 | |
5681 | My_T1_Trap_Instruction_0x150 | |
5682 | # else | |
5683 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x150) | |
5684 | # endif | |
5685 | #endif | |
5686 | #else | |
5687 | NORMAL_TRAP(0x150); | |
5688 | #endif | |
5689 | ||
5690 | .align 128 | |
5691 | T1_Trap_Instruction_0x154: | |
5692 | #ifdef H_T1_Trap_Instruction_0x154 | |
5693 | #ifdef SUN_H_T1_Trap_Instruction_0x154 | |
5694 | SUN_H_T1_Trap_Instruction_0x154 | |
5695 | #else | |
5696 | # ifdef My_T1_Trap_Instruction_0x154 | |
5697 | My_T1_Trap_Instruction_0x154 | |
5698 | # else | |
5699 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x154) | |
5700 | # endif | |
5701 | #endif | |
5702 | #else | |
5703 | NORMAL_TRAP(0x154); | |
5704 | #endif | |
5705 | ||
5706 | .align 128 | |
5707 | T1_Trap_Instruction_0x158: | |
5708 | #ifdef H_T1_Trap_Instruction_0x158 | |
5709 | #ifdef SUN_H_T1_Trap_Instruction_0x158 | |
5710 | SUN_H_T1_Trap_Instruction_0x158 | |
5711 | #else | |
5712 | # ifdef My_T1_Trap_Instruction_0x158 | |
5713 | My_T1_Trap_Instruction_0x158 | |
5714 | # else | |
5715 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x158) | |
5716 | # endif | |
5717 | #endif | |
5718 | #else | |
5719 | NORMAL_TRAP(0x158); | |
5720 | #endif | |
5721 | ||
5722 | .align 128 | |
5723 | T1_Trap_Instruction_0x15c: | |
5724 | #ifdef H_T1_Trap_Instruction_0x15c | |
5725 | #ifdef SUN_H_T1_Trap_Instruction_0x15c | |
5726 | SUN_H_T1_Trap_Instruction_0x15c | |
5727 | #else | |
5728 | # ifdef My_T1_Trap_Instruction_0x15c | |
5729 | My_T1_Trap_Instruction_0x15c | |
5730 | # else | |
5731 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x15c) | |
5732 | # endif | |
5733 | #endif | |
5734 | #else | |
5735 | NORMAL_TRAP(0x15c); | |
5736 | #endif | |
5737 | ||
5738 | .align 128 | |
5739 | T1_Trap_Instruction_0x160: | |
5740 | #ifdef H_T1_Trap_Instruction_0x160 | |
5741 | #ifdef SUN_H_T1_Trap_Instruction_0x160 | |
5742 | SUN_H_T1_Trap_Instruction_0x160 | |
5743 | #else | |
5744 | # ifdef My_T1_Trap_Instruction_0x160 | |
5745 | My_T1_Trap_Instruction_0x160 | |
5746 | # else | |
5747 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x160) | |
5748 | # endif | |
5749 | #endif | |
5750 | #else | |
5751 | NORMAL_TRAP(0x160); | |
5752 | #endif | |
5753 | ||
5754 | .align 128 | |
5755 | T1_Trap_Instruction_0x164: | |
5756 | #ifdef H_T1_Trap_Instruction_0x164 | |
5757 | #ifdef SUN_H_T1_Trap_Instruction_0x164 | |
5758 | SUN_H_T1_Trap_Instruction_0x164 | |
5759 | #else | |
5760 | # ifdef My_T1_Trap_Instruction_0x164 | |
5761 | My_T1_Trap_Instruction_0x164 | |
5762 | # else | |
5763 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x164) | |
5764 | # endif | |
5765 | #endif | |
5766 | #else | |
5767 | NORMAL_TRAP(0x164); | |
5768 | #endif | |
5769 | ||
5770 | .align 128 | |
5771 | T1_Trap_Instruction_0x168: | |
5772 | #ifdef H_T1_Trap_Instruction_0x168 | |
5773 | #ifdef SUN_H_T1_Trap_Instruction_0x168 | |
5774 | SUN_H_T1_Trap_Instruction_0x168 | |
5775 | #else | |
5776 | # ifdef My_T1_Trap_Instruction_0x168 | |
5777 | My_T1_Trap_Instruction_0x168 | |
5778 | # else | |
5779 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x168) | |
5780 | # endif | |
5781 | #endif | |
5782 | #else | |
5783 | NORMAL_TRAP(0x168); | |
5784 | #endif | |
5785 | ||
5786 | .align 128 | |
5787 | T1_Trap_Instruction_0x16c: | |
5788 | #ifdef H_T1_Trap_Instruction_0x16c | |
5789 | #ifdef SUN_H_T1_Trap_Instruction_0x16c | |
5790 | SUN_H_T1_Trap_Instruction_0x16c | |
5791 | #else | |
5792 | # ifdef My_T1_Trap_Instruction_0x16c | |
5793 | My_T1_Trap_Instruction_0x16c | |
5794 | # else | |
5795 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x16c) | |
5796 | # endif | |
5797 | #endif | |
5798 | #else | |
5799 | NORMAL_TRAP(0x16c); | |
5800 | #endif | |
5801 | ||
5802 | .align 128 | |
5803 | T1_Trap_Instruction_0x170: | |
5804 | #ifdef H_T1_Trap_Instruction_0x170 | |
5805 | #ifdef SUN_H_T1_Trap_Instruction_0x170 | |
5806 | SUN_H_T1_Trap_Instruction_0x170 | |
5807 | #else | |
5808 | # ifdef My_T1_Trap_Instruction_0x170 | |
5809 | My_T1_Trap_Instruction_0x170 | |
5810 | # else | |
5811 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x170) | |
5812 | # endif | |
5813 | #endif | |
5814 | #else | |
5815 | NORMAL_TRAP(0x170); | |
5816 | #endif | |
5817 | ||
5818 | .align 128 | |
5819 | T1_Trap_Instruction_0x174: | |
5820 | #ifdef H_T1_Trap_Instruction_0x174 | |
5821 | #ifdef SUN_H_T1_Trap_Instruction_0x174 | |
5822 | SUN_H_T1_Trap_Instruction_0x174 | |
5823 | #else | |
5824 | # ifdef My_T1_Trap_Instruction_0x174 | |
5825 | My_T1_Trap_Instruction_0x174 | |
5826 | # else | |
5827 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x174) | |
5828 | # endif | |
5829 | #endif | |
5830 | #else | |
5831 | NORMAL_TRAP(0x174); | |
5832 | #endif | |
5833 | ||
5834 | .align 32 | |
5835 | T1_Trap_Instruction_0x175: | |
5836 | #ifdef H_T1_Trap_Instruction_0x175 | |
5837 | #ifdef SUN_H_T1_Trap_Instruction_0x175 | |
5838 | SUN_H_T1_Trap_Instruction_0x175 | |
5839 | #else | |
5840 | # ifdef My_T1_Trap_Instruction_0x175 | |
5841 | My_T1_Trap_Instruction_0x175 | |
5842 | # else | |
5843 | CUSTOM_TRAP(H_T1_Trap_Instruction_0x175) | |
5844 | # endif | |
5845 | #endif | |
5846 | #else | |
5847 | NORMAL_TRAP(0x175); | |
5848 | #endif | |
5849 | ||
5850 | ||
5851 | ||
5852 | ! If counter > 0, trap is enabled for n times, decrement counter | |
5853 | ! If counter = 0, trap is disabled, go to BadTrap | |
5854 | ! If counter = -1, trap has taken n times, go to GoodTrap directly | |
5855 | ! If counter <-1, trap is enabled for n times, increment counter | |
5856 | ! TT in %g7, counter in %g2 | |
5857 | .align 0x4000 | |
5858 | TrapCheck: | |
5859 | #ifdef SKIP_TRAPCHECK | |
5860 | done | |
5861 | nop | |
5862 | #else | |
5863 | set trap_enable_data, %g1 | |
5864 | add %g7, %g7, %g4 | |
5865 | ldsh [%g1+%g4], %g2 | |
5866 | cmp %g2, 0 | |
5867 | bl %xcc, CheckGoodTrap | |
5868 | #ifdef NO_TRAPCHECK | |
5869 | nop | |
5870 | #else | |
5871 | mov 0, %o0 | |
5872 | #endif | |
5873 | be %xcc, T0_BadTrap_0x101 | |
5874 | sub %g2, 1, %g2 | |
5875 | ba TrapCheck_end | |
5876 | CheckGoodTrap: | |
5877 | cmp %g2, -1 | |
5878 | be %xcc, T0_GoodTrap_0x100 | |
5879 | add %g2, 1, %g2 | |
5880 | TrapCheck_end: | |
5881 | sth %g2, [%g1+%g4] | |
5882 | done | |
5883 | #endif | |
5884 | ||
5885 | ||
5886 | #include "syscall_handler.s" | |
5887 | .data | |
5888 | ||
5889 | trap_enable_data: | |
5890 | dt0_0: | |
5891 | .half E0_0x00,E0_0x01,E0_0x02,E0_0x03,E0_0x04,E0_0x05,E0_0x06,E0_0x07 | |
5892 | .half E0_0x08,E0_0x09,E0_0x0a,E0_0x0b,E0_0x0c,E0_0x0d,E0_0x0e,E0_0x0f | |
5893 | ||
5894 | .half E0_0x10,E0_0x11,E0_0x12,E0_0x13,E0_0x14,E0_0x15,E0_0x16,E0_0x17 | |
5895 | .half E0_0x18,E0_0x19,E0_0x1a,E0_0x1b,E0_0x1c,E0_0x1d,E0_0x1e,E0_0x1f | |
5896 | ||
5897 | .half E0_0x20,E0_0x21,E0_0x22,E0_0x23,E0_0x24,E0_0x25,E0_0x26,E0_0x27 | |
5898 | .half E0_0x28,E0_0x29,E0_0x2a,E0_0x2b,E0_0x2c,E0_0x2d,E0_0x2e,E0_0x2f | |
5899 | ||
5900 | .half E0_0x30,E0_0x31,E0_0x32,E0_0x33,E0_0x34,E0_0x35,E0_0x36,E0_0x37 | |
5901 | .half E0_0x38,E0_0x39,E0_0x3a,E0_0x3b,E0_0x3c,E0_0x3d,E0_0x3e,E0_0x3f | |
5902 | ||
5903 | dt0_64: | |
5904 | .half E0_0x40,E0_0x41,E0_0x42,E0_0x43,E0_0x44,E0_0x45,E0_0x46,E0_0x47 | |
5905 | .half E0_0x48,E0_0x49,E0_0x4a,E0_0x4b,E0_0x4c,E0_0x4d,E0_0x4e,E0_0x4f | |
5906 | ||
5907 | .half E0_0x50,E0_0x51,E0_0x52,E0_0x53,E0_0x54,E0_0x55,E0_0x56,E0_0x57 | |
5908 | .half E0_0x58,E0_0x59,E0_0x5a,E0_0x5b,E0_0x5c,E0_0x5d,E0_0x5e,E0_0x5f | |
5909 | ||
5910 | .half E0_0x60,E0_0x61,E0_0x62,E0_0x63,E0_0x64,E0_0x65,E0_0x66,E0_0x67 | |
5911 | .half E0_0x68,E0_0x69,E0_0x6a,E0_0x6b,E0_0x6c,E0_0x6d,E0_0x6e,E0_0x6f | |
5912 | ||
5913 | .half E0_0x70,E0_0x71,E0_0x72,E0_0x73,E0_0x74,E0_0x75,E0_0x76,E0_0x77 | |
5914 | .half E0_0x78,E0_0x79,E0_0x7a,E0_0x7b,E0_0x7c,E0_0x7d,E0_0x7e,E0_0x7f | |
5915 | ||
5916 | dt0_128: | |
5917 | .half E0_0x80,E0_0x81,E0_0x82,E0_0x83,E0_0x84,E0_0x85,E0_0x86,E0_0x87 | |
5918 | .half E0_0x88,E0_0x89,E0_0x8a,E0_0x8b,E0_0x8c,E0_0x8d,E0_0x8e,E0_0x8f | |
5919 | ||
5920 | .half E0_0x90,E0_0x91,E0_0x92,E0_0x93,E0_0x94,E0_0x95,E0_0x96,E0_0x97 | |
5921 | .half E0_0x98,E0_0x99,E0_0x9a,E0_0x9b,E0_0x9c,E0_0x9d,E0_0x9e,E0_0x9f | |
5922 | ||
5923 | .half E0_0xa0,E0_0xa1,E0_0xa2,E0_0xa3,E0_0xa4,E0_0xa5,E0_0xa6,E0_0xa7 | |
5924 | .half E0_0xa8,E0_0xa9,E0_0xaa,E0_0xab,E0_0xac,E0_0xad,E0_0xae,E0_0xaf | |
5925 | ||
5926 | .half E0_0xb0,E0_0xb1,E0_0xb2,E0_0xb3,E0_0xb4,E0_0xb5,E0_0xb6,E0_0xb7 | |
5927 | .half E0_0xb8,E0_0xb9,E0_0xba,E0_0xbb,E0_0xbc,E0_0xbd,E0_0xbe,E0_0xbf | |
5928 | ||
5929 | dt0_192: | |
5930 | .half E0_0xc0,E0_0xc1,E0_0xc2,E0_0xc3,E0_0xc4,E0_0xc5,E0_0xc6,E0_0xc7 | |
5931 | .half E0_0xc8,E0_0xc9,E0_0xca,E0_0xcb,E0_0xcc,E0_0xcd,E0_0xce,E0_0xcf | |
5932 | ||
5933 | .half E0_0xd0,E0_0xd1,E0_0xd2,E0_0xd3,E0_0xd4,E0_0xd5,E0_0xd6,E0_0xd7 | |
5934 | .half E0_0xd8,E0_0xd9,E0_0xda,E0_0xdb,E0_0xdc,E0_0xdd,E0_0xde,E0_0xdf | |
5935 | ||
5936 | .half E0_0xe0,E0_0xe1,E0_0xe2,E0_0xe3,E0_0xe4,E0_0xe5,E0_0xe6,E0_0xe7 | |
5937 | .half E0_0xe8,E0_0xe9,E0_0xea,E0_0xeb,E0_0xec,E0_0xed,E0_0xee,E0_0xef | |
5938 | ||
5939 | .half E0_0xf0,E0_0xf1,E0_0xf2,E0_0xf3,E0_0xf4,E0_0xf5,E0_0xf6,E0_0xf7 | |
5940 | .half E0_0xf8,E0_0xf9,E0_0xfa,E0_0xfb,E0_0xfc,E0_0xfd,E0_0xfe,E0_0xff | |
5941 | ||
5942 | dt1_0: | |
5943 | .half E1_0x00,E1_0x01,E1_0x02,E1_0x03,E1_0x04,E1_0x05,E1_0x06,E1_0x07 | |
5944 | .half E1_0x08,E1_0x09,E1_0x0a,E1_0x0b,E1_0x0c,E1_0x0d,E1_0x0e,E1_0x0f | |
5945 | ||
5946 | .half E1_0x10,E1_0x11,E1_0x12,E1_0x13,E1_0x14,E1_0x15,E1_0x16,E1_0x17 | |
5947 | .half E1_0x18,E1_0x19,E1_0x1a,E1_0x1b,E1_0x1c,E1_0x1d,E1_0x1e,E1_0x1f | |
5948 | ||
5949 | .half E1_0x20,E1_0x21,E1_0x22,E1_0x23,E1_0x24,E1_0x25,E1_0x26,E1_0x27 | |
5950 | .half E1_0x28,E1_0x29,E1_0x2a,E1_0x2b,E1_0x2c,E1_0x2d,E1_0x2e,E1_0x2f | |
5951 | ||
5952 | .half E1_0x30,E1_0x31,E1_0x32,E1_0x33,E1_0x34,E1_0x35,E1_0x36,E1_0x37 | |
5953 | .half E1_0x38,E1_0x39,E1_0x3a,E1_0x3b,E1_0x3c,E1_0x3d,E1_0x3e,E1_0x3f | |
5954 | ||
5955 | dt1_64: | |
5956 | .half E1_0x40,E1_0x41,E1_0x42,E1_0x43,E1_0x44,E1_0x45,E1_0x46,E1_0x47 | |
5957 | .half E1_0x48,E1_0x49,E1_0x4a,E1_0x4b,E1_0x4c,E1_0x4d,E1_0x4e,E1_0x4f | |
5958 | ||
5959 | .half E1_0x50,E1_0x51,E1_0x52,E1_0x53,E1_0x54,E1_0x55,E1_0x56,E1_0x57 | |
5960 | .half E1_0x58,E1_0x59,E1_0x5a,E1_0x5b,E1_0x5c,E1_0x5d,E1_0x5e,E1_0x5f | |
5961 | ||
5962 | .half E1_0x60,E1_0x61,E1_0x62,E1_0x63,E1_0x64,E1_0x65,E1_0x66,E1_0x67 | |
5963 | .half E1_0x68,E1_0x69,E1_0x6a,E1_0x6b,E1_0x6c,E1_0x6d,E1_0x6e,E1_0x6f | |
5964 | ||
5965 | .half E1_0x70,E1_0x71,E1_0x72,E1_0x73,E1_0x74,E1_0x75,E1_0x76,E1_0x77 | |
5966 | .half E1_0x78,E1_0x79,E1_0x7a,E1_0x7b,E1_0x7c,E1_0x7d,E1_0x7e,E1_0x7f | |
5967 | ||
5968 | dt1_128: | |
5969 | .half E1_0x80,E1_0x81,E1_0x82,E1_0x83,E1_0x84,E1_0x85,E1_0x86,E1_0x87 | |
5970 | .half E1_0x88,E1_0x89,E1_0x8a,E1_0x8b,E1_0x8c,E1_0x8d,E1_0x8e,E1_0x8f | |
5971 | ||
5972 | .half E1_0x90,E1_0x91,E1_0x92,E1_0x93,E1_0x94,E1_0x95,E1_0x96,E1_0x97 | |
5973 | .half E1_0x98,E1_0x99,E1_0x9a,E1_0x9b,E1_0x9c,E1_0x9d,E1_0x9e,E1_0x9f | |
5974 | ||
5975 | .half E1_0xa0,E1_0xa1,E1_0xa2,E1_0xa3,E1_0xa4,E1_0xa5,E1_0xa6,E1_0xa7 | |
5976 | .half E1_0xa8,E1_0xa9,E1_0xaa,E1_0xab,E1_0xac,E1_0xad,E1_0xae,E1_0xaf | |
5977 | ||
5978 | .half E1_0xb0,E1_0xb1,E1_0xb2,E1_0xb3,E1_0xb4,E1_0xb5,E1_0xb6,E1_0xb7 | |
5979 | .half E1_0xb8,E1_0xb9,E1_0xba,E1_0xbb,E1_0xbc,E1_0xbd,E1_0xbe,E1_0xbf | |
5980 | ||
5981 | dt1_192: | |
5982 | .half E1_0xc0,E1_0xc1,E1_0xc2,E1_0xc3,E1_0xc4,E1_0xc5,E1_0xc6,E1_0xc7 | |
5983 | .half E1_0xc8,E1_0xc9,E1_0xca,E1_0xcb,E1_0xcc,E1_0xcd,E1_0xce,E1_0xcf | |
5984 | ||
5985 | .half E1_0xd0,E1_0xd1,E1_0xd2,E1_0xd3,E1_0xd4,E1_0xd5,E1_0xd6,E1_0xd7 | |
5986 | .half E1_0xd8,E1_0xd9,E1_0xda,E1_0xdb,E1_0xdc,E1_0xdd,E1_0xde,E1_0xdf | |
5987 | ||
5988 | .half E1_0xe0,E1_0xe1,E1_0xe2,E1_0xe3,E1_0xe4,E1_0xe5,E1_0xe6,E1_0xe7 | |
5989 | .half E1_0xe8,E1_0xe9,E1_0xea,E1_0xeb,E1_0xec,E1_0xed,E1_0xee,E1_0xef | |
5990 | ||
5991 | .half E1_0xf0,E1_0xf1,E1_0xf2,E1_0xf3,E1_0xf4,E1_0xf5,E1_0xf6,E1_0xf7 | |
5992 | .half E1_0xf8,E1_0xf9,E1_0xfa,E1_0xfb,E1_0xfc,E1_0xfd,E1_0xfe,E1_0xff | |
5993 | ||
5994 | pthread_mutex_data: | |
5995 | ||
5996 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
5997 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
5998 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
5999 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6000 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6001 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6002 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6003 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6004 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6005 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6006 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6007 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6008 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6009 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6010 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6011 | .byte 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6012 | ||
6013 | pthread_counter_data: | |
6014 | ||
6015 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6016 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6017 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6018 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6019 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6020 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6021 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6022 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6023 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6024 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6025 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6026 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6027 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6028 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6029 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6030 | .half 0,0,0,0, 0,0,0,0, 0,0,0,0, 0,0,0,0 | |
6031 | ||
6032 | .align 512 | |
6033 | pthread_syscall_data: | |
6034 | ||
6035 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6036 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6037 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6038 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6039 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6040 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6041 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6042 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6043 | ||
6044 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6045 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6046 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6047 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6048 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6049 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6050 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6051 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6052 | ||
6053 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6054 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6055 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6056 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6057 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6058 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6059 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6060 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6061 | ||
6062 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6063 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6064 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6065 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6066 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6067 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6068 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6069 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6070 | ||
6071 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6072 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6073 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6074 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6075 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6076 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6077 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6078 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6079 | ||
6080 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6081 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6082 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6083 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6084 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6085 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6086 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6087 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6088 | ||
6089 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6090 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6091 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6092 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6093 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6094 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6095 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6096 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6097 | ||
6098 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6099 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6100 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6101 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6102 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6103 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6104 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6105 | .xword 0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000000 | |
6106 |