Message ID | 1418340569-30519-9-git-send-email-greg.bellows@linaro.org |
---|---|
State | Superseded |
Headers | show
Return-Path: <patchwork-forward+bncBCTYDDF56AHBBRWSVCSAKGQE5Q7MXGI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5939426666 for <linaro@patches.linaro.org>; Thu, 11 Dec 2014 23:31:19 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id b13sf4169819wgh.1 for <linaro@patches.linaro.org>; Thu, 11 Dec 2014 15:31:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=6ziNNEp/GrYWrrRPtxfk4GmJIQ0DKRhaQcfMbpirD6M=; b=UdWynG6Qb3eXJXV65zdiX+hvQcO0gNGZAkrzjStIvFTtuJVIcXfIsZsVF1CAz9OBIW pBttlrODEFMY/FDKAWn7Oj0fYEUFQazWO01t23xdSD/5x3tZVC6pg5DusAo5jg0G6ckW 0Jk92KzbNoV0rjrtPYeZukwUk8NkaHjnNXunfdKgtWH3b7s/mNnbg0lSruP0oqUWgi9j qSCB7JPXBSOczCD+CPEpUzS6DMGCNIphJXttx3MaYPjBCVafhZ6efCr6hoMMyHSe++DN KWmnwADi8bZbtmHFSrj5Q0dB/34RsCqB7KGId4bKmi+3ZfDkSmNyjJwOWEWSEIpM89Po qwZg== X-Gm-Message-State: ALoCoQmEFW/Fgmecmq5G+htpVp1O/BJQzvcNZb55XiijX3aNbatUd4KLnOQRvXzBzDPmhnpOThdk X-Received: by 10.180.8.9 with SMTP id n9mr210742wia.6.1418340678654; Thu, 11 Dec 2014 15:31:18 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.170.227 with SMTP id ap3ls365444lac.60.gmail; Thu, 11 Dec 2014 15:31:18 -0800 (PST) X-Received: by 10.112.63.99 with SMTP id f3mr12239055lbs.47.1418340678424; Thu, 11 Dec 2014 15:31:18 -0800 (PST) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id ll1si2759844lac.41.2014.12.11.15.31.18 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Dec 2014 15:31:18 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by mail-la0-f49.google.com with SMTP id hs14so5019170lab.8 for <patchwork-forward@linaro.org>; Thu, 11 Dec 2014 15:31:18 -0800 (PST) X-Received: by 10.152.87.12 with SMTP id t12mr164988laz.31.1418340678307; Thu, 11 Dec 2014 15:31:18 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.142.69 with SMTP id ru5csp685999lbb; Thu, 11 Dec 2014 15:31:17 -0800 (PST) X-Received: by 10.229.176.198 with SMTP id bf6mr25526197qcb.12.1418340676973; Thu, 11 Dec 2014 15:31:16 -0800 (PST) Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id d7si3181884qge.72.2014.12.11.15.31.16 for <patch@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 11 Dec 2014 15:31:16 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Received: from localhost ([::1]:54642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1XzDCW-0005JA-3D for patch@linaro.org; Thu, 11 Dec 2014 18:31:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <greg.bellows@linaro.org>) id 1XzDBI-0003wK-6m for qemu-devel@nongnu.org; Thu, 11 Dec 2014 18:30:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <greg.bellows@linaro.org>) id 1XzDBC-0000pa-9T for qemu-devel@nongnu.org; Thu, 11 Dec 2014 18:30:00 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:34395) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <greg.bellows@linaro.org>) id 1XzDBC-0000ol-3K for qemu-devel@nongnu.org; Thu, 11 Dec 2014 18:29:54 -0500 Received: by mail-pa0-f54.google.com with SMTP id fb1so5985662pad.41 for <qemu-devel@nongnu.org>; Thu, 11 Dec 2014 15:29:53 -0800 (PST) X-Received: by 10.68.103.195 with SMTP id fy3mr21864517pbb.84.1418340593611; Thu, 11 Dec 2014 15:29:53 -0800 (PST) Received: from gbellows-linaro.qualcomm.com (rrcs-67-52-129-61.west.biz.rr.com. [67.52.129.61]) by mx.google.com with ESMTPSA id ip1sm2362908pbc.0.2014.12.11.15.29.52 for <multiple recipients> (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Dec 2014 15:29:53 -0800 (PST) From: Greg Bellows <greg.bellows@linaro.org> To: qemu-devel@nongnu.org, serge.fdrv@gmail.com, edgar.iglesias@gmail.com, aggelerf@ethz.ch, peter.maydell@linaro.org Date: Thu, 11 Dec 2014 17:29:22 -0600 Message-Id: <1418340569-30519-9-git-send-email-greg.bellows@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1418340569-30519-1-git-send-email-greg.bellows@linaro.org> References: <1418340569-30519-1-git-send-email-greg.bellows@linaro.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.220.54 Cc: Greg Bellows <greg.bellows@linaro.org> Subject: [Qemu-devel] [PATCH v2 08/15] target-arm: Add feature unset function X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: greg.bellows@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/target-arm/cpu.c b/target-arm/cpu.c index d3db279..01afed2 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -327,6 +327,11 @@ static inline void set_feature(CPUARMState *env, int feature) env->features |= 1ULL << feature; } +static inline void unset_feature(CPUARMState *env, int feature) +{ + env->features &= ~(1ULL << feature); +} + static void arm_cpu_initfn(Object *obj) { CPUState *cs = CPU(obj);