aboutsummaryrefslogtreecommitdiff
path: root/target-arm/op_helper.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2015-05-29 11:28:51 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-05-29 11:28:51 +0100
commit863b6589d738d0b4c8b283297b0ff228f3d3fb14 (patch)
tree8c2a4221b67b5a80fc90e266cace060f600c869b /target-arm/op_helper.c
parent8c6084bf10fe721929ca94cf16acd6687e61d3ec (diff)
downloadqemu-863b6589d738d0b4c8b283297b0ff228f3d3fb14.zip
qemu-863b6589d738d0b4c8b283297b0ff228f3d3fb14.tar.gz
qemu-863b6589d738d0b4c8b283297b0ff228f3d3fb14.tar.bz2
target-arm: Set exception target EL in tlb_fill
Set the exception target EL for MMU faults in tlb_fill. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Diffstat (limited to 'target-arm/op_helper.c')
-rw-r--r--target-arm/op_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c
index c9f5821..9ab7c61 100644
--- a/target-arm/op_helper.c
+++ b/target-arm/op_helper.c
@@ -110,6 +110,7 @@ void tlb_fill(CPUState *cs, target_ulong addr, int is_write, int mmu_idx,
}
env->exception.syndrome = syn;
+ env->exception.target_el = exception_target_el(env);
env->exception.vaddress = addr;
env->exception.fsr = ret;
raise_exception(env, exc);