Fix correct reset value for ARM CP15 c1 auxiliary control register
PATCH 1/3 Fix correct reset value for ARM CP15 c1 auxiliary control register
From: Juha Riihimäki <[email protected]>
According to ARM Cortex A8 Technical Reference Manual, the reset value for CP15 c1 auxiliary control register is 2, not zero (page 3.12).
Signed-off-by Riku Voipio <[email protected]>
--- target-arm/helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
target-arm/helper.c +1 -1
@@ -1694,7 +1694,7 @@ uint32_t HELPER(get_cp15)(CPUState *env, uint32_t insn)case ARM_CPUID_ARM11MPCORE :return 1 ;case ARM_CPUID_CORTEXA8 : -return 0 ; +return 2 ;default : goto bad_reg; }
Signature · 5 lines
1.6.1.3 -- "rm -rf" only sounds scary if you don't have backups
Quoted 4 lines · Riku Voipio
From: Juha Riihimäki <[email protected]>
According to ARM Cortex A8 Technical Reference Manual, the reset value for CP15 c1 auxiliary control register is 2, not zero (page 3.12).
Out of curiosity does that change anything for your tests?
Laurent
Quoted 27 lines
Signed-off-by Riku Voipio <[email protected]>--- target-arm/helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)target-arm/helper.c +1
-2@@ -1694,7 +1694,7 @@ uint32_t HELPER(get_cp15)(CPUState *env, uint32_t insn)case ARM_CPUID_ARM11MPCORE :return 1 ;case ARM_CPUID_CORTEXA8 : -return 0 ; +return 2 ;default : goto bad_reg; } --1.6.1.3
--
"rm -rf" only sounds scary if you don't have backups
Aurelien Jarno
AppliedQuoted 6 lines · Riku Voipio
From: Juha Riihimäki <[email protected]>
According to ARM Cortex A8 Technical Reference Manual, the reset value for CP15 c1 auxiliary control register is 2, not zero (page 3.12).
Signed-off-by Riku Voipio <[email protected]>
Thanks, applied.
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net