/[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 17 by dpavlin, Mon Oct 8 16:18:51 2007 UTC revision 18 by dpavlin, Mon Oct 8 16:19:11 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: memory_ppc.c,v 1.3 2005/09/26 00:40:15 debug Exp $   *  $Id: memory_ppc.c,v 1.4 2005/10/27 14:01:13 debug Exp $
29   *   *
30   *  Included from cpu_ppc.c.   *  Included from cpu_ppc.c.
31   */   */
# Line 90  int ppc_translate_address(struct cpu *cp Line 90  int ppc_translate_address(struct cpu *cp
90          if (flags & FLAG_NOEXCEPTIONS)          if (flags & FLAG_NOEXCEPTIONS)
91                  return 0;                  return 0;
92    
93    #if 1
94          /*  TODO: Cause exception.  */          /*  TODO: Cause exception.  */
95          fatal("TODO: exception! sdr1 = 0x%llx\n", (long long)cpu->cd.ppc.sdr1);          fatal("TODO: exception! sdr1 = 0x%llx\n", (long long)cpu->cd.ppc.sdr1);
96          *return_addr = vaddr;          *return_addr = vaddr;
97          return 2;          return 2;
98    #else
99          return 0;          return 0;
100    #endif
101  }  }
102    

Legend:
Removed from v.17  
changed lines
  Added in v.18

  ViewVC Help
Powered by ViewVC 1.1.26