aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 22:10:28 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2009-03-07 22:10:28 +0000
commit533d177a98c5f73ba34fd04bf232fac1f44cf168 (patch)
tree81e34aaf24b7e726cf6601c2f8b240088e000147 /target-arm
parentWork around QEMU GDB stub suboptimality (diff)
downloadqemu-kvm-533d177a98c5f73ba34fd04bf232fac1f44cf168.tar.gz
qemu-kvm-533d177a98c5f73ba34fd04bf232fac1f44cf168.tar.bz2
qemu-kvm-533d177a98c5f73ba34fd04bf232fac1f44cf168.zip
Fix correct reset value for ARM CP15 c1 auxiliary control register
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 <riku.voipio@iki.fi> Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6771 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/helper.c b/target-arm/helper.c
index d6362ca4a..34641428d 100644
--- a/target-arm/helper.c
+++ b/target-arm/helper.c
@@ -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;
}