25 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
26 |
* |
* |
27 |
* |
* |
28 |
* $Id: memory_ppc.c,v 1.22 2005/12/20 18:20:55 debug Exp $ |
* $Id: memory_ppc.c,v 1.23 2006/03/30 19:41:51 debug Exp $ |
29 |
* |
* |
30 |
* Included from cpu_ppc.c. |
* Included from cpu_ppc.c. |
31 |
*/ |
*/ |
279 |
return 0; |
return 0; |
280 |
|
|
281 |
if (!quiet_mode) |
if (!quiet_mode) |
282 |
fatal("[ memory_ppc: exception! vaddr=0x%llx pc=0x%llx " |
fatal("[ memory_ppc: exception! vaddr=0x%"PRIx64" pc=0x%"PRIx64 |
283 |
"instr=%i user=%i wf=%i ]\n", (long long)vaddr, |
" instr=%i user=%i wf=%i ]\n", (uint64_t) vaddr, |
284 |
(long long)cpu->pc, instr, user, writeflag); |
(uint64_t) cpu->pc, instr, user, writeflag); |
285 |
|
|
286 |
if (cpu->cd.ppc.cpu_type.flags & PPC_603) { |
if (cpu->cd.ppc.cpu_type.flags & PPC_603) { |
287 |
cpu->cd.ppc.spr[instr? SPR_IMISS : SPR_DMISS] = vaddr; |
cpu->cd.ppc.spr[instr? SPR_IMISS : SPR_DMISS] = vaddr; |