/[gxemul]/trunk/src/cpus/memory_ppc.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/cpus/memory_ppc.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 23 by dpavlin, Mon Oct 8 16:19:37 2007 UTC revision 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC
# Line 25  Line 25 
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   */   */
# Line 279  int ppc_translate_address(struct cpu *cp Line 279  int ppc_translate_address(struct cpu *cp
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;

Legend:
Removed from v.23  
changed lines
  Added in v.24

  ViewVC Help
Powered by ViewVC 1.1.26