aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/tosa.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-19 14:39:44 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-26 15:09:42 +0000
commit1fce1ba985d9c5c96e5b9709e1356d1814b8fa9e (patch)
tree93b6a4ad9bc0ae56aafdc61cdbb3d3af1623f42c /hw/arm/tosa.c
parenta8d64e735182cbbb5dcc98f41656b118c45e57cc (diff)
downloadqemu-1fce1ba985d9c5c96e5b9709e1356d1814b8fa9e.zip
qemu-1fce1ba985d9c5c96e5b9709e1356d1814b8fa9e.tar.gz
qemu-1fce1ba985d9c5c96e5b9709e1356d1814b8fa9e.tar.bz2
target-arm: Implement MDCR_EL3.TPM and MDCR_EL2.TPM traps
Implement the performance monitor register traps controlled by MDCR_EL3.TPM and MDCR_EL2.TPM. Most of the performance registers already have an access function to deal with the user-enable bit, and the TPM checks can be added there. We also need a new access function which only implements the TPM checks for use by the few not-EL0-accessible registers and by PMUSERENR_EL0 (which is always EL0-readable). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1455892784-11328-3-git-send-email-peter.maydell@linaro.org Reviewed-by: Sergey Fedorov <serge.fdrv@gmail.com> Acked-by: Alistair Francis <alistair.francis@xilinx.com>
Diffstat (limited to 'hw/arm/tosa.c')
0 files changed, 0 insertions, 0 deletions