Message ID | 20241114011310.3615-6-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:9bcc:0:b0:382:184f:390f with SMTP id e12csp49538wrc; Wed, 13 Nov 2024 17:17:58 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXpQliuZZxPmwyB9sgrM6XFpLnCOj3ZBxT3nyW5IUGnQtx0hUAGYbcNp3IxAhLb2WUDVUVX3w==@linaro.org X-Google-Smtp-Source: AGHT+IGaPTrzAEnq/5u1Wxk87kNpQntAG9ApPNRzGVoO9lqD4AIuZMY3a0eAOqlb+MYJpE2u9YGW X-Received: by 2002:a05:6214:5503:b0:6cb:82fc:2741 with SMTP id 6a1803df08f44-6d3edec7e7amr1867376d6.49.1731547078524; Wed, 13 Nov 2024 17:17:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1731547078; cv=none; d=google.com; s=arc-20240605; b=hn4pMt2bHq5Tj6e32sFNGprZwUEKAbAzCEWdzMu7DIpd5dBVFCOwafNVXLNsk6c7dM cWQNmYN7ih+7JEtsRI83+UQYO62UBlnKoOOTEgE1aepi2GrnldeW9pfYc+fIJM5ZN9Vr o2pnaWn09/D9tN3MmjhMDEqeNQAt5SXjYiaZTc+stcFEs1lgoAMcxxnoFbtozvcd31A4 zVmbuReLP/5nQHa1dyERUKCp5fK/9n3L7g/M4yuEWbo8Y4rFq8TIH41Js0ObQ8TRtkgj SCdZMIvESeWnkHYcNQ63EEyZXsymVq77Vdy2e3e1oBacRq9qu+E7xAf+nNL6TvI9MeAu fh9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=hctc3S/tg6amAjvlXZaTioZ5Yr338cGDDSPzRbh8Ywo=; fh=afH3T2temvGz2Z3g21zI/0WM+GCiDLcSBYSKUEHXzxw=; b=MVC8S+WRONUiTLIdSh5bTvfLJWEY7y4ERCms0FCwMwwCmxUxtGvDQsRxnyaZJQLe/F BRNfAtHIBDnZxhBXWQEy9dRF1cKyVyy2XkuXhvXPXPoogPBa2mQXaZQivef+p61QVzVZ XHJrd9zZUP/51ruinrxLlDFaB0QdckJ4xYtkcYFb+nwlrkmX5lO4Vn+CdXBu844wSooL 341u+u8gTWp0/0BbogMc8qeLrsi5ngtnpPTWIDvu3OpEnnRZljFlHnvnDpDZVDqaxeIr oKY+tt5y3F3BtanFp19WHaG7e62I8uQkfkpH123Zy35QeaAPvRUtOQKDeIosb/nkNp7d FJ/Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vdmf4X3R; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6d3ee8fc3a2si343786d6.340.2024.11.13.17.17.58 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 13 Nov 2024 17:17:58 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vdmf4X3R; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tBOR2-0007g7-4G; Wed, 13 Nov 2024 20:14:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tBOQy-0007fg-Fn for qemu-devel@nongnu.org; Wed, 13 Nov 2024 20:14:08 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tBOQw-00021J-Es for qemu-devel@nongnu.org; Wed, 13 Nov 2024 20:14:08 -0500 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-38207c86695so90421f8f.2 for <qemu-devel@nongnu.org>; Wed, 13 Nov 2024 17:14:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1731546844; x=1732151644; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hctc3S/tg6amAjvlXZaTioZ5Yr338cGDDSPzRbh8Ywo=; b=vdmf4X3RwQzuywq2vM1eg7M7uUvpjcBujgcE0tO8OY4/uqEjWIICIc2+7OtRn9PL09 E4sXWIMeQAdOH9ClLSukEYTj8pjP0FfEA947E/fw9hMcB7scBa88ldt3Pd/RxjcdCRtl u13YutO51RF3tVTG2fUdgCrOX4GPijgcPU4bf9G1vZoRPtlRWNRdtXcCrW0T4q+7vlWG uv+J459WW4mi4r02ej+vi/ob4uLX9pj+0hHcdMAsRZhwCIoOLGDOIhpIjXO7hkpod61G UQFKDT5OIa9rveybUQ/L5Pg8GF0OBS41cWiP8U+OAkZdI7kp0mQSfM9TVeZo6z3CHUdl 900A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731546844; x=1732151644; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=hctc3S/tg6amAjvlXZaTioZ5Yr338cGDDSPzRbh8Ywo=; b=BFgBB4dq5d29J59WS+qy7e34+vl9tk0oCUjC0tu0WSTrXLjEakX9U93Q7mC5vK9Pf8 HzKOPkvU0sNxbrtBHH3xZuF+53LVzKifvH0MwzcM1Gz/3dHYniGlsatQOb33+WC06QCH PoO9g7cHhG47YTGHYpcwNKy4YLcN2/aO3a42Lpop5BwqwYj5SP0nyAxdxrh3IpRYs/fM f1nUTbwONvatxe3rZqr/GhDW1i2k/mvanI3Mi1kiWASopckMvF5hq3DCLkS2iguDaiuG itSn0OTFLNLYvpHqsrgyOZYHMHqH9aGXT+Q4CuNJJe2O89r+dZy3Mos9C5BF6fMs4TjD SFIw== X-Forwarded-Encrypted: i=1; AJvYcCVnjvzZA+uZiebdIBhkKdvG86Z+aCghZJv0QqIDzdIcQbNYgC8Oef4iUBVsdhV/v0WltTrtQwyJKmXk@nongnu.org X-Gm-Message-State: AOJu0YzYtvZsRVIxBx1ZG9B+FMj36mr/KIPOrk4xeBdTefPh8rd9swuR xXxieuBY//N9x6KDPhX3DSEnz6TJOKU7u3GyCpkwzIy4C46JKPiBWWkX+YcdLKM= X-Received: by 2002:a5d:648b:0:b0:37d:47ee:10d9 with SMTP id ffacd0b85a97d-381f1873485mr19654057f8f.34.1731546844586; Wed, 13 Nov 2024 17:14:04 -0800 (PST) Received: from localhost.localdomain ([176.187.209.238]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-381ed97e46bsm19427592f8f.30.2024.11.13.17.14.01 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 13 Nov 2024 17:14:03 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Anton Johansson <anjo@rev.ng>, qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, Thomas Huth <thuth@redhat.com>, qemu-arm@nongnu.org, Peter Xu <peterx@redhat.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, qemu-riscv@nongnu.org, David Hildenbrand <david@redhat.com>, Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>, qemu-s390x@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH 05/24] target/i386/helper: Include missing 'exec/translation-block.h' header Date: Thu, 14 Nov 2024 02:12:50 +0100 Message-ID: <20241114011310.3615-6-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241114011310.3615-1-philmd@linaro.org> References: <20241114011310.3615-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=philmd@linaro.org; helo=mail-wr1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> 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 |
Series |
exec: Build up 'cputlb.h' and 'ram_addr.h' headers
|
expand
|
On 11/13/24 17:12, Philippe Mathieu-Daudé wrote: > TB compile flags are defined in "exec/translation-block.h". > Include it in order to avoid when refactoring: > > target/i386/helper.c:536:28: error: use of undeclared identifier 'CF_PCREL' > 536 | if (tcg_cflags_has(cs, CF_PCREL)) { > | ^ > > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> > --- > target/i386/helper.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/target/i386/helper.c b/target/i386/helper.c > index 01a268a30b..75c52e2143 100644 > --- a/target/i386/helper.c > +++ b/target/i386/helper.c > @@ -21,6 +21,7 @@ > #include "qapi/qapi-events-run-state.h" > #include "cpu.h" > #include "exec/exec-all.h" > +#include "exec/translation-block.h" > #include "sysemu/runstate.h" > #ifndef CONFIG_USER_ONLY > #include "sysemu/hw_accel.h" Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
diff --git a/target/i386/helper.c b/target/i386/helper.c index 01a268a30b..75c52e2143 100644 --- a/target/i386/helper.c +++ b/target/i386/helper.c @@ -21,6 +21,7 @@ #include "qapi/qapi-events-run-state.h" #include "cpu.h" #include "exec/exec-all.h" +#include "exec/translation-block.h" #include "sysemu/runstate.h" #ifndef CONFIG_USER_ONLY #include "sysemu/hw_accel.h"
TB compile flags are defined in "exec/translation-block.h". Include it in order to avoid when refactoring: target/i386/helper.c:536:28: error: use of undeclared identifier 'CF_PCREL' 536 | if (tcg_cflags_has(cs, CF_PCREL)) { | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- target/i386/helper.c | 1 + 1 file changed, 1 insertion(+)