25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: cpu_alpha.c,v 1.16 2006/06/16 18:31:25 debug Exp $ |
* $Id: cpu_alpha.c,v 1.19 2006/07/20 21:52:59 debug Exp $ |
29 |
* |
* |
30 |
* Alpha CPU emulation. |
* Alpha CPU emulation. |
31 |
* |
* |
78 |
return 0; |
return 0; |
79 |
|
|
80 |
cpu->memory_rw = alpha_memory_rw; |
cpu->memory_rw = alpha_memory_rw; |
81 |
cpu->translate_address = alpha_translate_address; |
cpu->run_instr = alpha_run_instr; |
82 |
|
cpu->translate_v2p = alpha_translate_v2p; |
83 |
cpu->update_translation_table = alpha_update_translation_table; |
cpu->update_translation_table = alpha_update_translation_table; |
84 |
cpu->invalidate_translation_caches = |
cpu->invalidate_translation_caches = |
85 |
alpha_invalidate_translation_caches; |
alpha_invalidate_translation_caches; |
93 |
|
|
94 |
cpu->cd.alpha.r[ALPHA_SP] = 0xfffffc000000ff00ULL; |
cpu->cd.alpha.r[ALPHA_SP] = 0xfffffc000000ff00ULL; |
95 |
|
|
|
alpha_init_64bit_dummy_tables(cpu); |
|
|
|
|
96 |
return 1; |
return 1; |
97 |
} |
} |
98 |
|
|
120 |
i = 0; |
i = 0; |
121 |
while (tdefs[i].name != NULL) { |
while (tdefs[i].name != NULL) { |
122 |
debug("%s", tdefs[i].name); |
debug("%s", tdefs[i].name); |
123 |
for (j=16 - strlen(tdefs[i].name); j>0; j--) |
for (j=13 - strlen(tdefs[i].name); j>0; j--) |
124 |
debug(" "); |
debug(" "); |
125 |
i++; |
i++; |
126 |
if ((i % 4) == 0 || tdefs[i].name == NULL) |
if ((i % 4) == 0 || tdefs[i].name == NULL) |