summaryrefslogtreecommitdiffstats
path: root/scripts/modules
diff options
context:
space:
mode:
authorPeter Maydell2018-08-14 18:17:21 +0200
committerPeter Maydell2018-08-14 18:17:21 +0200
commit30ac6339dca3fe0d05a611f12eedd5af20af585a (patch)
tree3523dae746e8814774d960d9b9c5d86065b2c98d /scripts/modules
parenttarget/arm: Mask virtual interrupts if HCR_EL2.TGE is set (diff)
downloadqemu-30ac6339dca3fe0d05a611f12eedd5af20af585a.tar.gz
qemu-30ac6339dca3fe0d05a611f12eedd5af20af585a.tar.xz
qemu-30ac6339dca3fe0d05a611f12eedd5af20af585a.zip
target/arm: Honour HCR_EL2.TGE and MDCR_EL2.TDE in debug register access checks
Some debug registers can be trapped via MDCR_EL2 bits TDRA, TDOSA, and TDA, which we implement in the functions access_tdra(), access_tdosa() and access_tda(). If MDCR_EL2.TDE or HCR_EL2.TGE are 1, the TDRA, TDOSA and TDA bits should behave as if they were 1. Implement this by having the access functions check MDCR_EL2.TDE and HCR_EL2.TGE. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20180724115950.17316-3-peter.maydell@linaro.org
Diffstat (limited to 'scripts/modules')
0 files changed, 0 insertions, 0 deletions