diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2016-02-19 14:39:44 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-26 15:09:42 +0000 |
| commit | 1fce1ba985d9c5c96e5b9709e1356d1814b8fa9e (patch) | |
| tree | 93b6a4ad9bc0ae56aafdc61cdbb3d3af1623f42c /hw/arm/bcm2835_peripherals.c | |
| parent | a8d64e735182cbbb5dcc98f41656b118c45e57cc (diff) | |
| download | focaccia-qemu-1fce1ba985d9c5c96e5b9709e1356d1814b8fa9e.tar.gz focaccia-qemu-1fce1ba985d9c5c96e5b9709e1356d1814b8fa9e.zip | |
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/bcm2835_peripherals.c')
0 files changed, 0 insertions, 0 deletions