target/arm: Factor out PMU register definitions
commit24183fb6f00ecca8b508e245c95ff50ddde3f18b
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 14 Feb 2020 17:51:00 +0000 (14 17:51 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 21 Feb 2020 16:07:01 +0000 (21 16:07 +0000)
tree39d110f3e4f4bec72c6dc09a2cb2e59a63e80f7b
parent22e570730d15374453baa73ff2a699e01ef4e950
target/arm: Factor out PMU register definitions

Pull the code that defines the various PMU registers out
into its own function, matching the pattern we have
already for the debug registers.

Apart from one style fix to a multi-line comment, this
is purely movement of code with no changes to it.

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20200214175116.9164-6-peter.maydell@linaro.org
target/arm/helper.c