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

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

revision 24 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_alpha.c,v 1.16 2006/06/16 18:31:25 debug Exp $   *  $Id: cpu_alpha.c,v 1.19 2006/07/20 21:52:59 debug Exp $
29   *   *
30   *  Alpha CPU emulation.   *  Alpha CPU emulation.
31   *   *
# Line 78  int alpha_cpu_new(struct cpu *cpu, struc Line 78  int alpha_cpu_new(struct cpu *cpu, struc
78                  return 0;                  return 0;
79    
80          cpu->memory_rw = alpha_memory_rw;          cpu->memory_rw = alpha_memory_rw;
81          cpu->translate_address = alpha_translate_address;          cpu->run_instr = alpha_run_instr;
82            cpu->translate_v2p = alpha_translate_v2p;
83          cpu->update_translation_table = alpha_update_translation_table;          cpu->update_translation_table = alpha_update_translation_table;
84          cpu->invalidate_translation_caches =          cpu->invalidate_translation_caches =
85              alpha_invalidate_translation_caches;              alpha_invalidate_translation_caches;
# Line 92  int alpha_cpu_new(struct cpu *cpu, struc Line 93  int alpha_cpu_new(struct cpu *cpu, struc
93    
94          cpu->cd.alpha.r[ALPHA_SP] = 0xfffffc000000ff00ULL;          cpu->cd.alpha.r[ALPHA_SP] = 0xfffffc000000ff00ULL;
95    
         alpha_init_64bit_dummy_tables(cpu);  
   
96          return 1;          return 1;
97  }  }
98    
# Line 121  void alpha_cpu_list_available_types(void Line 120  void alpha_cpu_list_available_types(void
120          i = 0;          i = 0;
121          while (tdefs[i].name != NULL) {          while (tdefs[i].name != NULL) {
122                  debug("%s", tdefs[i].name);                  debug("%s", tdefs[i].name);
123                  for (j=16 - strlen(tdefs[i].name); j>0; j--)                  for (j=13 - strlen(tdefs[i].name); j>0; j--)
124                          debug(" ");                          debug(" ");
125                  i++;                  i++;
126                  if ((i % 4) == 0 || tdefs[i].name == NULL)                  if ((i % 4) == 0 || tdefs[i].name == NULL)

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

  ViewVC Help
Powered by ViewVC 1.1.26