target-arm: Add EL3 and EL2 TCR checking
commit88e8add8b6656c349a96b447b074688d02dc5415
authorGreg Bellows <greg.bellows@linaro.org>
Wed, 22 Apr 2015 17:09:19 +0000 (22 12:09 -0500)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 18 May 2015 19:04:04 +0000 (18 20:04 +0100)
tree7ad6e8321028799aab7dea368a8adf4b166575dc
parentaef878be4e7ab1bdb30b408007320400b0a29c83
target-arm: Add EL3 and EL2 TCR checking

Updated get_phys_addr_lpae to check the appropriate TTBCR/TCR depending on the
current EL. Support includes using the different TCR format as well as checks to
insure TTBR1 is not used when in EL2 or EL3.

Signed-off-by: Greg Bellows <greg.bellows@linaro.org>
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1429722561-12651-8-git-send-email-greg.bellows@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c