From patchwork Thu May 1 21:20:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 886404 Delivered-To: patch@linaro.org Received: by 2002:a5d:430f:0:b0:38f:210b:807b with SMTP id h15csp519949wrq; Thu, 1 May 2025 14:24:43 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCX9p73i4++Va1rIoCJddIcaKihqqKrWNP6COvpQlDQfjI9Eo99zd5T+5vEq1kilofQyWtVe4g==@linaro.org X-Google-Smtp-Source: AGHT+IErgIy0Bb7/4zjQ7BViWlATmjmxyqhw7cQSZpmhD+D3J8Zx7eSbcdCs/UExW63t6fZZGdsu X-Received: by 2002:a05:622a:1244:b0:48a:2a08:cbee with SMTP id d75a77b69052e-48c32fb9fe1mr9235851cf.47.1746134683002; Thu, 01 May 2025 14:24:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1746134682; cv=none; d=google.com; s=arc-20240605; b=JS9rP3ziF9g32mRu0oxqxR6kBO4MxXu6gXVClPTGzHOpZuVswY8VBBqSvleJwExHXP hchGrHib5jP7cJaoi4eQLxMzlJiZ8idynokdp+bZZrbRRhAeIyMYqfKcPPcAPjA30Rxu vvOYDwOcwcxFI4OumuhxGwJJVPlQvUHQNUSUGFHQH0u19f9KnOfsXGIA3lD2c+AAQXiV UjQuGQGvJdoFj00ZbXovZWEqKU+NHzmWcPOb29H4z2MqPtFxSAaU20ciJ4p8EL43S6gS g/+Xkj8eOMeq4+iarUOGYUeDG1lI47djLy9lmIpLgQVmafG8DokqCoZiJnIOEtCQkq18 AVVw== 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=27xaPxYDe2r5uVdVLgh1cUarR6C7vq0+H7FwQk1GTjM=; fh=PjYa4uPoeADTKnRq5Eqjv7EED7j8KakOu5fQ07C5ync=; b=KSLL3lr9MzdUd+R3HxPEu3y2sVA94Asjd7fEe2t7AMQqU/oNYBAjJC5oDbQ3wsn9Ar voulxPJF6miz30cznNfsTV6uRCaAo29kPJRqU2a7+YbRVqqDtj5lPg1w8FwS36vsCEaD oj2PCtqnYCuunK8xlL4J56n6qWb03V91huw1RqknB8q9SnE/ueZ99294/NkHEkc9zLbJ wa1z7Wg44Ajt+h7K6z2UCk+/UUhaC9M3x6MlKKGfiVsPfAc8g59wVZ4H9t/Fj8WOLPIE n/zxlrHzMYf4sWPqE6rLPyiM1ySwMOn+8jdmFWCJMkR4JzsPRYNs+ZRzaq/LoVCwQxkz 5CmQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zhcQimxZ; 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-48b98d10058si15306551cf.477.2025.05.01.14.24.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 May 2025 14:24:42 -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=zhcQimxZ; 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 1uAbLs-00014b-SM; Thu, 01 May 2025 17:21:52 -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 1uAbLV-0000mK-JQ for qemu-devel@nongnu.org; Thu, 01 May 2025 17:21:31 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uAbLT-0001TR-OB for qemu-devel@nongnu.org; Thu, 01 May 2025 17:21:29 -0400 Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-3085f827538so1909308a91.0 for ; Thu, 01 May 2025 14:21:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1746134486; x=1746739286; 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=27xaPxYDe2r5uVdVLgh1cUarR6C7vq0+H7FwQk1GTjM=; b=zhcQimxZlzqKdj7nJqieYs6AwvfgSo8b3MsvB0LXzO88HKBv9eNMtvfieFDEBjUUO8 n1DO5YpXS0Mdw48v+YT6ZjlQsgdKQ1V9Jk5ybZIjMgKtE5k7eJjUolT+sQ1Fb0w6X2er FXT3m96KfBycVlF0AnzfRAQoTwrBdv/m2LDY5eFvvFNOUDpuqGLvOS7MAvhRmQZgFNbF qcIfIhFACQ/dt8GVCTwyJzVjfdHodjxzPAHzTce3lFVNIZS6YyBceABzYyHjJImLfAuC ERgy5LOPylM2vjEC3wcwJhrYOtFPOySFrxvQLxNCjEfNlDON+MR2yD50Glifc6yKLW2a jpbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746134486; x=1746739286; 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=27xaPxYDe2r5uVdVLgh1cUarR6C7vq0+H7FwQk1GTjM=; b=GwvtaHDYzobRDgIpEpBItsTkO2jUj72pe02ESO3ycnPv+tR0O9PzpnYBHYbrSBVMMe yGViBpLK6gL6dwiLoufBY4AAQ8p+7iAJXn4STTdMbdbPh/zUC36v04wb1HlDUK+6cw+R MU9/M4nQqLcVau+Wamx8JgbQsYU/ufO9jfqojctxINngHRQWfKqrBP47oClCoHmY4RSA bVpRlpztHgqgUtcruoYU8kIPpypx+C7bEnZSgIcB3b5irq2qVh3lbm0mde87Tzj0CUdr B85tcFxFH2QShakLke3OayR91HQAAKu3TnspoyZnbmjfsYgLYTmQxhYv39zhZB4cd5VP RtuQ== X-Gm-Message-State: AOJu0Yyhawb1wHf+ZEQCbw5mhVG6dcHTaTS9M8T8UejzkrrvmA6bA7Hk 0VxMj1rpMTAvfGwyAVo9k2zUcgksHhde2gm12TjdB36Tn+IjK/3FVPHAZxrj/BwwLJhn2dUANef S X-Gm-Gg: ASbGnctO0y23yx4I2fhVnd4A2betK88lhNa8/QyTUhFd0sdT+eWLrEns4eOiyKpbrFM 2V8w34rwoOVX7gyb1JpyTL1S2NAtthCX9WV7AX+xnLpa7gepAfZiqtIu30sYVSTmm04Qn+1xNZd XOOttkLetqFlw6d1RtBjaKR94Z5VBY48gmMIeigpucgmbybVX7i44XdaSeG3RPmaXyv8KlDF367 rfJT/yWmWh3OyJVg+BHE35GyjuFDHlCzIHG0OgqrsOgGOzD6lXBrgOlxmicbCk0mgojxTB9x8dh lBisl6OvPR+YWWN4MwHMx+AC/mL3l3UL28MMpT+2G6Y9G/JKqqh8YdshEIvDqywGy8I6/tH80tq O9C2n0SE0HQ== X-Received: by 2002:a17:90b:2711:b0:2ee:9d49:3ae6 with SMTP id 98e67ed59e1d1-30a4e5aa625mr1040633a91.10.1746134486180; Thu, 01 May 2025 14:21:26 -0700 (PDT) Received: from stoup.. (71-212-47-143.tukw.qwest.net. [71.212.47.143]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-30a476267e0sm1384573a91.39.2025.05.01.14.21.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 May 2025 14:21:25 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Mark Cave-Ayland Subject: [PULL 14/59] include/exec: Include missing headers in exec-all.h Date: Thu, 1 May 2025 14:20:28 -0700 Message-ID: <20250501212113.2961531-15-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 Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1033.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 From: Philippe Mathieu-Daudé "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 Signed-off-by: Richard Henderson Message-ID: <20250424202412.91612-5-philmd@linaro.org> --- 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 24383b6aba..c46255e66e 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"