From patchwork Sun May 25 01:08:43 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: 352204 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 8AC3F140083 for ; Sun, 25 May 2014 11:19:38 +1000 (EST) Received: from localhost ([::1]:49919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoN68-0000GO-Fy for incoming@patchwork.ozlabs.org; Sat, 24 May 2014 21:19:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoN5j-00084D-Ps for qemu-devel@nongnu.org; Sat, 24 May 2014 21:19:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WoN5d-0006X0-Rs for qemu-devel@nongnu.org; Sat, 24 May 2014 21:19:11 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:34362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WoN5d-0006Ww-Lf for qemu-devel@nongnu.org; Sat, 24 May 2014 21:19:05 -0400 Received: by mail-wg0-f49.google.com with SMTP id m15so6489622wgh.32 for ; Sat, 24 May 2014 18:19:04 -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=l8pzzjVFlKoyg6BJrGdhLa8W1/9o1TCy4z7lOZlVtE4=; b=GQr87UlGRiAqwIofj3f289HC0sOkscY+/NUpnFnpW5/BTtBVx5+Lees5TVO2SwTSrd c3ynoMfg+eOk68d24BmmS7EpekdkVUFkbkB8hj2OrQFpt/YRF5NimGro2HkDw4mW3ke/ Y453PoKyn6u/e5x5Esg7jr9KXssTtrYhP8M9iDHYNmSRAtHlBUNh1tN1tc+yGjfB0n2Z QXo+oMyfUbgKIZp89K4gerDjvr8GWl7jHK2FxEIfHAVHyECSvwr8ZFhYSkuVLnIEWpjY hLhPdi5TtmM655hjLs3TVCinbedBwB6+MZfYw8tvh+yrmMJnaAtU6UIw8EOShoGpE4f/ O+/g== X-Received: by 10.180.36.35 with SMTP id n3mr15056106wij.23.1400980744930; Sat, 24 May 2014 18:19:04 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id vp5sm14496941wjc.31.2014.05.24.18.18.59 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 24 May 2014 18:19:04 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Sun, 25 May 2014 11:08:43 +1000 Message-Id: <1400980132-25949-15-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1400980132-25949-1-git-send-email-edgar.iglesias@gmail.com> References: <1400980132-25949-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::231 Cc: rob.herring@linaro.org, peter.crosthwaite@xilinx.com, aggelerf@ethz.ch, agraf@suse.de, john.williams@xilinx.com, greg.bellows@linaro.org, alex.bennee@linaro.org, christoffer.dall@linaro.org, rth@twiddle.net Subject: [Qemu-devel] [PATCH v5 14/23] 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 75a4ed8..b14fac5 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)