Message ID | 20241218155202.71931-4-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp996945wrq; Wed, 18 Dec 2024 07:54:37 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVbz3u8m/RKhQNwfkyRmMrjaBKXrO/VGJwRj0ePKAHRCSJSOa6GxPUUu6eJNmNmrHUkSa3/EA==@linaro.org X-Google-Smtp-Source: AGHT+IEvgYpzpq4KGziE3X/L5/vw8h+oLKliuQRQOzJP2fUg2zZsdt+fg4hcMPLKltRdqM5Vqgvk X-Received: by 2002:a05:620a:1924:b0:7b7:67d:b57e with SMTP id af79cd13be357-7b8635fd0a5mr583773985a.15.1734537277683; Wed, 18 Dec 2024 07:54:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734537277; cv=none; d=google.com; s=arc-20240605; b=Roz2qiSpP4qSSHZrLsJS5Srq6WdcA9dP7/y+E2ySasVCT2a7bgmve+5ZGYc6eoCsPB a+nahMKVjFxN6PxrFZQdJNIARSbf069dvCAgpgqSPZNdEacweekyl5VttwvF/w35fHVg fzpqk+jFiB2gGTTopvCZFiOYrBx9cTJd5zH8GnwaEraTJtCsDzdW6sOCeUPwpwZwSNfb d2LYaUdXLHhzdIEYVz7onfbHDAk8wfbHiySonUqasbtmoxvgw58zHVzghqcC8U3AdwxZ AXISEV2uJh61pwW1RdUYKXwB/MbJsxlxVA8bGP/x04rr2I/dxRuEch6GnpoHFNPVbr8/ kduA== 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=ib9+afMAQlHaOpnPQrKm50FlQeuT4/NIcMi4TUV3nMU=; fh=6k0MZVgfsXKcq8uDUDKqeWpuita9EVBGa5i3EnNNhIs=; b=Oi4HV/VIGTYAFtTZ2+CRUG4LIUH1UnlvHpNKf0M1V+Er49K0YKuEDArch6xC0uDqLc m0jvCmhQMdbs4hRIqqkLNJBty2j4swxP/5wbdYuSW53GIRvntjU3lq+xdKSkG/AUi4UP bd5pkRvEItpThKp9APaWd/ZXE54Z5cfS3Ak5lK/K4F+ZoTUgD92c7ZDShLG1WNTAqoCp ZehVh8jHc0pI283iDPgW1tdH6z4/l3LPPi1rw4hrIb3TNlZcM836kL9IlxXU3FL5M+UQ A9LL1YIFpSwidgoVVOLgciwkFPqqkAjTlZ1PfsxcXUgO+BiZ0c5vaNW0BBKS8deawViY m5sg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LjgXGtJK; 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 af79cd13be357-7b7048f251csi1417450685a.633.2024.12.18.07.54.37 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 18 Dec 2024 07:54:37 -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=LjgXGtJK; 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 1tNwLe-0007XN-1i; Wed, 18 Dec 2024 10:52:30 -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 1tNwLc-0007WS-5t for qemu-devel@nongnu.org; Wed, 18 Dec 2024 10:52:28 -0500 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) 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 1tNwLY-0006QP-Tj for qemu-devel@nongnu.org; Wed, 18 Dec 2024 10:52:27 -0500 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3863703258fso624677f8f.1 for <qemu-devel@nongnu.org>; Wed, 18 Dec 2024 07:52:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734537138; x=1735141938; 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=ib9+afMAQlHaOpnPQrKm50FlQeuT4/NIcMi4TUV3nMU=; b=LjgXGtJKT7zOZJOUdMsBIpBQe1wcgl8Tsap8FWqqGrBxqwUMHBMbpFPM7wvruq/c62 SCeE/UqgxnUllBd1UaoOiO3vHUjrHDj1ZRUR5gj15eTKwL2iMlnvUKRdLSFi/CWbGtBE q9GtfJhbsc2FEfMTCsPbq+5NYi3fGKSShh8t4DkDU7+0vOv8jj2ag54tpDu8kIxc2b7K Yet8rgczkMxelGgqUHI2J8iMirnyicg+0rauhr0pmTc2nRIcoFUhpAWKQSoICZXDzoPf dJSGgEad8H3PYxle2JihpQ35Qs00v+wPfR3z06cXWTVO8O6vX+N5T3+kODKihKI05GiK Tl0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734537138; x=1735141938; 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=ib9+afMAQlHaOpnPQrKm50FlQeuT4/NIcMi4TUV3nMU=; b=sp5LcizP7a96zg/JCBKXX4+WmvHZPtS5mtvhbVqZbWEFwxqDV0PEfbUWQlkJP+qrnm Yv+W7njs9YO4aPSclFoTaohWnDh18eqFW1+pvzipZmOO3H6sti/4LeF6e+qHWVyyuA85 uYFDtEYz8g39Q94bgmvZoMqZS0gKtm9MurJTzjdA4VR1NuNtZRbgPtzFRsjPLZ/FoGdY fQvUcQm9+IIrOCrwi3l9rLSIGNGI+fVJ54xwRl+keDmJngCoAhB6p5ftKfUw3I4JBgpZ 5e4xee93GG7fYOPo0XDgd+jHb4+rYe5l1V85vxBWMCE5Zy61645gNUW5GgZcCPL7HOAa wosQ== X-Gm-Message-State: AOJu0YxJdiYPea1io24dIWLYIxjSznoobpNNETgATl0SwvP9+7PjJvZL KLiK8Zmk22eqoVrflqjRul2PqmHL/7qyTVsVceYjwZRFYJNKoIaeuD3/kEeizIVgAbzXJl6eVKr y X-Gm-Gg: ASbGncvWBJPHDpnBJt9nLks+y2zpEAR5leF86qx4Tcfd09sBslg9s4by7124K6jtrmz SNLyjmgWDE+e3FTcfVRKpx22tpUHIGpqRBbd4iclCBlP/bbIoHqv6LKXBBlWNtNLuZkCKpMS3db mNPSGHshe0X27B5d14+XyLaASeiIJ4MAMuyBm+KtZksklVviArfpZxASD1WFyG1LlOATK3netLm xH1urt0FzKeI/x+0i7aYAjZUmFNf1Vqk2RLBq7gWe4MWpynZHhdb8Z7ryAEJMfygIIEBDrnWX88 SXjR X-Received: by 2002:a5d:5f53:0:b0:385:e3e7:547b with SMTP id ffacd0b85a97d-388e4e95107mr3183389f8f.25.1734537138228; Wed, 18 Dec 2024 07:52:18 -0800 (PST) Received: from localhost.localdomain ([78.196.4.158]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-388c80601desm14330975f8f.90.2024.12.18.07.52.17 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 18 Dec 2024 07:52:17 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-ppc@nongnu.org, Richard Henderson <richard.henderson@linaro.org>, =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= <philmd@linaro.org> Subject: [PATCH 3/4] exec/ram_addr: Include missing 'exec/hwaddr.h' and 'exec/cpu-common.h' Date: Wed, 18 Dec 2024 16:52:01 +0100 Message-ID: <20241218155202.71931-4-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20241218155202.71931-1-philmd@linaro.org> References: <20241218155202.71931-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::434; envelope-from=philmd@linaro.org; helo=mail-wr1-x434.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=unavailable 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 |
include: Header cleanups around "cpu.h"
|
expand
|
diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h index 53785cdb87c..ff157c1f42a 100644 --- a/include/exec/ram_addr.h +++ b/include/exec/ram_addr.h @@ -28,6 +28,9 @@ #include "exec/exec-all.h" #include "qemu/rcu.h" +#include "exec/hwaddr.h" +#include "exec/cpu-common.h" + extern uint64_t total_dirty_pages; /**
'hwaddr' is defined in "exec/hwaddr.h", 'ram_addr_t' in "exec/cpu-common.h". Include these headers in order to avoid when refactoring unrelated headers: In file included from ../../hw/s390x/s390-virtio-ccw.c:17: include/sysemu/physmem-target.h:37:24: error: unknown type name 'hwaddr' 37 | (MemoryRegion *mr, hwaddr offset, hwaddr length, unsigned client); | ^ In file included from ../../hw/s390x/s390-virtio-ccw.c:16: include/exec/ram_addr.h:52:36: error: unknown type name 'ram_addr_t' 52 | RAMBlock *qemu_ram_alloc_from_file(ram_addr_t size, MemoryRegion *mr, | ^ Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> --- include/exec/ram_addr.h | 3 +++ 1 file changed, 3 insertions(+)