On 10/24/22 01:36, [email protected] wrote:
From: Tobias Röhmel <[email protected]>
Typo "implement" in subject.
@@ -8038,6 +8035,11 @@ void register_cp_regs_for_features(ARMCPU *cpu)
.accessfn = access_aa64_tid1,
.type = ARM_CP_CONST, .resetvalue = cpu->revidr },
};
+ ARMCPRegInfo id_v8_midr_alias_cp_reginfo = {
+ .name = "MIDR", .type = ARM_CP_ALIAS | ARM_CP_CONST,
+ .cp = 15, .crn = 0, .crm = 0, .opc1 = 0, .opc2 = 4,
+ .access = PL1_R, .resetvalue = cpu->midr
+ };
Indentation is off: 6 spaces instead of 4 at this level.
Otherwise,
Reviewed-by: Richard Henderson <[email protected]>
r~