target-arm: Split AArch64 cases out of ats_write()
commit060e8a48cb84d41d4ac36e4bb29d9c14ed7168b6
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Feb 2015 13:37:24 +0000 (5 13:37 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 5 Feb 2015 13:37:24 +0000 (5 13:37 +0000)
tree292bd53670e3e1bf94b9a610450557707086512f
parent0dfef7b58f0c24b463e36630f08a45e93012b33a
target-arm: Split AArch64 cases out of ats_write()

Instead of simply reusing ats_write() as the handler for both AArch32
and AArch64 address translation operations, use a different function
for each with the common code in a third function. This is necessary
because the semantics for selecting the right translation regime are
different; we are only getting away with sharing currently because
we don't support EL2 and only support EL3 in AArch32.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Greg Bellows <greg.bellows@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target-arm/helper.c