diff options
author | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-30 15:15:18 +0000 |
---|---|---|
committer | j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-09-30 15:15:18 +0000 |
commit | 56ba31ff0bde6ccfe37f19e823381ec142bf0f80 (patch) | |
tree | fcaa67317ebc9c4cb48120a7ead648d2e4771d01 | |
parent | 068abdc8a57023eeafe1025b964a50f8a39929b4 (diff) |
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
-rw-r--r-- | darwin-user/main.c | 3 | ||||
-rw-r--r-- | linux-user/main.c | 3 |
2 files changed, 6 insertions, 0 deletions
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; |