summaryrefslogtreecommitdiffstats
path: root/include/hw/char/imx_serial.h
diff options
context:
space:
mode:
authorPeter Maydell2018-03-23 19:26:46 +0100
committerPeter Maydell2018-03-23 19:26:46 +0100
commit62b94f31d0df75187bb00684fc29e8639eacc0c5 (patch)
tree1a8485426cbf1c4f8b7adb9308feaf89635c59fc /include/hw/char/imx_serial.h
parenttarget/arm: Factor out code to calculate FSR for debug exceptions (diff)
downloadqemu-62b94f31d0df75187bb00684fc29e8639eacc0c5.tar.gz
qemu-62b94f31d0df75187bb00684fc29e8639eacc0c5.tar.xz
qemu-62b94f31d0df75187bb00684fc29e8639eacc0c5.zip
target/arm: Set FSR for BKPT, BRK when raising exception
Now that we have a helper function specifically for the BRK and BKPT instructions, we can set the exception.fsr there rather than in arm_cpu_do_interrupt_aarch32(). This allows us to use our new arm_debug_exception_fsr() helper. In particular this fixes a bug where we were hardcoding the short-form IFSR value, which is wrong if the target exception level has LPAE enabled. Fixes: https://bugs.launchpad.net/qemu/+bug/1756927 Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20180320134114.30418-4-peter.maydell@linaro.org
Diffstat (limited to 'include/hw/char/imx_serial.h')
0 files changed, 0 insertions, 0 deletions