target-arm: Convert generic timer reginfo to accessfn
commit00108f2d4d86f41694bafe173271528f7e69b0b7
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2014 10:35:53 +0000 (20 10:35 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2014 10:35:53 +0000 (20 10:35 +0000)
tree824cbccdb150679541656dcc2273d90be9cf796c
parentfcd252062a018380e9ce14ed4d71f6d557018e2b
target-arm: Convert generic timer reginfo to accessfn

Convert the reginfo structs for the generic timer registers
to use access functions rather than returning EXCP_UDEF from
their read handlers. In some cases this allows us to remove
a read handler completely.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
target-arm/helper.c