target-arm: Apply S2 MMU startlevel table size check to AArch64
commit98d68ec289750139258d9cd9ab3f6d7dd10bb762
authorEdgar E. Iglesias <edgar.iglesias@xilinx.com>
Wed, 3 Feb 2016 13:46:33 +0000 (3 13:46 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 3 Feb 2016 13:46:33 +0000 (3 13:46 +0000)
treede98b88fd3c51360fca308f3513a5e7a8091d732
parent48d21a576a9cd5fd223bda416abb68b5c2818b52
target-arm: Apply S2 MMU startlevel table size check to AArch64

The S2 starting level table size check applies to both AArch32
and AArch64. Move it to common code.

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