]> Git Repo - qemu.git/commitdiff
Fix handling of ADES exceptions.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 6 Apr 2007 19:31:06 +0000 (19:31 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 6 Apr 2007 19:31:06 +0000 (19:31 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2623 c046a42c-6fe2-441c-8c8c-71466251a162

target-mips/helper.c

index 0cda1ef5472bfd2ea6108c0a4a28579972f22c91..d48c32b221376bd5f782f859e2f00a7f8b0ba924 100644 (file)
@@ -339,9 +339,11 @@ void do_interrupt (CPUState *env)
         /* XXX: TODO: manage defered watch exceptions */
         goto set_EPC;
     case EXCP_AdEL:
-    case EXCP_AdES:
         cause = 4;
         goto set_EPC;
+    case EXCP_AdES:
+        cause = 5;
+        goto set_EPC;
     case EXCP_TLBL:
         cause = 2;
         if (env->error_code == 1 && !(env->CP0_Status & (1 << CP0St_EXL)))
This page took 0.02393 seconds and 4 git commands to generate.