From nobody Mon Oct 27 14:12:52 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=1761334927; cv=none; d=zohomail.com; s=zohoarc; b=MtUN94LNsyudkSl/smoImYUefxBl8Eh2+QFmlBso/Zq0Npy1K675Ez1ieA3KpbsN0F6WHLc7UDTDKgjrTlaIUQZNfvl4v8uir5hJ+azmLAd8f46Sr2481m6KffrKdq3Rt7h3zmfhEObN4qKuU7T06GxYFyom1z8hlxzMfomvk6c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1761334927; h=Content-Type: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=KpH1TjiIWYMoy+2aYVMfZHyQSqeUvDzN9D1JMZexHpc=; b=TrBUXAXYM1hlfVuRsHELGJ+Il5k/yNcZENDD1XjngTM/fJA3pM9zEnxvVUQaqLXK3oNxLS+ptw3nsn7MX3WVM3qUfAf4VGcyV2xX/6eSI9E8f0aqo5lyvZRAAQFCSQvfZQ3r6q3J9Q6PaizHSVkiSgPYMCoQianU8X3/yKvYeis= 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 1761334927852347.07603409642843; Fri, 24 Oct 2025 12:42:07 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vCNfL-0007yS-SZ; Fri, 24 Oct 2025 15:41:35 -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 1vCNfJ-0007tV-9G for qemu-devel@nongnu.org; Fri, 24 Oct 2025 15:41:34 -0400 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vCNfH-00034V-1Q for qemu-devel@nongnu.org; Fri, 24 Oct 2025 15:41:33 -0400 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-475dc6029b6so301255e9.0 for ; Fri, 24 Oct 2025 12:41:29 -0700 (PDT) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-475cae9f571sm107387325e9.7.2025.10.24.12.41.27 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 24 Oct 2025 12:41:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761334888; x=1761939688; 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=KpH1TjiIWYMoy+2aYVMfZHyQSqeUvDzN9D1JMZexHpc=; b=IPXmp0HdRJvYINqiR++Z3ZOpRlU+90GxkmTAs/RHEuJ+FyNZeeJg3WltINBPrdfZ2K gIKDzZDV2Bibd39TWHikf4FkOw6TvoqK41RbHth5AcG3GdY4wF49UyEavVBZa+h7Qjrg 1FqhA52oHaL9uVBJIO+DiVCw2SrhfXgbN5uLUOPRg7w1f+KYLto++a77bkyhAOzY2emb eOzTqds/TAXbxn0NWg098/0TtHhCLGkcz3be8ugfx9r0U5Hnez7B9rH44rvK8PNWE5e2 7re6abLK2MiW8FA1yvnRBM4W/hs6LSTU4Es3v1KDeiCs9kzK6vqqd5Mraof6gOuzVqEu W+ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761334888; x=1761939688; 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=KpH1TjiIWYMoy+2aYVMfZHyQSqeUvDzN9D1JMZexHpc=; b=LPQSL525gUdlyuKVylnfXvN2SILnCr/xVBQr72gMwsfXVuFQHNd1WMd4emyjojnflv /JpFL7laCVuxQPQYfra7nOZikdy9XDeh9qMJjIM1MNy8ANzKBNxJ/LTLCiRJQujjQ1MC jEd3+JAI4QLu2FaeNMd3ja0FY1rjnVhbIfWdm53WK37FLXA+AEc/Pk6vI49YoApRGrJx aY2kMe97l5qXtWbUdBG1/5yTu/qZxlpL8Ij8OO8vUYyUwjQ+xWKHUd6keHGrINukZBoF DOh9hgr6sZSMYuOoatQ2sJhUGJJfv6ARlb4JC5RCgqNQ5TJPwTw2Pp6hessvBT3npokZ Mvvw== X-Gm-Message-State: AOJu0Yy7eDqWzlYLyqe4uZLy+lSVZQ5TpcqxJE8CadpwD8VDgSBuDPbu yWshYW8MAgVJSOun3z5ls9YnYdp6jgLOERKLPSkmeodsLVxmZGo24EXu9WgXvdjSfBFAVqA8QN5 VG7WChRM= X-Gm-Gg: ASbGncv/go/94AgmkEScoiXqPIKYkrVoroNOfGWC00K849xy244KTubkecaEdtz+jdM HqUZBbeCIOSwISUWsH5HcMALhvb8fiLaLd942nWeHM0eY7R2Uj2Phb+8aVcVE+tgAH0KQUM68ZW 1U0dbmAmaK0GOCFOJSbD6LfOuB3j1sA77pGfaCcBHkQliwETApLYfeOEw287ZjyLP+8QWPDDVGw V0ajbzRfBjIBbUMNqPDkmV8oNnEZZarMU++sWa2pZttf2T+V6uR/bLbaxcjPNVyZyAsTRZEYjLm wAfYzS8Jn8/HwnJERwxX6c2Zbp9vQ64+HhHFJLAjku/5/UfX7VcptOA++j9UzvJch0P6IyAWQ// WwZ0HpwUzygsEzOKuDWEakEG9fxBttO9d74mBVozOGXMtpWkMVTZgiamkDYn80bl4XFyo+bAgWT TKuWNRNa8yhA+s0SvTwuNHxpYU+N8YphlS915Tib3xN/aasGwNoWZ5AINgE7GR X-Google-Smtp-Source: AGHT+IH6/dZ1UCh6BkdG06z1NSspqbsgE2j1KQM2XnC+xyXgfkt/gcwR5yK/U9aRTqcDlnLNjY6/Jw== X-Received: by 2002:a05:600c:3b82:b0:475:daa7:ec60 with SMTP id 5b1f17b1804b1-475daa7ee4amr10581395e9.21.1761334888253; Fri, 24 Oct 2025 12:41:28 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-riscv@nongnu.org, qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Jiaxun Yang Subject: [PATCH 24/27] hw/mips: Include missing 'system/memory.h' header Date: Fri, 24 Oct 2025 21:04:11 +0200 Message-ID: <20251024190416.8803-25-philmd@linaro.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251024190416.8803-1-philmd@linaro.org> References: <20251024190416.8803-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" 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=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.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: 1761334930217158500 "system/memory.h" header is indirectly pulled by "hw/sysbus.h". Include it explicitly to avoid when refactoring the latter: In file included from ../../hw/misc/mips_itu.c:26: include/hw/misc/mips_itu.h:65:18: error: field has incomplete type 'Memor= yRegion' (aka 'struct MemoryRegion') 65 | MemoryRegion storage_io; | ^ In file included from ../../hw/misc/mips_cmgcr.c:17: include/hw/misc/mips_cmgcr.h:80:18: error: field has incomplete type 'Mem= oryRegion' (aka 'struct MemoryRegion') 80 | MemoryRegion iomem; | ^ Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- include/hw/misc/mips_cmgcr.h | 1 + include/hw/misc/mips_itu.h | 1 + 2 files changed, 2 insertions(+) diff --git a/include/hw/misc/mips_cmgcr.h b/include/hw/misc/mips_cmgcr.h index db4bf5f4499..e15731f18ce 100644 --- a/include/hw/misc/mips_cmgcr.h +++ b/include/hw/misc/mips_cmgcr.h @@ -12,6 +12,7 @@ =20 #include "hw/sysbus.h" #include "qom/object.h" +#include "system/memory.h" =20 #define TYPE_MIPS_GCR "mips-gcr" OBJECT_DECLARE_SIMPLE_TYPE(MIPSGCRState, MIPS_GCR) diff --git a/include/hw/misc/mips_itu.h b/include/hw/misc/mips_itu.h index 27c9a1090d5..1a684d90a15 100644 --- a/include/hw/misc/mips_itu.h +++ b/include/hw/misc/mips_itu.h @@ -22,6 +22,7 @@ =20 #include "hw/sysbus.h" #include "qom/object.h" +#include "system/memory.h" =20 #define TYPE_MIPS_ITU "mips-itu" OBJECT_DECLARE_SIMPLE_TYPE(MIPSITUState, MIPS_ITU) --=20 2.51.0