aboutsummaryrefslogtreecommitdiff
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
commit81c05daf08d1d5033771f7acaef5f19840bf9efa (patch)
tree117c21c68ec93935fe6b509a9f72b68870858632
parent568fffe3537c6e98ba853a0769eb19954abc5f86 (diff)
downloadqemu-81c05daf08d1d5033771f7acaef5f19840bf9efa.zip
qemu-81c05daf08d1d5033771f7acaef5f19840bf9efa.tar.gz
qemu-81c05daf08d1d5033771f7acaef5f19840bf9efa.tar.bz2
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>
-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 1cc492d..1208416 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;