[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] ARM: BKPT instructions should raise prefetch aborts with IF
From: |
Alex Zuepke |
Subject: |
[Qemu-devel] ARM: BKPT instructions should raise prefetch aborts with IFSR type 00010 |
Date: |
Fri, 25 Mar 2011 11:54:23 +0100 |
User-agent: |
Thunderbird 2.0.0.24 (X11/20101027) |
Hi,
while digging through some problems with BKPT exceptions on ARM, I
discovered that QEMU does not update IFSR on prefetch aborts. This
should be done since ARMv6 according to ARM docs. Please include.
Best Regards,
Alex
--
Alexander Zuepke address@hidden
SYSGO AG ~ Am Pfaffenstein 14 ~ 55270 Klein-Winternheim ~ Germany
target-arm: BKPT instructions should raise prefetch aborts with IFSR type 00010
diff against qemu 0.14.0
Signed-off-by: Alex Zuepke <address@hidden>
--- qemu-0.14.0.orig/target-arm/translate.c 2011-02-16 15:44:05.000000000
+0100
+++ qemu-0.14.0/target-arm/translate.c 2011-03-25 11:22:03.000000000 +0100
@@ -6389,6 +6389,7 @@
goto illegal_op;
}
/* bkpt */
+ env->cp15.c5_insn = 2;
gen_exception_insn(s, 4, EXCP_BKPT);
break;
case 0x8: /* signed multiply */
@@ -8930,6 +8931,7 @@
break;
case 0xe: /* bkpt */
+ env->cp15.c5_insn = 2;
gen_exception_insn(s, 2, EXCP_BKPT);
break;
- [Qemu-devel] ARM: BKPT instructions should raise prefetch aborts with IFSR type 00010,
Alex Zuepke <=