aboutsummaryrefslogtreecommitdiff
path: root/qom
diff options
context:
space:
mode:
authorAndrew Baumann <Andrew.Baumann@microsoft.com>2017-03-14 11:28:54 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-03-14 11:28:54 +0000
commit6ecd0b6ba0591ef280ed984103924d4bdca5ac32 (patch)
treeea13414813639fb2c050d0188ad70375592443f8 /qom
parent94b5d57d2f5a3c849cecd65e424bb6f50b998df9 (diff)
downloadqemu-6ecd0b6ba0591ef280ed984103924d4bdca5ac32.zip
qemu-6ecd0b6ba0591ef280ed984103924d4bdca5ac32.tar.gz
qemu-6ecd0b6ba0591ef280ed984103924d4bdca5ac32.tar.bz2
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 'qom')
0 files changed, 0 insertions, 0 deletions