From patchwork Tue May 6 06:08:16 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: 346031 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 589BB1412EC for ; Tue, 6 May 2014 16:17:50 +1000 (EST) Received: from localhost ([::1]:33116 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhYhI-00047x-76 for incoming@patchwork.ozlabs.org; Tue, 06 May 2014 02:17:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhYga-0003MT-He for qemu-devel@nongnu.org; Tue, 06 May 2014 02:17:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhYgU-0002mc-JW for qemu-devel@nongnu.org; Tue, 06 May 2014 02:17:04 -0400 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]:57099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhYgU-0002mU-GV for qemu-devel@nongnu.org; Tue, 06 May 2014 02:16:58 -0400 Received: by mail-qg0-f48.google.com with SMTP id i50so7392210qgf.7 for ; Mon, 05 May 2014 23:16:58 -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=DPLKYAlZjIhkR57l4zwPmUObJgxh2Afd9XsL4AleGQ8=; b=ASpeI5tfKkwaeqDN6SMpo2rvMRdP1mSXV1Gj5Sot44TLNrnpav7l/i1DVfHlz7++HB OyY6iZ5jNYjfpDTj3oeBwrTXZ3QoeKaqqGIJco4X02fa0H6b6P7grxFb/+XobfUYTbQa 9GJ4W3QQYVGnrAWzDRMx1F+m0mc5Mqz+rdJlO7v8e1lD3o8Q7FfvbPVMGwoMNC0eWkH9 WchI/EcOefjnXyEUUcuVUTsO5yI2ERER52oVZxK0eoR14YmjxDgV0vb8nUI5B+3/v9Kn uxqUmuqmrcykwxKbhEB0FPrbh8YNXjWey55hmWqWlfC7gn74skf6oVbICzkXnR/HdRat RXMQ== X-Received: by 10.140.29.226 with SMTP id b89mr48130288qgb.48.1399357018175; Mon, 05 May 2014 23:16:58 -0700 (PDT) Received: from localhost ([203.126.243.116]) by mx.google.com with ESMTPSA id l3sm21689075qao.33.2014.05.05.23.16.52 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 05 May 2014 23:16:56 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org, peter.maydell@linaro.org Date: Tue, 6 May 2014 16:08:16 +1000 Message-Id: <1399356506-5609-13-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1399356506-5609-1-git-send-email-edgar.iglesias@gmail.com> References: <1399356506-5609-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: 2607:f8b0:400d:c04::230 Cc: rob.herring@linaro.org, peter.crosthwaite@xilinx.com, john.williams@xilinx.com, alex.bennee@linaro.org, agraf@suse.de Subject: [Qemu-devel] [PATCH v1 12/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" Signed-off-by: Edgar E. Iglesias Reviewed-by: Peter Crosthwaite --- target-arm/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/target-arm/cpu.h b/target-arm/cpu.h index d2e52d4..34e8f7c 100644 --- a/target-arm/cpu.h +++ b/target-arm/cpu.h @@ -637,6 +637,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)