Revision c68ea704 linux-user/main.c

b/linux-user/main.c
997 997

  
998 998
/* XXX: currently only used for async signals (see signal.c) */
999 999
CPUState *global_env;
1000
/* used only if single thread */
1001
CPUState *cpu_single_env = NULL;
1002 1000

  
1003 1001
/* used to free thread contexts */
1004 1002
TaskState *first_task_state;
......
1228 1226
        //        ppc_find_by_name("604e", &def);
1229 1227
        //        ppc_find_by_name("604", &def);
1230 1228
        if (def == NULL) {
1231
            cpu_abort(cpu_single_env,
1229
            cpu_abort(env,
1232 1230
                      "Unable to find PowerPC CPU definition\n");
1233 1231
        }
1234
        cpu_ppc_register(cpu_single_env, def);
1232
        cpu_ppc_register(env, def);
1235 1233

  
1236 1234
        for (i = 0; i < 32; i++) {
1237 1235
            if (i != 12 && i != 6 && i != 13)

Also available in: Unified diff