summaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorAlex Zuepke <azuepke@sysgo.com>2011-06-03 18:42:17 +0200
committerAurelien Jarno <aurelien@aurel32.net>2011-06-03 18:42:17 +0200
commit495bc8360c7cc180812c70739c59beb0689a95f4 (patch)
tree117c21c68ec93935fe6b509a9f72b68870858632 /target-arm
parentc6b9819116a9757853dfc7d62e3c0a9782151e79 (diff)
downloadqemu-495bc8360c7cc180812c70739c59beb0689a95f4.tar.gz
qemu-495bc8360c7cc180812c70739c59beb0689a95f4.tar.bz2
qemu-495bc8360c7cc180812c70739c59beb0689a95f4.zip
target-arm: BKPT instructions should raise prefetch aborts with IFSR type 00010
Signed-off-by: Alex Zuepke <azuepke@sysgo.com> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index 1cc492d8a3..12084167d6 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -848,6 +848,7 @@ void do_interrupt(CPUARMState *env)
return;
}
}
+ env->cp15.c5_insn = 2;
/* Fall through to prefetch abort. */
case EXCP_PREFETCH_ABORT:
new_mode = ARM_CPU_MODE_ABT;