From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LdAwl-0004XI-1l for qemu-devel@nongnu.org; Fri, 27 Feb 2009 17:12:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LdAwh-0004S6-IA for qemu-devel@nongnu.org; Fri, 27 Feb 2009 17:12:42 -0500 Received: from [199.232.76.173] (port=44897 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LdAwh-0004Rd-9b for qemu-devel@nongnu.org; Fri, 27 Feb 2009 17:12:39 -0500 Received: from naru.obs2.net ([84.20.150.76]:40216 helo=narury.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LdAwg-0006Lg-Vp for qemu-devel@nongnu.org; Fri, 27 Feb 2009 17:12:39 -0500 Received: from kos.to (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by narury.org (Postfix) with ESMTP id CA826327405A for ; Sat, 28 Feb 2009 00:12:33 +0200 (EET) Date: Sat, 28 Feb 2009 00:12:33 +0200 From: Riku Voipio Message-ID: <20090227221233.GA422@kos.to> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 1/3] Fix correct reset value for ARM CP15 c1 auxiliary control register Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: Juha Riihim=C3=A4ki According to ARM Cortex A8 Technical Reference Manual, the reset value fo= r CP15 c1 auxiliary control register is 2, not zero (page 3.12). Signed-off-by: Riku Voipio --- target-arm/helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index 3250fb8..883f8ee 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -1694,7 +1694,7 @@ uint32_t HELPER(get_cp15)(CPUState *env, uint32_t i= nsn) case ARM_CPUID_ARM11MPCORE: return 1; case ARM_CPUID_CORTEXA8: - return 0; + return 2; default: goto bad_reg; } --=20 1.6.1.3 --=20 "rm -rf" only sounds scary if you don't have backups