From patchwork Thu Apr 24 09:46:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 883939 Delivered-To: patch@linaro.org Received: by 2002:a5d:474d:0:b0:38f:210b:807b with SMTP id o13csp3341861wrs; Thu, 24 Apr 2025 02:48:57 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVMlOQjb3W3ayxs6PdKIMIb276gUncZBOaEnTWTJfMaE7UFpW+G6Vz0eXRqnOeaL6US+hGdBw==@linaro.org X-Google-Smtp-Source: AGHT+IGwhj74IMk9UNZI46Wsx6ERCn7kj383y/wk92LzafRx3bsejSnUSyI3tlPZ5RghWlM5aVEi X-Received: by 2002:ac8:58c1:0:b0:476:6b20:2cf3 with SMTP id d75a77b69052e-47eb4c9fd08mr21970421cf.33.1745488136831; Thu, 24 Apr 2025 02:48:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1745488136; cv=none; d=google.com; s=arc-20240605; b=aca0WP3jU8MGblv6CXfHTiHDLIjSZeYNnbzfX5wpY/KyjqvgvaAYdEJfKyO54Rv3ka AOq4m8M4t0sZwMQ9Gyr8RJ/J+Qe2nVKbBvsOYH7oCX4JL43RXCrovZomLCeqFwqk1rKl GnqwbGGUvsWbVM+2PgoBbIkgANWad58goE4r6nxFUjyCfWjbVilmU4cWYaZCp/7anboO nW2meVwgFlNJTjRMtonMxugwYSGWWRCE3q9fY22ZO3MPopJWJ1PukMTWu3yHDNf+g5ZZ 6OLKGdKPt40qmS2Gxbj3rfwEXVX0Y35X4ItXVYMtGQQH9zOHGUve9JXXctM/6s7gjMDm FeHw== 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=Z+dClDFlT5FzPOmVGUogkFyrT6hsGGcZxW7y5tMgj+s=; fh=OfreXVzz+9AWc5zm3wgpgY6oO4v5p5SO53/S12OWUWc=; b=DCCJt/Sq4/SZororrfz382Pymi1zxpEiL3fL4qPqM5NgcThkmC1ZzuRzLF5Ol4rqxB A0dkFNCYr/rTa4gxvk368CKsJRQnzfLM62aiFCnuiCqT/isJAozXxLAg7LMWH05mKlSB RMsWdFMgKSTolbw06v3yv725JMFZQ09bmh3MArGX4zHNmCAHIkmUJgKA32OBipceVUXJ JiMBHIb7drgowvpfJhL0RS+PVsUl+NRA4Vt9rVjv5hteGRJ9sCa0DUzx3l6VBFDzZ30N MbL/4Vs1gD7xa6WkQqzox0Rt2BEtzTqfIa5O+Jg5AoKFh9YHKOAl2MB63QzYps2aCsA4 zXeQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KbADdO92; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-47e9f9a2579si13965751cf.142.2025.04.24.02.48.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 24 Apr 2025 02:48:56 -0700 (PDT) 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=KbADdO92; 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 ) id 1u7tAu-0007dF-4x; Thu, 24 Apr 2025 05:47:20 -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 1u7tAs-0007ce-3j for qemu-devel@nongnu.org; Thu, 24 Apr 2025 05:47:18 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1u7tAq-0002Zd-CO for qemu-devel@nongnu.org; Thu, 24 Apr 2025 05:47:17 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-39c31e4c3e5so513006f8f.0 for ; Thu, 24 Apr 2025 02:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1745488034; x=1746092834; 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=Z+dClDFlT5FzPOmVGUogkFyrT6hsGGcZxW7y5tMgj+s=; b=KbADdO92CIGfFxIPHuzkaQozscuO0Ewm2Y2fh1XKiYL5KDqHBTWgnwdgufo0GfAq1C Oa2rVWHL3Gzp+j7DZ5r63WPFxLqoudv9LTzrpEPH8bW67zSZaZJ9Ho8ZBSxvOFohyZEL ud1X3L07L0ciujvO2zqqwVigzJvfKmn8K5eSwFVOswEwtLAYk4IXL1pLyHohcVxh4fH7 3NDCdC05Xmz2wse1QzLmBBuza4qW/ft3FW3pMN+xA4Lpc9nEebRkInGLf4TlNR98VVA0 FI+uXabgvTfhXVgS8ujtTxY5XW3TurrFWDtTlM8WH5KPLba/mBlMXrpP+ggUngfR+A/k yKLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745488034; x=1746092834; 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=Z+dClDFlT5FzPOmVGUogkFyrT6hsGGcZxW7y5tMgj+s=; b=ni2Pq4K5a6k/JjKjtEIVXpWCw54U2Y5rC7ODxh6HYHktNxKT93J0E98UnvxpWzlQzK aO/dKzl8TeT5Aw6SQEmhNI/s91fdC2pszzadluHn9RwZMd7E6BPcmkwGR5svD2aRKJv8 kzrrX8Bj9VMyfPb4UaBxA82HZus+gvwvcVCFiGL8LkNs5gzPOZtzRXagH85xgN+7rT6u cJedmmmZBqu/kgE/DwQ5sNlF2RWfg3q7a71IEYLhbQDhS6Ml0oMScl1wbtEN/rGw1GD4 3n6STASHc130JvvWAuToSp8LL1PYXTbNMUYwTfwkIS6LAo2DrMbfeISEYItg9Gsn7uVJ 9zfg== X-Gm-Message-State: AOJu0YyL2CRtlAX6DkbOxKO4jOE3B36BlqAP4xNt1HYR5l3pR3HY6rwV tMTNlnXe+tUnDHQWOfXt5lGoMnnReXWT8xUtfWv4g4NNafdU2kgmSK3F1NSvQ4BLDzHrtimqvFb Z X-Gm-Gg: ASbGncu5yzlWnuPcOEY7CjEIAQn5P/yKcOQteY4FzuFLvbxs6PH9y3vYumqNY3Nany1 nswTcPM2CAECSHebxdjYWtPp/+1IMaynJh1aXVphadG9ny2XACo6OVO7A68bj9PmHrWCl2yktSA Pl4oI+7rpEDbVUg69DdD1HDZ24Y8PxfgJANtQZxGq1uXunhN5Aji3VWLmi9VXOBOv1bq2Ri02Av Dlx2q4+sk2snjpiRmak5NDX8DPTNRc469FeijUuIyJjlEaSjA0FAVouDinxhyd0QzQRW+I3u4re t1Fdf9SJedk35QtQGtmjd5xEUrLpJtIO1wqyFplUlNgUSFkptd+Gj6lgeo0+kWRKEr8ibMJyrAt aDuTk8C9m4NlxtWYLXcSo X-Received: by 2002:a05:6000:228a:b0:39a:cd84:a77a with SMTP id ffacd0b85a97d-3a06cfa2f37mr1380357f8f.37.1745488034503; Thu, 24 Apr 2025 02:47:14 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a06d4c4b52sm1535896f8f.55.2025.04.24.02.47.13 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 24 Apr 2025 02:47:13 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, Richard Henderson Cc: Pierrick Bouvier , Paolo Bonzini , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 04/13] include/exec: Include missing headers in exec-all.h Date: Thu, 24 Apr 2025 11:46:44 +0200 Message-ID: <20250424094653.35932-5-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250424094653.35932-1-philmd@linaro.org> References: <20250424094653.35932-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=philmd@linaro.org; helo=mail-wr1-x429.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org "exec/exec-all.h" declares prototypes such: void *probe_access(CPUArchState *env, vaddr addr, int size, ^^^^^ MMUAccessType access_type, int mmu_idx, uintptr_t retaddr); MemoryRegionSection *iotlb_to_section(CPUState *cpu, hwaddr index, ^^^^^^ MemTxAttrs attrs); ^^^^^^^^^^ vaddr is defined in "exec/vaddr.h", hwaddr in "exec/hwaddr.h" and MemTxAttrs in "exec/memattrs.h". All these headers are indirectly pulled in via "exec/translation-block.h". Since we will remove "exec/translation-block.h" in the next commit, include the missing ones, otherwise we'd get errors such: include/exec/exec-all.h:51:1: error: unknown type name 'hwaddr' 51 | hwaddr memory_region_section_get_iotlb(CPUState *cpu, | ^ Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Mark Cave-Ayland --- include/exec/exec-all.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 24383b6abad..c46255e66ef 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -20,8 +20,11 @@ #ifndef EXEC_ALL_H #define EXEC_ALL_H +#include "exec/hwaddr.h" +#include "exec/memattrs.h" #include "exec/mmu-access-type.h" #include "exec/translation-block.h" +#include "exec/vaddr.h" #if defined(CONFIG_TCG) #include "accel/tcg/getpc.h"