mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 09:15:35 +00:00
target-arm: Remove incorrect ALIAS tags from ESR_EL2 and ESR_EL3
The regdefs for the ESR_EL2 and ESR_EL3 system registers should not be marked as ARM_CP_ALIAS, because these are the master copies; the DFSR regdef in vmsa_pmsa_cp_reginfo[] is marked as an alias. Remove the ALIAS tags so that these registers are correctly migrated. Backports commit 094a7d0b9d10812d06be2c5c19288cee4603c693 from qemu
This commit is contained in:
parent
f1b5b5cea9
commit
a93e873441
|
@ -3097,8 +3097,8 @@ static const ARMCPRegInfo el2_cp_reginfo[] = {
|
|||
NULL, NULL, hcr_write },
|
||||
{ "ELR_EL2", 0,4,0, 3,4,1, ARM_CP_STATE_AA64,
|
||||
ARM_CP_ALIAS, PL2_RW, 0, NULL, 0, offsetof(CPUARMState, elr_el[2]) },
|
||||
{ "ESR_EL2", 0,5,2, 3,4,0, ARM_CP_STATE_AA64,
|
||||
ARM_CP_ALIAS, PL2_RW, 0, NULL, 0, offsetof(CPUARMState, cp15.esr_el[2]) },
|
||||
{ "ESR_EL2", 0,5,2, 3,4,0, ARM_CP_STATE_AA64, 0,
|
||||
PL2_RW, 0, NULL, 0, offsetof(CPUARMState, cp15.esr_el[2]) },
|
||||
{ "FAR_EL2", 0,6,0, 3,4,0, ARM_CP_STATE_AA64,
|
||||
0, PL2_RW, 0, NULL, 0, offsetof(CPUARMState, cp15.far_el[2]) },
|
||||
{ "SPSR_EL2", 0,4,0, 3,4,0, ARM_CP_STATE_AA64,
|
||||
|
@ -3268,8 +3268,8 @@ static const ARMCPRegInfo el3_cp_reginfo[] = {
|
|||
NULL, NULL, vmsa_tcr_el1_write, NULL, raw_write, vmsa_ttbcr_reset },
|
||||
{ "ELR_EL3", 0,4,0, 3,6,1, ARM_CP_STATE_AA64,
|
||||
ARM_CP_ALIAS, PL3_RW, 0, NULL, 0, offsetof(CPUARMState, elr_el[3]) },
|
||||
{ "ESR_EL3", 0,5,2, 3,6,0, ARM_CP_STATE_AA64,
|
||||
ARM_CP_ALIAS, PL3_RW, 0, NULL, 0, offsetof(CPUARMState, cp15.esr_el[3]) },
|
||||
{ "ESR_EL3", 0,5,2, 3,6,0, ARM_CP_STATE_AA64, 0,
|
||||
PL3_RW, 0, NULL, 0, offsetof(CPUARMState, cp15.esr_el[3]) },
|
||||
{ "FAR_EL3", 0,6,0, 3,6,0, ARM_CP_STATE_AA64,
|
||||
0, PL3_RW, 0, NULL, 0, offsetof(CPUARMState, cp15.far_el[3]) },
|
||||
{ "SPSR_EL3", 0,4,0, 3,6,0, ARM_CP_STATE_AA64,
|
||||
|
|
Loading…
Reference in a new issue