997 |
|
|
998 |
/* XXX: currently only used for async signals (see signal.c) */ |
/* XXX: currently only used for async signals (see signal.c) */ |
999 |
CPUState *global_env; |
CPUState *global_env; |
|
/* used only if single thread */ |
|
|
CPUState *cpu_single_env = NULL; |
|
1000 |
|
|
1001 |
/* used to free thread contexts */ |
/* used to free thread contexts */ |
1002 |
TaskState *first_task_state; |
TaskState *first_task_state; |
1226 |
// ppc_find_by_name("604e", &def); |
// ppc_find_by_name("604e", &def); |
1227 |
// ppc_find_by_name("604", &def); |
// ppc_find_by_name("604", &def); |
1228 |
if (def == NULL) { |
if (def == NULL) { |
1229 |
cpu_abort(cpu_single_env, |
cpu_abort(env, |
1230 |
"Unable to find PowerPC CPU definition\n"); |
"Unable to find PowerPC CPU definition\n"); |
1231 |
} |
} |
1232 |
cpu_ppc_register(cpu_single_env, def); |
cpu_ppc_register(env, def); |
1233 |
|
|
1234 |
for (i = 0; i < 32; i++) { |
for (i = 0; i < 32; i++) { |
1235 |
if (i != 12 && i != 6 && i != 13) |
if (i != 12 && i != 6 && i != 13) |