target-arm: Add AArch32 banked register access to secure physical timer
commit9ff9dd3c875956523bb4c19ca712e5d05aab3c65
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Aug 2015 10:26:22 +0000 (13 11:26 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Aug 2015 10:26:22 +0000 (13 11:26 +0100)
treeba0b94ea33a9cf9a88468518c33c9cc106ba8612
parentb4d3978c2fdf944e428a46d2850dbd950b6fbe78
target-arm: Add AArch32 banked register access to secure physical timer

If EL3 is AArch32, then the secure physical timer is accessed via
banking of the registers used for the non-secure physical timer.
Implement this banking.

Note that the access controls for the AArch32 banked registers
remain the same as the physical-timer checks; they are not the
same as the controls on the AArch64 secure timer registers.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1437047249-2357-3-git-send-email-peter.maydell@linaro.org
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
target-arm/helper.c