mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 00:25:27 +00:00
target/arm: Implement ID_PFR2
This was defined at some point before ARMv8.4, and will shortly be used by new processor descriptions. Backports 1d51bc96cc4a9b2d31a3f4cb8442ce47753088e2
This commit is contained in:
parent
5fb8ab10eb
commit
073923709f
|
@ -873,6 +873,7 @@ struct ARMCPU {
|
|||
uint32_t id_mmfr4;
|
||||
uint32_t id_pfr0;
|
||||
uint32_t id_pfr1;
|
||||
uint32_t id_pfr2;
|
||||
uint32_t mvfr0;
|
||||
uint32_t mvfr1;
|
||||
uint32_t mvfr2;
|
||||
|
|
|
@ -7327,11 +7327,11 @@ void register_cp_regs_for_features(ARMCPU *cpu)
|
|||
.access = PL1_R, .type = ARM_CP_CONST,
|
||||
.accessfn = access_aa64_tid3,
|
||||
.resetvalue = 0 },
|
||||
{ .name = "MVFR4_EL1_RESERVED", .state = ARM_CP_STATE_AA64,
|
||||
{ .name = "ID_PFR2", .state = ARM_CP_STATE_BOTH,
|
||||
.opc0 = 3, .opc1 = 0, .crn = 0, .crm = 3, .opc2 = 4,
|
||||
.access = PL1_R, .type = ARM_CP_CONST,
|
||||
.accessfn = access_aa64_tid3,
|
||||
.resetvalue = 0 },
|
||||
.resetvalue = cpu->isar.id_pfr2 },
|
||||
{ .name = "MVFR5_EL1_RESERVED", .state = ARM_CP_STATE_AA64,
|
||||
.opc0 = 3, .opc1 = 0, .crn = 0, .crm = 3, .opc2 = 5,
|
||||
.access = PL1_R, .type = ARM_CP_CONST,
|
||||
|
|
Loading…
Reference in a new issue