From 56ba31ff0bde6ccfe37f19e823381ec142bf0f80 Mon Sep 17 00:00:00 2001 From: j_mayer Date: Sun, 30 Sep 2007 15:15:18 +0000 Subject: [PATCH] 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 --- darwin-user/main.c | 3 +++ linux-user/main.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/darwin-user/main.c b/darwin-user/main.c index 45495ed458..d0de491e0b 100644 --- a/darwin-user/main.c +++ b/darwin-user/main.c @@ -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; diff --git a/linux-user/main.c b/linux-user/main.c index 0b6fb977bc..af99d0455a 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -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;