From patchwork Mon May 19 09:22:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 350182 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 5BB0214008B for ; Mon, 19 May 2014 19:32:10 +1000 (EST) Received: from localhost ([::1]:46875 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmJvU-0007ke-BR for incoming@patchwork.ozlabs.org; Mon, 19 May 2014 05:32:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmJug-0006FU-MZ for qemu-devel@nongnu.org; Mon, 19 May 2014 05:31:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmJua-0007h5-ER for qemu-devel@nongnu.org; Mon, 19 May 2014 05:31:18 -0400 Received: from mail-wg0-x22f.google.com ([2a00:1450:400c:c00::22f]:40414) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmJua-0007gv-8W for qemu-devel@nongnu.org; Mon, 19 May 2014 05:31:12 -0400 Received: by mail-wg0-f47.google.com with SMTP id x12so7645852wgg.30 for ; Mon, 19 May 2014 02:31:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6d2A+9alVs2KIZuBBGVM1HgJ7oYngGr4l8ilhvAfBLI=; b=yPsaPj93pQ+x8t6p1aWzFze2CAVjspsEKsWteUTBk8i/nOEwL5bvlWKLKm5L/nW3JV W92Svkab3Q0XiXKFYxu1u08K5vTfVW4wLz6vEspUWOegpq7L12Zgw/hOxYUrr29vTjjH KkyFwjZE8KeO8jK0v/WlhqNLyhm5nffHsLuLxbT8MjKXm8q4YvJoybJ7ocfCX/0nQWqn Bz8efjEwId/m0H5+C+vmo/EDfliZulr1HG2WvNUyo/OGYa3bjpcaKPCrU21WrInhksgQ JFEugviB2LI+5Pi7VfmB0hFtGdtXKlHOKaZGmTBnh3kKkIHbID7f2fPs6r0BOYGyPklL G8tw== X-Received: by 10.180.11.239 with SMTP id t15mr11819825wib.25.1400491871327; Mon, 19 May 2014 02:31:11 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id xn14sm2666292wib.6.2014.05.19.02.31.05 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 19 May 2014 02:31:10 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Mon, 19 May 2014 19:22:52 +1000 Message-Id: <1400491383-6725-12-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1400491383-6725-1-git-send-email-edgar.iglesias@gmail.com> References: <1400491383-6725-1-git-send-email-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::22f Cc: rob.herring@linaro.org, peter.crosthwaite@xilinx.com, aggelerf@ethz.ch, agraf@suse.de, john.williams@xilinx.com, alex.bennee@linaro.org, christoffer.dall@linaro.org, rth@twiddle.net Subject: [Qemu-devel] [PATCH v3 11/22] target-arm: Add a feature flag for EL3 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 From: "Edgar E. Iglesias" Reviewed-by: Peter Crosthwaite Signed-off-by: Edgar E. Iglesias --- target-arm/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index 0108c62..7322e03 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -634,6 +634,7 @@ enum arm_features { ARM_FEATURE_CRC, /* ARMv8 CRC instructions */ ARM_FEATURE_CBAR_RO, /* has cp15 CBAR and it is read-only */ ARM_FEATURE_EL2, /* has EL2 Virtualization support */ + ARM_FEATURE_EL3, /* has EL3 Secure monitor support */ }; static inline int arm_feature(CPUARMState *env, int feature)