From patchwork Fri Sep 9 00:22:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 114004 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 96E33B6F69 for ; Fri, 9 Sep 2011 10:23:07 +1000 (EST) Received: from localhost ([::1]:35030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1os2-0007O2-OY for incoming@patchwork.ozlabs.org; Thu, 08 Sep 2011 20:23:02 -0400 Received: from eggs.gnu.org ([140.186.70.92]:49977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1ory-0007Nx-1T for qemu-devel@nongnu.org; Thu, 08 Sep 2011 20:22:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1orx-0008Dw-5y for qemu-devel@nongnu.org; Thu, 08 Sep 2011 20:22:58 -0400 Received: from mail-fx0-f45.google.com ([209.85.161.45]:43274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1orx-0008Dn-15 for qemu-devel@nongnu.org; Thu, 08 Sep 2011 20:22:57 -0400 Received: by fxbb27 with SMTP id b27so2288670fxb.4 for ; Thu, 08 Sep 2011 17:22:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; bh=2wgGbvD9S1QPCy0wk78O1eFZTk9xqD1mT1mwdVFIFJ4=; b=QmKT2xKOgB8acClCyqnYS2bTI3cnCfwMxIyVldHfwVq8bYuc2h0SyP35OQPMYVlJTW bxBpS+4qiip4qsNdMH528sxcff9m/h2VuMERZvJHbOEXUbO+JmJ7bf6pnY9ubyR1UQQL dJsCSmWoUaJkMWbw7u090AE7+hzxsKtfmF+y4= Received: by 10.223.57.70 with SMTP id b6mr73856fah.124.1315527775681; Thu, 08 Sep 2011 17:22:55 -0700 (PDT) Received: from mashiro.kolej.mff.cuni.cz (vasut.kolej.mff.cuni.cz [78.128.198.52]) by mx.google.com with ESMTPS id l21sm2115035fac.8.2011.09.08.17.22.54 (version=SSLv3 cipher=OTHER); Thu, 08 Sep 2011 17:22:54 -0700 (PDT) From: Marek Vasut To: qemu-devel@nongnu.org Date: Fri, 9 Sep 2011 02:22:50 +0200 Message-Id: <1315527770-22318-1-git-send-email-marek.vasut@gmail.com> X-Mailer: git-send-email 1.7.5.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.45 Cc: dbaryshkov@gmail.com, Marek Vasut Subject: [Qemu-devel] [PATCH] ARM7TDMI: Enable ARMv4T features X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Marek Vasut --- target-arm/helper.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/target-arm/helper.c b/target-arm/helper.c index 58cd99f..2f3e937 100644 --- a/target-arm/helper.c +++ b/target-arm/helper.c @@ -53,6 +53,7 @@ static void cpu_reset_model_id(CPUARMState *env, uint32_t id) env->cp15.c0_cpuid = id; switch (id) { case ARM_CPUID_ARM7TDMI: + set_feature(env, ARM_FEATURE_V4T); // set_feature(env, ARM_FEATURE_ABORT_BU); // set_feature(env, ARM_FEATURE_NO_CP15); break;