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>
This commit is contained in:
Alex Zuepke 2011-06-03 18:42:17 +02:00 committed by Aurelien Jarno
parent 568fffe353
commit 81c05daf08
1 changed files with 1 additions and 0 deletions

View File

@ -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;