diff options
| author | Peter Maydell | 2016-02-19 15:39:44 +0100 |
|---|---|---|
| committer | Peter Maydell | 2016-02-26 16:09:42 +0100 |
| commit | 1fce1ba985d9c5c96e5b9709e1356d1814b8fa9e (patch) | |
| tree | 93b6a4ad9bc0ae56aafdc61cdbb3d3af1623f42c /include | |
| parent | target-arm: Fix handling of SDCR for 32-bit code (diff) | |
| download | qemu-1fce1ba985d9c5c96e5b9709e1356d1814b8fa9e.tar.gz qemu-1fce1ba985d9c5c96e5b9709e1356d1814b8fa9e.tar.xz 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 'include')
0 files changed, 0 insertions, 0 deletions
