diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2022-12-14 14:27:09 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2022-12-15 11:18:20 +0000 |
| commit | e2ce5fcde468c7316b6ba3c30a970c9e50bf7211 (patch) | |
| tree | c799f80f4f45aae9f7d590c2830af1c180a07b2a /hw/intc/m68k_irqc.c | |
| parent | 2d3ce4c6f3bc66234e384355cedc6e7aa40903ac (diff) | |
| download | focaccia-qemu-e2ce5fcde468c7316b6ba3c30a970c9e50bf7211.tar.gz focaccia-qemu-e2ce5fcde468c7316b6ba3c30a970c9e50bf7211.zip | |
target/arm: Implement HCR_EL2.TID4 traps
For FEAT_EVT, the HCR_EL2.TID4 trap allows trapping of the cache ID registers CCSIDR_EL1, CCSIDR2_EL1, CLIDR_EL1 and CSSELR_EL1 (and their AArch32 equivalents). This is a subset of the registers trapped by HCR_EL2.TID2, which includes all of these and also the CTR_EL0 register. Our implementation already uses a separate access function for CTR_EL0 (ctr_el0_access()), so all of the registers currently using access_aa64_tid2() should also be checking TID4. Make that function check both TID2 and TID4, and rename it appropriately. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/intc/m68k_irqc.c')
0 files changed, 0 insertions, 0 deletions