/[qemu]/qemu/target-ppc/translate_init.c
ViewVC logotype

Diff of /qemu/target-ppc/translate_init.c

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

revision 1.1 by bellard, Sat Jul 2 20:59:34 2005 UTC revision 1.2 by bellard, Mon Nov 21 23:32:20 2005 UTC
# Line 1081  CPUPPCState *cpu_ppc_init(void) Line 1081  CPUPPCState *cpu_ppc_init(void)
1081  {  {
1082      CPUPPCState *env;      CPUPPCState *env;
1083    
     cpu_exec_init();  
   
1084      env = qemu_mallocz(sizeof(CPUPPCState));      env = qemu_mallocz(sizeof(CPUPPCState));
1085      if (!env)      if (!env)
1086          return NULL;          return NULL;
1087        cpu_exec_init(env);
1088      tlb_flush(env, 1);      tlb_flush(env, 1);
1089  #if defined (DO_SINGLE_STEP) && 0  #if defined (DO_SINGLE_STEP) && 0
1090      /* Single step trace mode */      /* Single step trace mode */
# Line 1101  CPUPPCState *cpu_ppc_init(void) Line 1100  CPUPPCState *cpu_ppc_init(void)
1100  #endif  #endif
1101      do_compute_hflags(env);      do_compute_hflags(env);
1102      env->reserve = -1;      env->reserve = -1;
     cpu_single_env = env;  
1103      return env;      return env;
1104  }  }
1105    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26