diff options
Diffstat (limited to 'src/arch/arm/miscregs.cc')
-rw-r--r-- | src/arch/arm/miscregs.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/arch/arm/miscregs.cc b/src/arch/arm/miscregs.cc index bbd5347e5..07123bd7d 100644 --- a/src/arch/arm/miscregs.cc +++ b/src/arch/arm/miscregs.cc @@ -1539,7 +1539,9 @@ decodeAArch64SysReg(unsigned op0, unsigned op1, return MISCREG_ID_AA64MMFR0_EL1; case 1: return MISCREG_ID_AA64MMFR1_EL1; - case 2 ... 7: + case 2: + return MISCREG_ID_AA64MMFR2_EL1; + case 3 ... 7: return MISCREG_RAZ; } break; @@ -3504,6 +3506,8 @@ ISA::initializeMiscRegMetadata() .allPrivileges().exceptUserMode().writes(0); InitReg(MISCREG_ID_AA64MMFR1_EL1) .allPrivileges().exceptUserMode().writes(0); + InitReg(MISCREG_ID_AA64MMFR2_EL1) + .allPrivileges().exceptUserMode().writes(0); InitReg(MISCREG_CCSIDR_EL1) .allPrivileges().exceptUserMode().writes(0); InitReg(MISCREG_CLIDR_EL1) |