From patchwork Mon Jun 26 11:28:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 106323 Delivered-To: patch@linaro.org Received: by 10.140.101.48 with SMTP id t45csp27742qge; Mon, 26 Jun 2017 04:28:23 -0700 (PDT) X-Received: by 10.55.154.5 with SMTP id c5mr22039210qke.231.1498476503447; Mon, 26 Jun 2017 04:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498476503; cv=none; d=google.com; s=arc-20160816; b=FUpNRWOfeoyg61Z09EqCnghFUFiTb398dSx2+j0dMzC24260PqyOD4b4ZtNjDpltyr AMwceRBNAIVIhhl3obxpC1Dw2trO2N9IH50vtJLMsa1LnLC7k6iD3A3dJkeki4Z52K5J 916bUz4wE86q1nsd/kQHOteaQ/Ry8x8xjz8glEi9BERolUw0/EkKExOxhm2dWk/ZKaLl tM2e489q/h3tblWaxvI5wy3XbNlYBXFjknRm0S9Otohxrq8+uf5coJIlNH7n2sFqxsBS 20q+bn8esEeqWRk9sJK1A99aQSytXhRKXyH7jwLZAt9UzBI9DWhQeNi+1Itm+O2XO7Li J0YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=BdqEamWo5YfFh6ZviGwCdqZwdck8jsiHieYoDebfFXo=; b=v+5H3BmQGf7u+johRovwBqNAzLqkZbNpgm57w2hAtyW9ksUG0RtD/1EzpfBQ2ghAyN EzGWJn81FirzE86Fkb6191DC5VAxhHuuCnhVPP9ewscdORkH8bVcsQr2q9BurdM4UJ7v kM72xmEgFGvYHRzMBLT5NEH54BKdjgsX64EZ3lUXr4OTCXfvzy5KUv03VO4msq7nmozb 1LyoDkGBgmt8iwtQujz0O4d8TrteRgJZbqsyRjmQGfPG6Vag/9RXY5gDgd10KVZxn3oF nwnouajaK2M+vtK6kxrHRlxK/UqNQq6i+KS5Yfb3Vg9XeEVB8OdsU2MFsI4nvLCWAq1s UOIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.b=PaYoZE1+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id j33si10887482qte.251.2017.06.26.04.28.23 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 26 Jun 2017 04:28:23 -0700 (PDT) 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; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.b=PaYoZE1+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPSBp-0008BX-0W for patch@linaro.org; Mon, 26 Jun 2017 07:28:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPSAx-0007LD-LT for qemu-devel@nongnu.org; Mon, 26 Jun 2017 07:27:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPSAu-0002W6-IS for qemu-devel@nongnu.org; Mon, 26 Jun 2017 07:27:27 -0400 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:37439) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPSAu-0002VV-BE for qemu-devel@nongnu.org; Mon, 26 Jun 2017 07:27:24 -0400 Received: by mail-wm0-x236.google.com with SMTP id i127so4896078wma.0 for ; Mon, 26 Jun 2017 04:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=BdqEamWo5YfFh6ZviGwCdqZwdck8jsiHieYoDebfFXo=; b=PaYoZE1+H60pwJzdT3FQdK9JH5a2BJtFN5usE3Gf7aJhSLYdrcHRM2VyR5z2p31MuS piqcIzPcHnpkbVZsCzX1yO3bhflWOy9KERxc9VG+5XGEpvc8Q1Ht5v7pGM76FaTNfR+U /dL98+ZLD5NxK311vW3CKLf3fWtJ9vzbQhjVs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=BdqEamWo5YfFh6ZviGwCdqZwdck8jsiHieYoDebfFXo=; b=jmNSVqY9pr1u5DBTgevezYI2pCGbqlOt7XcQNbU/1QXuhwgpTcxaMrxLD3GgELRwgn 26fgOD82htubrq3c+/ZVhJL/c9ckHb2PEA7t8jOmDzpezNxndpbfCNFmKa2Mx+eb2moa 0gJqTBbAZu7Ph0uA50VUJ5Me237yGj7N2MLolaGFInF4SU9P5Fg/AkJE1TC4YQCLspGp Ug6Oh+rL2DtlpXHWj7TvcBFgdTxTQtssPF50YJo2btrfpfrUQXD2MtjVeI3rkSV8jz55 bFzidYVu9n71aj5kvP9FlnbFRW/qbdgYAn2KFhKS6NtwSUBLeUB1K66XFzAHfOY/lpd0 A2zg== X-Gm-Message-State: AKS2vOwyRpIxrQKw/lNGJHWIaqHYyv8KTGd764PQYjiM/PYx6YY2kgbz 0YgbrTntQhfbkcso X-Received: by 10.28.50.200 with SMTP id y191mr8096586wmy.104.1498476442921; Mon, 26 Jun 2017 04:27:22 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id r142sm12989991wmg.24.2017.06.26.04.27.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Jun 2017 04:27:21 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 579153E0141; Mon, 26 Jun 2017 12:28:12 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: vilanova@ac.upc.edu Date: Mon, 26 Jun 2017 12:28:09 +0100 Message-Id: <20170626112809.15020-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.13.0 In-Reply-To: <149838143590.6497.11184953059640962891.stgit@frigg.lan> References: <149838143590.6497.11184953059640962891.stgit@frigg.lan> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::236 Subject: [Qemu-devel] [PATCH] maybe fixup! target: [tcg] Redefine DISAS_* onto the generic translation framework (DJ_*) X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Marek Vasut , Chris Wulff , =?utf-8?q?Alex_Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Arguably these should be applied to nios2 before these changes. Signed-off-by: Alex Bennée --- target/nios2/cpu.h | 2 -- target/nios2/op_helper.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) -- 2.13.0 diff --git a/target/nios2/cpu.h b/target/nios2/cpu.h index 13931f3f0b..b6a97c131e 100644 --- a/target/nios2/cpu.h +++ b/target/nios2/cpu.h @@ -259,8 +259,6 @@ static inline int cpu_interrupts_enabled(CPUNios2State *env) } #include "exec/cpu-all.h" -#include "exec/exec-all.h" - static inline void cpu_get_tb_cpu_state(CPUNios2State *env, target_ulong *pc, target_ulong *cs_base, uint32_t *flags) { diff --git a/target/nios2/op_helper.c b/target/nios2/op_helper.c index efb1c489c9..04c16e8701 100644 --- a/target/nios2/op_helper.c +++ b/target/nios2/op_helper.c @@ -21,6 +21,7 @@ #include "cpu.h" #include "exec/helper-proto.h" #include "exec/cpu_ldst.h" +#include "exec/exec-all.h" #include "qemu/main-loop.h" #if !defined(CONFIG_USER_ONLY)