/[dynamips]/trunk/ppc32.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/ppc32.c

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

upstream/dynamips-0.2.7-RC2/ppc32.c revision 8 by dpavlin, Sat Oct 6 16:24:54 2007 UTC upstream/dynamips-0.2.8-RC1/ppc32.c revision 11 by dpavlin, Sat Oct 6 16:33:40 2007 UTC
# Line 42  int ppc32_reset(cpu_ppc_t *cpu) Line 42  int ppc32_reset(cpu_ppc_t *cpu)
42  /* Initialize a PowerPC processor */  /* Initialize a PowerPC processor */
43  int ppc32_init(cpu_ppc_t *cpu)  int ppc32_init(cpu_ppc_t *cpu)
44  {  {
45       /* Initialize JIT operations */
46       jit_op_init_cpu(cpu->gen);
47    
48     /* Initialize idle timer */     /* Initialize idle timer */
49     cpu->gen->idle_max = 1500;     cpu->gen->idle_max = 1500;
50     cpu->gen->idle_sleep_time = 30000;     cpu->gen->idle_sleep_time = 30000;
# Line 67  int ppc32_init(cpu_ppc_t *cpu) Line 70  int ppc32_init(cpu_ppc_t *cpu)
70     cpu->gen->set_idle_pc = (void *)ppc32_set_idle_pc;     cpu->gen->set_idle_pc = (void *)ppc32_set_idle_pc;
71     cpu->gen->get_idling_pc = (void *)ppc32_get_idling_pc;     cpu->gen->get_idling_pc = (void *)ppc32_get_idling_pc;
72    
73       /* zzz */
74       memset(cpu->vtlb,0xFF,sizeof(cpu->vtlb));
75    
76     /* Set the startup parameters */     /* Set the startup parameters */
77     ppc32_reset(cpu);     ppc32_reset(cpu);
78     return(0);     return(0);

Legend:
Removed from v.8  
changed lines
  Added in v.11

  ViewVC Help
Powered by ViewVC 1.1.26