Fix missing case in the new PowerPC exception model.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3294 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
j_mayer 2007-09-30 15:15:18 +00:00
parent 068abdc8a5
commit 56ba31ff0b
2 changed files with 6 additions and 0 deletions

View File

@ -529,6 +529,9 @@ void cpu_loop(CPUPPCState *env)
/* Return value */
env->gpr[3] = ret;
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;

View File

@ -1127,6 +1127,9 @@ void cpu_loop(CPUPPCState *env)
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;