Revision 173d6cfe target-ppc/translate_init.c

b/target-ppc/translate_init.c
1081 1081
{
1082 1082
    CPUPPCState *env;
1083 1083

  
1084
    cpu_exec_init();
1085

  
1086 1084
    env = qemu_mallocz(sizeof(CPUPPCState));
1087 1085
    if (!env)
1088 1086
        return NULL;
1087
    cpu_exec_init(env);
1089 1088
    tlb_flush(env, 1);
1090 1089
#if defined (DO_SINGLE_STEP) && 0
1091 1090
    /* Single step trace mode */
......
1101 1100
#endif
1102 1101
    do_compute_hflags(env);
1103 1102
    env->reserve = -1;
1104
    cpu_single_env = env;
1105 1103
    return env;
1106 1104
}
1107 1105

  

Also available in: Unified diff