/[gxemul]/trunk/src/memory.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/memory.c

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

revision 42 by dpavlin, Mon Oct 8 16:22:32 2007 UTC revision 44 by dpavlin, Mon Oct 8 16:22:56 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: memory.c,v 1.204 2007/06/15 17:02:38 debug Exp $   *  $Id: memory.c,v 1.206 2007/06/19 04:04:02 debug Exp $
29   *   *
30   *  Functions for handling the memory of an emulated machine.   *  Functions for handling the memory of an emulated machine.
31   */   */
# Line 488  void memory_device_remove(struct memory Line 488  void memory_device_remove(struct memory
488    
489  #define MEMORY_RW       userland_memory_rw  #define MEMORY_RW       userland_memory_rw
490  #define MEM_USERLAND  #define MEM_USERLAND
491  #include "memory_rw.c"  #include "cpus/memory_rw.c"
492  #undef MEM_USERLAND  #undef MEM_USERLAND
493  #undef MEMORY_RW  #undef MEMORY_RW
494    
# Line 638  void memory_warn_about_unimplemented_add Line 638  void memory_warn_about_unimplemented_add
638                  debug("} ");                  debug("} ");
639          }          }
640    
641          fatal("paddr=0x%llx >= physical_max; pc=", (long long)paddr);          fatal("paddr=0x%"PRIx64" >= physical_max; pc=", paddr);
642          if (cpu->is_32bit)          if (cpu->is_32bit)
643                  fatal("0x%08"PRIx32, (uint32_t) old_pc);                  fatal("0x%08"PRIx32, (uint32_t) old_pc);
644          else          else

Legend:
Removed from v.42  
changed lines
  Added in v.44

  ViewVC Help
Powered by ViewVC 1.1.26