From nobody Sat Nov 15 23:56:12 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1746134767; cv=none; d=zohomail.com; s=zohoarc; b=gd6B0cVyK2D2fuwQ0og5JKm+W8bPKDl/V7++pqq6vrLoi1q8qw5LOJglcaPlNqRY9BuUJC6XzItjiblBsQpJbmXbGU2fhSpj6Qaap+dZUWtB6H96uLDZwKg73ndHEvjIPHHqDTx31FhsQwbfFVpVHo7C6CtttsTk6kPO6x8qoGc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1746134767; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=nJR5rA8G7peaLdmnNfXC4dbOSl1Fc6PId1P5lzDPvoI=; b=hyxD54F+zUJqm8nTIxv3CM03Tk7bihE330R3nZs6o1u68QrX21RXyMT8d+vRvxgvahq9RpGu50z+M+gJqWt1Yk6DWtXLsEwu/0peDz5FmKZ6qEGpurxaCxN+58i3pXcXvH0szZqiLE4VoYP7r/v3NBsR4OFiXxY/yXWRNwKN8Wk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1746134767867571.6498049139722; Thu, 1 May 2025 14:26:07 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uAbPS-0006QY-IJ; Thu, 01 May 2025 17:25:34 -0400 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 ) id 1uAbOo-0004b2-Ui for qemu-devel@nongnu.org; Thu, 01 May 2025 17:24:55 -0400 Received: from mail-pf1-x42a.google.com ([2607:f8b0:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uAbOm-0002Bo-NB for qemu-devel@nongnu.org; Thu, 01 May 2025 17:24:54 -0400 Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-736b350a22cso1242999b3a.1 for ; Thu, 01 May 2025 14:24:52 -0700 (PDT) Received: from stoup.. (71-212-47-143.tukw.qwest.net. [71.212.47.143]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-740590610desm135897b3a.146.2025.05.01.14.24.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 May 2025 14:24:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746134691; x=1746739491; 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=nJR5rA8G7peaLdmnNfXC4dbOSl1Fc6PId1P5lzDPvoI=; b=y22gnZ7T0WMI2lPXJAh8M1fWcukRhqFGD4SIDzqSKSF0xhg3gBcajx07aWPDnVrzjx xzuLWeN6gLMZ9FYXC4BTBZFipqAD2iPo+Sc7uXpQyK7Uk1XiQxVlk2BHbh0G1n3BGJd5 4OfUgrVJNdYCMxE8hefz3U+SyJtjtpk4udq2t0Zkn/WkD6lbr/N1Mb3tWb/b4nye9k3r 6DFZu2knjENtHTyiq/eBlsHh5JU7Jcy8gp2aBgjPn1F/I38++uIPOin6SHEUmR/stjnJ hCnf2qLK0GakaIFsQWKkT9fsrMAa9WgciJcF9RitcFdoxLRCvURHtu/U22NRpRr3N0kI JHcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746134691; x=1746739491; 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=nJR5rA8G7peaLdmnNfXC4dbOSl1Fc6PId1P5lzDPvoI=; b=FdQQkXoLPWiE/4CjeVva67TxMK0p5eG3d/68w6ITuGCwP/dDQchd3o0am12varPXXE Wztff/P6K/pYdbcTsKVZTA62UadbVeF1VjMrKvqccL7dDK0w257XKZ/bb7lmSatjJEZb LRYBHwgBgH2Re3XU026RDkm+AR2VZf4i3wRwkyAejzOeFkGb1Gk84L+lsxN76LhaKda2 xKb2YKBy53GFzSzitJ0RSbnrBWO1BkDLH8SYQczEmRMtjMHY1M38OfGPzUUXxLU1cloX eNM9Yg6UFodV3M/ztjNb/McRl/fQ7LeryoyLVVaXml+d0k54LUCGpV/A5DJBNgBzedyz 72BA== X-Gm-Message-State: AOJu0YxtbmWcM3fTKHGzqkLM+XzUCelgA6MfzA3XgZ7usX6DwzlYMXbG o5ON0nhab2sASOanYGSY4P430Q3J1/+UlBo7HOrd2XYOwsuhfqpm05r9RdWf8qUsx60qwMLpf+1 N X-Gm-Gg: ASbGncsgYdG0eHS4ep9Gpe5SaW9rrTANIJZt+s39QKSOt9JUuYrrvdMsLqJpoHo4948 /NSrhVaTlA5f5vqyxR3OF7BWxxz1C6nq4gBFutQGwHsNlfa0dGfuXIztZ+2vzSruti1faYlPkbj 9ah4Up28Smd0oY4xWdTSaM+uSMFaNr38EhI3o/4ho1UyikYK0abjIp3bpJVZBap5sjEJwgVgqI9 Sb/fNcvTPrjEWTrQfqofo+7LW1fiof9btf9qrd7+hdT6v1ieRGL4ZwfVrlPg0FEiAVFmkY959JC U1n0iyrcoMwGWg3XEWFefy+c2+GJvhEC16chAEjXAwLOpQX1JaSPZ/+tJeTKZPYFOlVKdXweLG0 = X-Google-Smtp-Source: AGHT+IF5gnslwRycSuZUhZUfBr7P3jws3g75V9HMO/5tfsGLMbZzAjuh9oeR52BVT/7e7/MAvmRq9A== X-Received: by 2002:a05:6a21:3a4a:b0:1fe:9537:84a0 with SMTP id adf61e73a8af0-20cde951a73mr614149637.15.1746134691275; Thu, 01 May 2025 14:24:51 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Pierrick Bouvier Subject: [PULL 46/59] accel/tcg: Build translate-all.c twice Date: Thu, 1 May 2025 14:21:00 -0700 Message-ID: <20250501212113.2961531-47-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250501212113.2961531-1-richard.henderson@linaro.org> References: <20250501212113.2961531-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::42a; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42a.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1746134770038019100 Content-Type: text/plain; charset="utf-8" Remove lots and lots of unused headers. Reviewed-by: Pierrick Bouvier Signed-off-by: Richard Henderson --- accel/tcg/translate-all.c | 32 -------------------------------- accel/tcg/meson.build | 2 +- 2 files changed, 1 insertion(+), 33 deletions(-) diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index 6b6e10be9d..451b383aa8 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -22,46 +22,15 @@ #include "trace.h" #include "disas/disas.h" #include "tcg/tcg.h" -#if defined(CONFIG_USER_ONLY) -#include "qemu.h" -#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) -#include -#if __FreeBSD_version >=3D 700104 -#define HAVE_KINFO_GETVMMAP -#define sigqueue sigqueue_freebsd /* avoid redefinition */ -#include -#include -#define _KERNEL -#include -#undef _KERNEL -#undef sigqueue -#include -#endif -#endif -#else -#include "system/ram_addr.h" -#endif - -#include "cpu-param.h" -#include "exec/cputlb.h" -#include "exec/page-protection.h" #include "exec/mmap-lock.h" #include "tb-internal.h" #include "tlb-bounds.h" -#include "exec/translator.h" #include "exec/tb-flush.h" -#include "qemu/bitmap.h" -#include "qemu/qemu-print.h" -#include "qemu/main-loop.h" #include "qemu/cacheinfo.h" #include "qemu/target-info.h" -#include "qemu/timer.h" #include "exec/log.h" #include "exec/icount.h" -#include "system/tcg.h" -#include "qapi/error.h" #include "accel/tcg/cpu-ops.h" -#include "accel/tcg/getpc.h" #include "tb-jmp-cache.h" #include "tb-hash.h" #include "tb-context.h" @@ -69,7 +38,6 @@ #include "internal-common.h" #include "tcg/perf.h" #include "tcg/insn-start-words.h" -#include "cpu.h" =20 TBContext tb_ctx; =20 diff --git a/accel/tcg/meson.build b/accel/tcg/meson.build index 0bb089299b..7eb4619aea 100644 --- a/accel/tcg/meson.build +++ b/accel/tcg/meson.build @@ -10,6 +10,7 @@ tcg_ss.add(files( 'tcg-runtime.c', 'tcg-runtime-gvec.c', 'tb-maint.c', + 'translate-all.c', 'translator.c', )) if get_option('plugins') @@ -22,7 +23,6 @@ libsystem_ss.add_all(tcg_ss) tcg_specific_ss =3D ss.source_set() tcg_specific_ss.add(files( 'tcg-all.c', - 'translate-all.c', )) tcg_specific_ss.add(when: 'CONFIG_USER_ONLY', if_true: files('user-exec.c'= )) specific_ss.add_all(when: 'CONFIG_TCG', if_true: tcg_specific_ss) --=20 2.43.0