Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E3671CCD1BF for ; Fri, 24 Oct 2025 19:46:21 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vCNjv-0002S8-0v; Fri, 24 Oct 2025 15:46:19 -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 1vCNjp-0002Ni-OK for qemu-arm@nongnu.org; Fri, 24 Oct 2025 15:46:13 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1vCNjk-0003YP-QW for qemu-arm@nongnu.org; Fri, 24 Oct 2025 15:46:13 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-475db4ad7e4so666515e9.3 for ; Fri, 24 Oct 2025 12:46:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1761335165; x=1761939965; 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=Cla2YszDVwablt8Ymyx/d1GI0PEfMm4fj8BCEX8Hctc=; b=Uth6r2qDrCrCX7FXAxu/9jjz6CGpMAIXC2rpeuAw4LUjbIrS+8HnKvYQqvKuVPPgsS 1OCM067sASOcRjnR1rOpD+nUpGaraUysc5gwHxEhE4iOP2ikb0lTTOBq+84l9+Bdf67M KvQLvvgFRQpEr8adN3vukjlaMoAKZ916eVfN9qipJ9JMROaeqewiz2VJ6ONun0t5IX9r NSNhc1e2ja2Z6AoV/tg+tgKCqcMZFsTJqyJzvfKGd3dJEwZVlz/f5Bn6pAlk7j3zyNej ht0q6xMLK2n2AyIXlINjVNZtI30rn0yMzUFNUy/pGiPu1UpJIEk068gBvDqeu287zwm5 4t1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761335165; x=1761939965; 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=Cla2YszDVwablt8Ymyx/d1GI0PEfMm4fj8BCEX8Hctc=; b=iAj9srd9JiLrMthmurznEps1k5h7POuZa3Vu/zx812G/s3UIwje/rVBniZ6EvGOOZK Sg5yUWI1U+LkmfOz3aEz86A+4RrQiCkS+WTIxC9dCrLEeGmiVRuD+vbz2tSmi0ZpYJqW IN6xPk2EtR+Hc+CxzV2mFTUZZmt5Tz1sb8aAj4BHeUjSdgMKB5gBPUKwRIHfpWs+gKoH d3J8xGi6ISr8h+KRI9VpSDH4SobvvV+VUNsj08cVTsnqMvC9XW8FAzyKoPDW+ex1Kb1d o6Jv5ddAgodRB0H7VOrOv+vKkbmKgrHad28oc+R7c2H+cYiITUX2CQbfQckKosm4OacG w5OA== X-Gm-Message-State: AOJu0Yx4+ZUP5WG1YtufAVxNAWmJO9L4i8mXoIeQLTV8Mb6Rl9FcjDxo ve4IMAKEdhyY0eo7X+NyER4RNI/H7DXWXGQLnc5FDx1yVTCZR8LwjVadIjliba9GBfo= X-Gm-Gg: ASbGncuMW2RYRruEn9wfNWyfiIhfxjKu+5XcE5AXa/VkABxwyZPe3gS+f9sI8jffK55 EZxJhz009UJKJlvVZqq1s/ypXg4IGgT/DzvkG8HkRiStQOqaS3W3M/XMf0madfMn3efMJrlfQt5 eTXEu+Po2nlos4iFW08gNhyDCQGlaLO1PNYd7CDv2UwHD032pFXGYjUvShOG3ndIG3RvisQKrIb vc807sEBpGC2tAI1rrU18dcrDBaK5xLXovgYBEMuGWIZOGiebxQMgsmbfmlJ6kSXEoWhc5ItFXg DGGqFxIYM19CkgScf3tvhsbZl9Zk3B4x2ZlqhZI9ZPKcSGyzoSxtekKiI1mlhtVhvhYEsyZMOoV fwfdnJUkH2WCsuFelnvsYqYXwYtXhDHTj09tAQ+ss8pdsAaNhQvnWN4y+pXfxb1ZMtnIrBtpPPR 3kTKJnFofAtxaMZKfL29Tg44AL8ot5Ep4h7ZS3BHvOmaucOInFif93cy7mUNm7/y0hqWPLpnU= X-Google-Smtp-Source: AGHT+IGSptXEI9c9Ynsr/iv3pZ589oWEr2VkZOpX37HpNrWv1MrV6VdutHVVPIXNK+OpALK/3rpETA== X-Received: by 2002:a05:600c:1d15:b0:46d:d949:daba with SMTP id 5b1f17b1804b1-475caf93244mr56926095e9.4.1761335165309; Fri, 24 Oct 2025 12:46:05 -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-475c428e9b2sm167837405e9.5.2025.10.24.12.46.04 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 24 Oct 2025 12:46:04 -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?= , Yoshinori Sato , Magnus Damm , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Paolo Bonzini Subject: [PATCH 27/27] hw/rx: Include missing 'system/memory.h' header Date: Fri, 24 Oct 2025 21:04:14 +0200 Message-ID: <20251024190416.8803-28-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: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=philmd@linaro.org; helo=mail-wm1-x334.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-arm@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-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org Sender: qemu-arm-bounces+qemu-arm=archiver.kernel.org@nongnu.org "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/rx/rx62n.c:27: In file included from /Users/philmd/source/qemu/include/hw/rx/rx62n.h:28: include/hw/intc/rx_icu.h:50:18: error: field has incomplete type 'MemoryRegion' (aka 'struct MemoryRegion') 50 | MemoryRegion memory; | ^ In file included from ../../hw/char/renesas_sci.c:30: include/hw/char/renesas_sci.h:34:18: error: field has incomplete type 'MemoryRegion' (aka 'struct MemoryRegion') 34 | MemoryRegion memory; | ^ Signed-off-by: Philippe Mathieu-Daudé --- include/hw/char/renesas_sci.h | 1 + include/hw/intc/rx_icu.h | 1 + include/hw/timer/renesas_cmt.h | 1 + include/hw/timer/renesas_tmr.h | 1 + 4 files changed, 4 insertions(+) diff --git a/include/hw/char/renesas_sci.h b/include/hw/char/renesas_sci.h index a4764e3eee3..26142a20baf 100644 --- a/include/hw/char/renesas_sci.h +++ b/include/hw/char/renesas_sci.h @@ -12,6 +12,7 @@ #include "chardev/char-fe.h" #include "hw/sysbus.h" #include "qom/object.h" +#include "system/memory.h" #define TYPE_RENESAS_SCI "renesas-sci" typedef struct RSCIState RSCIState; diff --git a/include/hw/intc/rx_icu.h b/include/hw/intc/rx_icu.h index b23504f3dd1..a8ca94938d4 100644 --- a/include/hw/intc/rx_icu.h +++ b/include/hw/intc/rx_icu.h @@ -23,6 +23,7 @@ #include "hw/sysbus.h" #include "qom/object.h" +#include "system/memory.h" enum TRG_MODE { TRG_LEVEL = 0, diff --git a/include/hw/timer/renesas_cmt.h b/include/hw/timer/renesas_cmt.h index 1c0b65c1d5a..64bd14dc7a8 100644 --- a/include/hw/timer/renesas_cmt.h +++ b/include/hw/timer/renesas_cmt.h @@ -12,6 +12,7 @@ #include "qemu/timer.h" #include "hw/sysbus.h" #include "qom/object.h" +#include "system/memory.h" #define TYPE_RENESAS_CMT "renesas-cmt" typedef struct RCMTState RCMTState; diff --git a/include/hw/timer/renesas_tmr.h b/include/hw/timer/renesas_tmr.h index caf7eec0dca..f6c5937f40a 100644 --- a/include/hw/timer/renesas_tmr.h +++ b/include/hw/timer/renesas_tmr.h @@ -12,6 +12,7 @@ #include "qemu/timer.h" #include "hw/sysbus.h" #include "qom/object.h" +#include "system/memory.h" #define TYPE_RENESAS_TMR "renesas-tmr" typedef struct RTMRState RTMRState; -- 2.51.0