Received: from eggs.gnu.org ([140.186.70.92]:39205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZhtu-0000oz-CJ for qemu-devel@nongnu.org; Thu, 23 Jun 2011 07:16:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QZhts-0000sR-RR for qemu-devel@nongnu.org; Thu, 23 Jun 2011 07:16:46 -0400 Received: from mail-wy0-f173.google.com ([74.125.82.173]:51266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QZhts-0000rY-Hw for qemu-devel@nongnu.org; Thu, 23 Jun 2011 07:16:44 -0400 Received: by wyf28 with SMTP id 28so1345155wyf.4 for ; Thu, 23 Jun 2011 04:16:43 -0700 (PDT) From: Jamie Iles Date: Thu, 23 Jun 2011 12:12:59 +0100 Message-Id: <1308827580-5040-1-git-send-email-jamie@jamieiles.com> Subject: [Qemu-devel] [PATCHv2 1/2] target-arm: make VMSAv7 remapping and AP dependent on V6K List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jamie Iles , Paul Brook , Aurelien Jarno , Peter Maydell The VMSAv7 remapping and access permissions were introduced in ARMv6K and not ARMv7. Cc: Peter Maydell Cc: Aurelien Jarno Cc: Paul Brook Signed-off-by: Jamie Iles --- 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 1208416..eda881b 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -945,7 +945,7 @@ static inline int check_ap(CPUState *env, int ap, int domain, int access_type, case 6: return prot_ro; case 7: - if (!arm_feature (env, ARM_FEATURE_V7)) + if (!arm_feature (env, ARM_FEATURE_V6K)) return 0; return prot_ro; default: -- 1.7.4.1