target-arm: Convert performance monitor reginfo to accessfn
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2014 10:35:52 +0000 (10:35 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Feb 2014 10:35:52 +0000 (10:35 +0000)
commitfcd252062a018380e9ce14ed4d71f6d557018e2b
tree1639da497a0fd0329db6aed6fbf342b81fcba6cb
parentf59df3f2354982ee0381b87d1ce561f1eb0ed505
target-arm: Convert performance monitor reginfo to accessfn

Convert the performance monitor reginfo definitions to use
an accessfn rather than returning EXCP_UDEF from read and
write functions. This also allows us to fix a couple of XXX
cases where we weren't imposing the access restrictions on
RAZ/WI or constant registers.

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