mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
target/arm: Add isar_feature_aa64_rme
Add the missing field for ID_AA64PFR0, and the predicate. Disable it if EL3 is forced off by the board or command-line. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20230620124418.805717-2-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
b455ce4c2f
commit
b9f335c247
2 changed files with 10 additions and 0 deletions
|
@ -2195,6 +2195,7 @@ FIELD(ID_AA64PFR0, SEL2, 36, 4)
|
|||
FIELD(ID_AA64PFR0, MPAM, 40, 4)
|
||||
FIELD(ID_AA64PFR0, AMU, 44, 4)
|
||||
FIELD(ID_AA64PFR0, DIT, 48, 4)
|
||||
FIELD(ID_AA64PFR0, RME, 52, 4)
|
||||
FIELD(ID_AA64PFR0, CSV2, 56, 4)
|
||||
FIELD(ID_AA64PFR0, CSV3, 60, 4)
|
||||
|
||||
|
@ -3814,6 +3815,11 @@ static inline bool isar_feature_aa64_sel2(const ARMISARegisters *id)
|
|||
return FIELD_EX64(id->id_aa64pfr0, ID_AA64PFR0, SEL2) != 0;
|
||||
}
|
||||
|
||||
static inline bool isar_feature_aa64_rme(const ARMISARegisters *id)
|
||||
{
|
||||
return FIELD_EX64(id->id_aa64pfr0, ID_AA64PFR0, RME) != 0;
|
||||
}
|
||||
|
||||
static inline bool isar_feature_aa64_vh(const ARMISARegisters *id)
|
||||
{
|
||||
return FIELD_EX64(id->id_aa64mmfr1, ID_AA64MMFR1, VH) != 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue