Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / analyzers / trapcount / tt_strings.h
CommitLineData
920dae64
AT
1/*
2* ========== Copyright Header Begin ==========================================
3*
4* OpenSPARC T2 Processor File: tt_strings.h
5* Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.
6* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES.
7*
8* The above named program is free software; you can redistribute it and/or
9* modify it under the terms of the GNU General Public
10* License version 2 as published by the Free Software Foundation.
11*
12* The above named program is distributed in the hope that it will be
13* useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
14* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15* General Public License for more details.
16*
17* You should have received a copy of the GNU General Public
18* License along with this work; if not, write to the Free Software
19* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
20*
21* ========== Copyright Header End ============================================
22*/
23#ifndef _TRAPTYPESTRINGS_H
24#define _TRAPTYPESTRINGS_H
25
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31//
32// Cheetah, UltraSPARC-III, Trap Types.
33// ------------------------------------
34//
35const char * tt_names [512] = {
36 "tt_00", /* 0 */
37 "por", /* 1 */
38 "wdr", /* 2 */
39 "eir", /* 3 */
40 "sir", /* 4 */
41 "RED", /* 5 */
42 "tt_06", /* 6 */
43 "tt_07", /* 7 */
44 "imiss", /* 8 */
45 "tt_09", /* 9 */
46 "imerr", /* 10 */
47 "tt_0b", /* 11 */
48 "tt_0c", /* 12 */
49 "tt_0d", /* 13 */
50 "tt_0e", /* 14 */
51 "tt_0f", /* 15 */
52 "illinst", /* 16, 0x010 */
53 "privinst", /* 17 */
54 "tt_12", /* 18 */
55 "tt_13", /* 19 */
56 "tt_14", /* 20 */
57 "tt_15", /* 21 */
58 "tt_16", /* 22 */
59 "tt_17", /* 23 */
60 "tt_18", /* 24 */
61 "tt_19", /* 25 */
62 "tt_1a", /* 26 */
63 "tt_1b", /* 27 */
64 "tt_1c", /* 28 */
65 "tt_1d", /* 29 */
66 "tt_1e", /* 30 */
67 "tt_1f", /* 31 */
68 "fp_dis", /* 32, 0x020 */
69 "fp_ieee", /* 33 */
70 "fp_other", /* 34 */
71 "tag_ovfl", /* 35 */
72 "clean_win", /* 36 */
73 "clean_win", /* 37 */
74 "clean_win", /* 38 */
75 "clean_win-", /* 39 */
76 "divzero", /* 40 */
77 "tt_29", /* 41 */
78 "tt_2a", /* 42 */
79 "tt_2b", /* 43 */
80 "tt_2c", /* 44 */
81 "tt_2d", /* 45 */
82 "tt_2e", /* 46 */
83 "tt_2f", /* 47 */
84 "dmiss", /* 48, 0x030 */
85 "tt_31", /* 49 */
86 "dmerr", /* 50 */
87 "tt_33", /* 51 */
88 "dalign", /* 52 */
89 "dalign", /* 53 */
90 "dalign", /* 54 */
91 "privop", /* 55 */
92 "tt_38", /* 56 */
93 "tt_39", /* 57 */
94 "tt_3a", /* 58 */
95 "tt_3b", /* 59 */
96 "tt_3c", /* 60 */
97 "tt_3d", /* 61 */
98 "tt_3e", /* 62 */
99 "tt_3f", /* 63 */
100 "tt_40", /* 64, 0x040 */
101 "sftint1", /* 65 */
102 "sftint2", /* 66 */
103 "sftint3", /* 67 */
104 "sftint4", /* 68 */
105 "sftint5", /* 69 */
106 "sftint6", /* 70 */
107 "sftint7", /* 71 */
108 "sftint8", /* 72 */
109 "sftint9", /* 73 */
110 "sftint10", /* 74 */
111 "sftint11", /* 75 */
112 "sftint12", /* 76 */
113 "sftint13", /* 77 */
114 "sftint14", /* 78 */
115 "sftint15", /* 79 */
116 "tt_50", /* 80, 0x050 */
117 "tt_51", /* 81 */
118 "tt_52", /* 82 */
119 "tt_53", /* 83 */
120 "tt_54", /* 84 */
121 "tt_55", /* 85 */
122 "tt_56", /* 86 */
123 "tt_57", /* 87 */
124 "tt_58", /* 88 */
125 "tt_59", /* 89 */
126 "tt_5a", /* 90 */
127 "tt_5b", /* 91 */
128 "tt_5c", /* 92 */
129 "tt_5d", /* 93 */
130 "tt_5e", /* 94 */
131 "tt_5f", /* 95 */
132 "mondo", /* 96, 0x060 */
133 "pa_wpt", /* 97 */
134 "va_wpt", /* 98 */
135 "cecc", /* 99 */
136 "itlbmiss", /* 100 */
137 "itlbmiss", /* 101 */
138 "itlbmiss", /* 102 */
139 "itlbm", /* 103 */
140 "dtlbmiss", /* 104 */
141 "dtlbmiss", /* 105 */
142 "dtlbmiss", /* 106 */
143 "dtlbmiss", /* 107 */
144 "dtlberr", /* 108 */
145 "dtlberr", /* 109 */
146 "dtlberr", /* 110 */
147 "dtlberr", /* 111 */
148 "fcecc", /* 112, 0x070 */
149 "tt_71", /* 113 */
150 "tt_72", /* 114 */
151 "tt_73", /* 115 */
152 "tt_74", /* 116 */
153 "tt_75", /* 117 */
154 "tt_76", /* 118 */
155 "tt_77", /* 119 */
156 "tt_78", /* 120 */
157 "tt_79", /* 121 */
158 "tt_7a", /* 122 */
159 "tt_7b", /* 123 */
160 "tt_7c", /* 124 */
161 "tt_7d", /* 125 */
162 "tt_7e", /* 126 */
163 "tt_7f", /* 127 */
164 "spill", /* 128, 0x080 */
165 "spill", /* 129 */
166 "spill", /* 130 */
167 "spill", /* 131 */
168 "spill", /* 132 */
169 "spill", /* 133 */
170 "spill", /* 134 */
171 "spill", /* 135 */
172 "spill", /* 136 */
173 "spill", /* 137 */
174 "spill", /* 138 */
175 "spill", /* 139 */
176 "spill", /* 140 */
177 "spill", /* 141 */
178 "spill", /* 142 */
179 "spill", /* 143 */
180 "spill", /* 144, 0x090 */
181 "spill", /* 145 */
182 "spill", /* 146 */
183 "spill", /* 147 */
184 "spill", /* 148 */
185 "spill", /* 149 */
186 "spill", /* 150 */
187 "spill", /* 151 */
188 "spill", /* 152 */
189 "spill", /* 153 */
190 "spill", /* 154 */
191 "spill", /* 155 */
192 "spill", /* 156 */
193 "spill", /* 157 */
194 "spill", /* 158 */
195 "spill", /* 159 */
196 "spill_oth", /* 160, 0x0a0 */
197 "spill_oth", /* 161 */
198 "spill_oth", /* 162 */
199 "spill_oth", /* 163 */
200 "spill_oth", /* 164 */
201 "spill_oth", /* 165 */
202 "spill_oth", /* 166 */
203 "spill_oth", /* 167 */
204 "spill_oth", /* 168 */
205 "spill_oth", /* 169 */
206 "spill_oth", /* 170 */
207 "spill_oth", /* 171 */
208 "spill_oth", /* 172 */
209 "spill_oth", /* 173 */
210 "spill_oth", /* 174 */
211 "spill_oth", /* 175 */
212 "spill_oth", /* 176, 0x0b0 */
213 "spill_oth", /* 177 */
214 "spill_oth", /* 178 */
215 "spill_oth", /* 179 */
216 "spill_oth", /* 180 */
217 "spill_oth", /* 181 */
218 "spill_oth", /* 182 */
219 "spill_oth", /* 183 */
220 "spill_oth", /* 184 */
221 "spill_oth", /* 185 */
222 "spill_oth", /* 186 */
223 "spill_oth", /* 187 */
224 "spill_oth", /* 188 */
225 "spill_oth", /* 189 */
226 "spill_oth", /* 190 */
227 "spill_oth", /* 191 */
228 "fill", /* 192, 0x0c0 */
229 "fill", /* 193 */
230 "fill", /* 194 */
231 "fill", /* 195 */
232 "fill", /* 196 */
233 "fill", /* 197 */
234 "fill", /* 198 */
235 "fill", /* 199 */
236 "fill", /* 200 */
237 "fill", /* 201 */
238 "fill", /* 202 */
239 "fill", /* 203 */
240 "fill", /* 204 */
241 "fill", /* 205 */
242 "fill", /* 206 */
243 "fill", /* 207 */
244 "fill", /* 208, 0x0d0 */
245 "fill", /* 209 */
246 "fill", /* 210 */
247 "fill", /* 211 */
248 "fill", /* 212 */
249 "fill", /* 213 */
250 "fill", /* 214 */
251 "fill", /* 215 */
252 "fill", /* 216 */
253 "fill", /* 217 */
254 "fill", /* 218 */
255 "fill", /* 219 */
256 "fill", /* 220 */
257 "fill", /* 221 */
258 "fill", /* 222 */
259 "fill", /* 223 */
260 "fill_oth", /* 224, 0x0e0 */
261 "fill_oth", /* 225 */
262 "fill_oth", /* 226 */
263 "fill_oth", /* 227 */
264 "fill_oth", /* 228 */
265 "fill_oth", /* 229 */
266 "fill_oth", /* 230 */
267 "fill_oth", /* 231 */
268 "fill_oth", /* 232 */
269 "fill_oth", /* 233 */
270 "fill_oth", /* 234 */
271 "fill_oth", /* 235 */
272 "fill_oth", /* 236 */
273 "fill_oth", /* 237 */
274 "fill_oth", /* 238 */
275 "fill_oth", /* 239 */
276 "fill_oth", /* 240, 0x0f0 */
277 "fill_oth", /* 241 */
278 "fill_oth", /* 242 */
279 "fill_oth", /* 243 */
280 "fill_oth", /* 244 */
281 "fill_oth", /* 245 */
282 "fill_oth", /* 246 */
283 "fill_oth", /* 247 */
284 "fill_oth", /* 248 */
285 "fill_oth", /* 249 */
286 "fill_oth", /* 250 */
287 "fill_oth", /* 251 */
288 "fill_oth", /* 252 */
289 "fill_oth", /* 253 */
290 "fill_oth", /* 254 */
291 "fill_oth", /* 255 */
292
293
294 "tcc_0", /* 256, 0x100 */
295 "tcc_bkpt",
296 "tcc_div0",
297 "tcc_3",
298 "tcc_4",
299 "tcc_5",
300 "tcc_6",
301 "tcc_7",
302 "syscall32", /** 0x108 **/
303 "tcc_9",
304 "tcc_10",
305 "tcc_11",
306 "tcc_12",
307 "tcc_13",
308 "tcc_14",
309 "tcc_15",
310 "tcc_16", /* 0x110 */
311 "tcc_17",
312 "tcc_18",
313 "tcc_19",
314 "tcc_20",
315 "tcc_21",
316 "tcc_22",
317 "tcc_23",
318 "tcc_24",
319 "tcc_25",
320 "tcc_26",
321 "tcc_27",
322 "tcc_28",
323 "tcc_29",
324 "tcc_30",
325 "tcc_31",
326 "tcc_32", /* 0x120 */
327 "tcc_33",
328 "tcc_34",
329 "tcc_35",
330 "get_timestamp",/** 0x124 **/
331 "get_lwptime", /** 0x125 **/
332 "self_xcall", /** 0x126 **/
333 "gethrestime", /** 0x127 **/
334 "tcc_40",
335 "tcc_41",
336 "tcc_42",
337 "tcc_43",
338 "tcc_44",
339 "tcc_45",
340 "tcc_46",
341 "tcc_47",
342 "tcc_48", /* 0x130 */
343 "tcc_49",
344 "tcc_50",
345 "tcc_51",
346 "tcc_52",
347 "tcc_53",
348 "tcc_54",
349 "tcc_55",
350 "tcc_56",
351 "tcc_57",
352 "tcc_58",
353 "tcc_59",
354 "tcc_60",
355 "tcc_61",
356 "tcc_62",
357 "tcc_63",
358 "syscall64", /* 0x140 */
359 "tcc_65",
360 "tcc_66",
361 "tcc_67",
362 "tcc_68",
363 "tcc_69",
364 "tcc_70",
365 "tcc_71",
366 "tcc_72",
367 "tcc_73",
368 "tcc_74",
369 "tcc_75",
370 "tcc_76",
371 "tcc_77",
372 "tcc_78",
373 "tcc_79",
374 "tcc_80", /* 0x150 */
375 "tcc_81",
376 "tcc_82",
377 "tcc_83",
378 "tcc_84",
379 "tcc_85",
380 "tcc_86",
381 "tcc_87",
382 "tcc_88",
383 "tcc_89",
384 "tcc_90",
385 "tcc_91",
386 "tcc_92",
387 "tcc_93",
388 "tcc_94",
389 "tcc_95",
390 "tcc_96", /* 0x160 */
391 "tcc_97",
392 "tcc_98",
393 "tcc_99",
394 "tcc_100",
395 "tcc_101",
396 "tcc_102",
397 "tcc_103",
398 "tcc_104",
399 "tcc_105",
400 "tcc_106",
401 "tcc_107",
402 "tcc_108",
403 "tcc_109",
404 "tcc_110",
405 "tcc_111",
406 "tcc_112", /* 0x170 */
407 "tcc_113",
408 "tcc_114",
409 "tcc_115",
410 "tcc_116",
411 "tcc_117",
412 "tcc_118",
413 "tcc_119",
414 "tcc_120",
415 "tcc_121",
416 "tcc_122",
417 "tcc_123",
418 "tcc_124",
419 "tcc_kmdb", /** 0x17d **/
420 "tcc_kmdb_bp", /** 0x17e **/
421 "tcc_obp_bp", /** 0x17f **/
422 "tcc_128", /* 0x180 */
423 "tcc_129",
424 "tcc_130",
425 "tcc_131",
426 "tcc_132",
427 "tcc_133",
428 "tcc_134",
429 "tcc_135",
430 "tcc_136",
431 "tcc_137",
432 "tcc_138",
433 "tcc_139",
434 "tcc_140",
435 "tcc_141",
436 "tcc_142",
437 "tcc_143",
438 "tcc_144", /* 0x190 */
439 "tcc_145",
440 "tcc_146",
441 "tcc_147",
442 "tcc_148",
443 "tcc_149",
444 "tcc_150",
445 "tcc_151",
446 "tcc_152",
447 "tcc_153",
448 "tcc_154",
449 "tcc_155",
450 "tcc_156",
451 "tcc_157",
452 "tcc_158",
453 "tcc_159",
454 "tcc_160", /* 0x1a0 */
455 "tcc_161",
456 "tcc_162",
457 "tcc_163",
458 "tcc_164",
459 "tcc_165",
460 "tcc_166",
461 "tcc_167",
462 "tcc_168",
463 "tcc_169",
464 "tcc_170",
465 "tcc_171",
466 "tcc_172",
467 "tcc_173",
468 "tcc_174",
469 "tcc_175",
470 "tcc_176", /* 0x1b0 */
471 "tcc_177",
472 "tcc_178",
473 "tcc_179",
474 "tcc_180",
475 "tcc_181",
476 "tcc_182",
477 "tcc_183",
478 "tcc_184",
479 "tcc_185",
480 "tcc_186",
481 "tcc_187",
482 "tcc_188",
483 "tcc_189",
484 "tcc_190",
485 "tcc_191",
486 "tcc_192", /* 0x1c0 */
487 "tcc_193",
488 "tcc_194",
489 "tcc_195",
490 "tcc_196",
491 "tcc_197",
492 "tcc_198",
493 "tcc_199",
494 "tcc_200",
495 "tcc_201",
496 "tcc_202",
497 "tcc_203",
498 "tcc_204",
499 "tcc_205",
500 "tcc_206",
501 "tcc_207",
502 "tcc_208", /* 0x1d0 */
503 "tcc_209",
504 "tcc_210",
505 "tcc_211",
506 "tcc_212",
507 "tcc_213",
508 "tcc_214",
509 "tcc_215",
510 "tcc_216",
511 "tcc_217",
512 "tcc_218",
513 "tcc_219",
514 "tcc_220",
515 "tcc_221",
516 "tcc_222",
517 "tcc_223",
518 "tcc_224", /* 0x1e0 */
519 "tcc_225",
520 "tcc_226",
521 "tcc_227",
522 "tcc_228",
523 "tcc_229",
524 "tcc_230",
525 "tcc_231",
526 "tcc_232",
527 "tcc_233",
528 "tcc_234",
529 "tcc_235",
530 "tcc_236",
531 "tcc_237",
532 "tcc_238",
533 "tcc_239",
534 "tcc_240", /* 0x1f0 */
535 "tcc_241",
536 "tcc_242",
537 "tcc_243",
538 "tcc_244",
539 "tcc_245",
540 "tcc_246",
541 "tcc_247",
542 "tcc_248",
543 "tcc_249",
544 "tcc_250",
545 "tcc_251",
546 "tcc_252",
547 "tcc_253",
548 "tcc_254",
549 "tcc_255",
550};
551
552
553
554#ifdef __cplusplus
555}
556#endif
557
558#endif /* _TRAPTYPESTRINGS_H */