]> git.proxmox.com Git - qemu.git/commitdiff
Fix missing case in the new PowerPC exception model.
authorj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 30 Sep 2007 15:15:18 +0000 (15:15 +0000)
committerj_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 30 Sep 2007 15:15:18 +0000 (15:15 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3294 c046a42c-6fe2-441c-8c8c-71466251a162

darwin-user/main.c
linux-user/main.c

index 45495ed458d469428129336b5533d2f96fad4a27..d0de491e0b80c4ee1ddd74175482e5dbf0c0d98b 100644 (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;
index 0b6fb977bc4ff711ec9683ff589c9be267997bf5..af99d0455af0dd62db7c3f43e03a8c7bca49f26a 100644 (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;