diff options
| author | Peter Maydell | 2015-05-29 12:28:51 +0200 |
|---|---|---|
| committer | Peter Maydell | 2015-05-29 12:28:51 +0200 |
| commit | 863b6589d738d0b4c8b283297b0ff228f3d3fb14 (patch) | |
| tree | 8c2a4221b67b5a80fc90e266cace060f600c869b /target-arm | |
| parent | target-arm: Move setting of exception info into tlb_fill (diff) | |
| download | qemu-863b6589d738d0b4c8b283297b0ff228f3d3fb14.tar.gz qemu-863b6589d738d0b4c8b283297b0ff228f3d3fb14.tar.xz qemu-863b6589d738d0b4c8b283297b0ff228f3d3fb14.zip | |
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')
| -rw-r--r-- | target-arm/op_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target-arm/op_helper.c b/target-arm/op_helper.c index c9f5821c60..9ab7c619e6 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); |
