mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/arm: Mark up sysregs for HFGRTR bits 0..11
Mark up the sysreg definitions for the registers trapped by HFGRTR/HFGWTR bits 0..11. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Tested-by: Fuad Tabba <tabba@google.com> Message-id: 20230130182459.3309057-11-peter.maydell@linaro.org Message-id: 20230127175507.2895013-11-peter.maydell@linaro.org
This commit is contained in:
parent
361c33f6b8
commit
158c276c74
2 changed files with 31 additions and 0 deletions
|
@ -577,6 +577,20 @@ typedef enum FGTBit {
|
|||
FGT_HDFGRTR = FGT_RW | (FGTREG_HDFGRTR << R_FGT_IDX_SHIFT),
|
||||
FGT_HDFGWTR = FGT_W | (FGTREG_HDFGWTR << R_FGT_IDX_SHIFT),
|
||||
FGT_HFGITR = FGT_EXEC | (FGTREG_HFGITR << R_FGT_IDX_SHIFT),
|
||||
|
||||
/* Trap bits in HFGRTR_EL2 / HFGWTR_EL2, starting from bit 0. */
|
||||
DO_BIT(HFGRTR, AFSR0_EL1),
|
||||
DO_BIT(HFGRTR, AFSR1_EL1),
|
||||
DO_BIT(HFGRTR, AIDR_EL1),
|
||||
DO_BIT(HFGRTR, AMAIR_EL1),
|
||||
DO_BIT(HFGRTR, APDAKEY),
|
||||
DO_BIT(HFGRTR, APDBKEY),
|
||||
DO_BIT(HFGRTR, APGAKEY),
|
||||
DO_BIT(HFGRTR, APIAKEY),
|
||||
DO_BIT(HFGRTR, APIBKEY),
|
||||
DO_BIT(HFGRTR, CCSIDR_EL1),
|
||||
DO_BIT(HFGRTR, CLIDR_EL1),
|
||||
DO_BIT(HFGRTR, CONTEXTIDR_EL1),
|
||||
} FGTBit;
|
||||
|
||||
#undef DO_BIT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue