]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/qemu-xen.git/commit
target-arm: Use access_trap_aa32s_el1() for SCR and MVBAR
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Feb 2016 11:17:30 +0000 (11:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 11 Feb 2016 11:17:30 +0000 (11:17 +0000)
commitefe4a274083f61484a8f1478d93f229d43aa8095
tree4612133d509af592c4ade854b242d2eb3ec31281
parent5513c3abed8e5fabe116830c63f0d3fe1f94bd21
target-arm: Use access_trap_aa32s_el1() for SCR and MVBAR

The registers MVBAR and SCR should have the behaviour of trapping to
EL3 if accessed from Secure EL1, but we were incorrectly implementing
them to UNDEF (which would trap to EL1).  Fix this by using the new
access_trap_aa32s_el1() access function.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1454506721-11843-4-git-send-email-peter.maydell@linaro.org
target-arm/helper.c