summaryrefslogtreecommitdiffstats
path: root/target/arm/cpu.h
diff options
context:
space:
mode:
authorAndrew Baumann2017-03-14 12:28:54 +0100
committerPeter Maydell2017-03-14 12:28:54 +0100
commit6ecd0b6ba0591ef280ed984103924d4bdca5ac32 (patch)
treeea13414813639fb2c050d0188ad70375592443f8 /target/arm/cpu.h
parentMerge remote-tracking branch 'remotes/dgibson/tags/ppc-for-2.9-20170314' into... (diff)
downloadqemu-6ecd0b6ba0591ef280ed984103924d4bdca5ac32.tar.gz
qemu-6ecd0b6ba0591ef280ed984103924d4bdca5ac32.tar.xz
qemu-6ecd0b6ba0591ef280ed984103924d4bdca5ac32.zip
target/arm: implement armv8 PMUSERENR (user-mode enable bits)
In armv8, this register implements more than a single bit, with fine-grained enables for read access to event counters, cycles counters, and write access to the software increment. This change implements those checks using custom access functions for the relevant registers. Signed-off-by: Andrew Baumann <Andrew.Baumann@microsoft.com> Message-id: 20170228215801.10472-2-Andrew.Baumann@microsoft.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> [PMM: move a couple of access functions to be only compiled ifndef CONFIG_USER_ONLY to avoid compiler warnings] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
0 files changed, 0 insertions, 0 deletions