printf("syscall returned 0x%08x (%d)\n", ret, ret);
#endif
break;
+ case EXCP_INTERRUPT:
+ /* just indicate that signals should be handled asap */
+ break;
default:
cpu_abort(env, "Unknown exception 0x%d. Aborting\n", trapnr);
break;
"Unable to find PowerPC CPU definition\n");
}
cpu_ppc_register(env, def);
-
+ cpu_ppc_reset(env);
for (i = 0; i < 32; i++) {
if (i != 12 && i != 6 && i != 13)
env->msr[i] = (regs->msr >> i) & 1;
/* Choose and initialise CPU */
if (cpu_model == NULL)
+#if defined(TARGET_MIPSN32) || defined(TARGET_MIPS64)
+ cpu_model = "20Kc";
+#else
cpu_model = "24Kf";
+#endif
mips_find_by_name(cpu_model, &def);
if (def == NULL)
cpu_abort(env, "Unable to find MIPS CPU definition\n");