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

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

revision 27 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 28 by dpavlin, Mon Oct 8 16:20:26 2007 UTC
# Line 25  Line 25 
25   *  SUCH DAMAGE.   *  SUCH DAMAGE.
26   *   *
27   *   *
28   *  $Id: cpu_i960.c,v 1.9 2006/06/16 18:31:25 debug Exp $   *  $Id: cpu_i960.c,v 1.11 2006/07/20 21:52:59 debug Exp $
29   *   *
30   *  Intel i960 CPU emulation.   *  Intel i960 CPU emulation.
31   */   */
# Line 60  int i960_cpu_new(struct cpu *cpu, struct Line 60  int i960_cpu_new(struct cpu *cpu, struct
60          if (strcasecmp(cpu_type_name, "i960") != 0)          if (strcasecmp(cpu_type_name, "i960") != 0)
61                  return 0;                  return 0;
62    
63            cpu->run_instr = i960_run_instr;
64          cpu->memory_rw = i960_memory_rw;          cpu->memory_rw = i960_memory_rw;
65          cpu->update_translation_table = i960_update_translation_table;          cpu->update_translation_table = i960_update_translation_table;
66          cpu->invalidate_translation_caches =          cpu->invalidate_translation_caches =
# Line 119  void i960_cpu_register_dump(struct cpu * Line 120  void i960_cpu_register_dump(struct cpu *
120                  symbol = get_symbol_name(&cpu->machine->symbol_context,                  symbol = get_symbol_name(&cpu->machine->symbol_context,
121                      cpu->pc, &offset);                      cpu->pc, &offset);
122    
123                  debug("cpu%i: pc  = 0x%08x", x, (int)cpu->pc);                  debug("cpu%i: pc  = 0x%08"PRIx32, x, (uint32_t)cpu->pc);
124                  debug("  <%s>\n", symbol != NULL? symbol : " no symbol ");                  debug("  <%s>\n", symbol != NULL? symbol : " no symbol ");
125          }          }
126  }  }

Legend:
Removed from v.27  
changed lines
  Added in v.28

  ViewVC Help
Powered by ViewVC 1.1.26