From nobody Fri Oct 24 20:17:15 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of _spf.google.com designates 209.85.216.194 as permitted sender) client-ip=209.85.216.194; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-qt0-f194.google.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of _spf.google.com designates 209.85.216.194 as permitted sender) smtp.mailfrom=philippe.mathieu.daude@gmail.com Received: from mail-qt0-f194.google.com (mail-qt0-f194.google.com [209.85.216.194]) by mx.zohomail.com with SMTPS id 1518668961079839.2722220084548; Wed, 14 Feb 2018 20:29:21 -0800 (PST) Received: by mail-qt0-f194.google.com with SMTP id k13so10471694qtg.5 for ; Wed, 14 Feb 2018 20:29:20 -0800 (PST) Return-Path: Return-Path: Received: from x1.local ([138.117.48.219]) by smtp.gmail.com with ESMTPSA id t33sm10680312qtc.14.2018.02.14.20.29.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Feb 2018 20:29:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DFPgGTTb0Eqq7D02FqFtfb9z6gi/xMA0DbkR3ZI1lmA=; b=oHD4izyiGQeyFS42dzKUrmkMYODq9RBX6I3Lcum36NWNOHf49SRs8inYJrF/5Ew1Li NRZmUlp+lKm8Q5lTHUD8IWohx7ZD4/z9jvdEcxoatZqHF0H653LuU9WfbZqXC8KKlk1d q45i6lCQo/R4pd9f03rLgZrqGmzCQzysr/19F4KQBhig4cNQcZWZzq0ZbiCdrPgPSihx 37KHcId31F/Spp4v6nRBdkygB3Avg8aY13v7CWYiVgsunVYIUPxeIlPHbgyYJtaefkBi AIAM7/zAM/YAolHRzl4vlGlqg9HZOvlIUklL6tZV3s7fvl5Sucz+2pxKmQcMxHGLjMgh Lc6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=DFPgGTTb0Eqq7D02FqFtfb9z6gi/xMA0DbkR3ZI1lmA=; b=ctwo58Rge3Ba0zSnTSxr51s3nEuhzAWJcOzsLd2b5eOpRLeEtmDRfVs/HvaubTwp6F TG5Lctx79Koj0qcgpTNduMJOVExKiEdIKV5A2bUSh1Tku+78XN36KFDS8sQAPwR3rri4 fVdvs2T5eQTgyOXt5p4/cQycPXwv8BloFhFy+ApxdpWtK5kP9AnjaN2nQmbXD50QIgnK BMpyKGb1GKTNsYkQGVYr6TpKmaJVJW1jZaAYVkv4ZxsDlbpW9VjXTBUl6qnVv/03LJES Iva/ov6IAE6pT9I/KFpXCpjzQAwyXn1WpjKvM4l/JW7cBE8Ffo/yULCCM7YjGJlQNTVi PLhA== X-Gm-Message-State: APf1xPDcxhI5hvRZ2HYC3WGMdmQkMURnL2uteVdu9+s/8yFcQOeez7qu 9ujEWeqaMfgmXU6LGJhK6K8= X-Google-Smtp-Source: AH8x225nVYQVJSTt3b7t5LTY7oORJ3x8GplswGSwx9y2i6Z8BiXKdHYhtLwFbVYwMSdpYkQBR+v8OQ== X-Received: by 10.200.44.116 with SMTP id e49mr2331702qta.183.1518668960115; Wed, 14 Feb 2018 20:29:20 -0800 (PST) Sender: =?UTF-8?Q?Philippe_Mathieu=2DDaud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Subbaraya Sundeep , Peter Maydell , Paul Burton , Eduardo Habkost , Marcel Apfelbaum , "Edgar E. Iglesias" , Richard Henderson , Michael Walle , Aurelien Jarno , Yongbok Kim , Chris Wulff , Marek Vasut , Alexander Graf , David Gibson , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , Mark Cave-Ayland , Artyom Tarasenko , Gerd Hoffmann , Samuel Thibault , qemu-arm@nongnu.org (open list:ARM), qemu-ppc@nongnu.org (open list:New World) Subject: [PATCH 02/30] hw: include "qemu/cunits.h" and clean unused "qemu/cutils.h" Date: Thu, 15 Feb 2018 01:28:32 -0300 Message-Id: <20180215042900.16078-3-f4bug@amsat.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180215042900.16078-1-f4bug@amsat.org> References: <20180215042900.16078-1-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZohoMail: RDKM_0 RSF_0 Z_629925259 SPT_0 These files were including "qemu/cutils.h" to use the byte-based size definitions, now available in "qemu/cunits.h". Signed-off-by: Philippe Mathieu-Daud=C3=A9 --- include/hw/hw.h | 1 + hw/arm/msf2-soc.c | 1 - hw/arm/msf2-som.c | 1 - hw/core/loader-fit.c | 1 - hw/core/loader.c | 1 - hw/core/machine.c | 1 - hw/cris/boot.c | 1 - hw/display/sm501.c | 1 - hw/hppa/machine.c | 1 - hw/lm32/milkymist.c | 1 - hw/microblaze/boot.c | 1 - hw/mips/boston.c | 1 - hw/misc/mos6522.c | 1 - hw/nios2/boot.c | 1 - hw/ppc/mac_newworld.c | 1 - hw/ppc/mac_oldworld.c | 1 - hw/ppc/pnv.c | 1 - hw/ppc/prep.c | 1 - hw/ppc/spapr_rtas.c | 1 - hw/sd/sdhci.c | 1 - hw/sparc/sun4m.c | 1 - hw/sparc64/sun4u.c | 1 - hw/usb/dev-serial.c | 1 - hw/usb/dev-storage.c | 1 - 24 files changed, 1 insertion(+), 23 deletions(-) diff --git a/include/hw/hw.h b/include/hw/hw.h index ab4950c312..8249448cac 100644 --- a/include/hw/hw.h +++ b/include/hw/hw.h @@ -14,6 +14,7 @@ #include "migration/qemu-file-types.h" #include "qemu/module.h" #include "sysemu/reset.h" +#include "qemu/cunits.h" =20 void QEMU_NORETURN hw_error(const char *fmt, ...) GCC_FMT_ATTR(1, 2); =20 diff --git a/hw/arm/msf2-soc.c b/hw/arm/msf2-soc.c index a8ec2cdf36..952cda45ed 100644 --- a/hw/arm/msf2-soc.c +++ b/hw/arm/msf2-soc.c @@ -30,7 +30,6 @@ #include "hw/char/serial.h" #include "hw/boards.h" #include "sysemu/block-backend.h" -#include "qemu/cutils.h" #include "hw/arm/msf2-soc.h" #include "hw/misc/unimp.h" =20 diff --git a/hw/arm/msf2-som.c b/hw/arm/msf2-som.c index 0795a3a3a1..d3e6ed00fe 100644 --- a/hw/arm/msf2-som.c +++ b/hw/arm/msf2-som.c @@ -28,7 +28,6 @@ #include "hw/boards.h" #include "hw/arm/arm.h" #include "exec/address-spaces.h" -#include "qemu/cutils.h" #include "hw/arm/msf2-soc.h" #include "cpu.h" =20 diff --git a/hw/core/loader-fit.c b/hw/core/loader-fit.c index 0c4a7207f4..0208e5b357 100644 --- a/hw/core/loader-fit.c +++ b/hw/core/loader-fit.c @@ -22,7 +22,6 @@ #include "exec/memory.h" #include "hw/loader.h" #include "hw/loader-fit.h" -#include "qemu/cutils.h" #include "qemu/error-report.h" #include "sysemu/device_tree.h" #include "sysemu/sysemu.h" diff --git a/hw/core/loader.c b/hw/core/loader.c index 91669d65aa..aa9050c65e 100644 --- a/hw/core/loader.c +++ b/hw/core/loader.c @@ -54,7 +54,6 @@ #include "exec/memory.h" #include "exec/address-spaces.h" #include "hw/boards.h" -#include "qemu/cutils.h" =20 #include =20 diff --git a/hw/core/machine.c b/hw/core/machine.c index 5d445839e8..7a7ec0c1e1 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -19,7 +19,6 @@ #include "sysemu/sysemu.h" #include "sysemu/numa.h" #include "qemu/error-report.h" -#include "qemu/cutils.h" #include "sysemu/qtest.h" =20 static char *machine_get_accel(Object *obj, Error **errp) diff --git a/hw/cris/boot.c b/hw/cris/boot.c index f896ed7f86..7d423ed92f 100644 --- a/hw/cris/boot.c +++ b/hw/cris/boot.c @@ -29,7 +29,6 @@ #include "hw/loader.h" #include "elf.h" #include "boot.h" -#include "qemu/cutils.h" =20 static void main_cpu_reset(void *opaque) { diff --git a/hw/display/sm501.c b/hw/display/sm501.c index f4bb33c279..00cf8358e2 100644 --- a/hw/display/sm501.c +++ b/hw/display/sm501.c @@ -24,7 +24,6 @@ */ =20 #include "qemu/osdep.h" -#include "qemu/cutils.h" #include "qapi/error.h" #include "qemu-common.h" #include "cpu.h" diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c index 19033e268d..22a15112df 100644 --- a/hw/hppa/machine.c +++ b/hw/hppa/machine.c @@ -17,7 +17,6 @@ #include "hw/timer/i8254.h" #include "hw/char/serial.h" #include "hw/hppa/hppa_sys.h" -#include "qemu/cutils.h" #include "qapi/error.h" #include "qemu/log.h" =20 diff --git a/hw/lm32/milkymist.c b/hw/lm32/milkymist.c index 85d64fe58d..471a74eaa1 100644 --- a/hw/lm32/milkymist.c +++ b/hw/lm32/milkymist.c @@ -34,7 +34,6 @@ #include "milkymist-hw.h" #include "lm32.h" #include "exec/address-spaces.h" -#include "qemu/cutils.h" =20 #define BIOS_FILENAME "mmone-bios.bin" #define BIOS_OFFSET 0x00860000 diff --git a/hw/microblaze/boot.c b/hw/microblaze/boot.c index 35bfeda7aa..5b30d63c17 100644 --- a/hw/microblaze/boot.c +++ b/hw/microblaze/boot.c @@ -34,7 +34,6 @@ #include "sysemu/sysemu.h" #include "hw/loader.h" #include "elf.h" -#include "qemu/cutils.h" =20 #include "boot.h" =20 diff --git a/hw/mips/boston.c b/hw/mips/boston.c index fb23161b33..e99f3638cf 100644 --- a/hw/mips/boston.c +++ b/hw/mips/boston.c @@ -32,7 +32,6 @@ #include "hw/mips/cpudevs.h" #include "hw/pci-host/xilinx-pcie.h" #include "qapi/error.h" -#include "qemu/cutils.h" #include "qemu/error-report.h" #include "qemu/log.h" #include "chardev/char.h" diff --git a/hw/misc/mos6522.c b/hw/misc/mos6522.c index 8ad9fc831e..b55e6acbe2 100644 --- a/hw/misc/mos6522.c +++ b/hw/misc/mos6522.c @@ -29,7 +29,6 @@ #include "hw/misc/mos6522.h" #include "qemu/timer.h" #include "sysemu/sysemu.h" -#include "qemu/cutils.h" #include "qemu/log.h" #include "trace.h" =20 diff --git a/hw/nios2/boot.c b/hw/nios2/boot.c index 94f436e7fb..771e00267b 100644 --- a/hw/nios2/boot.c +++ b/hw/nios2/boot.c @@ -38,7 +38,6 @@ #include "sysemu/sysemu.h" #include "hw/loader.h" #include "elf.h" -#include "qemu/cutils.h" =20 #include "boot.h" =20 diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c index b832417a56..90496f5a48 100644 --- a/hw/ppc/mac_newworld.c +++ b/hw/ppc/mac_newworld.c @@ -71,7 +71,6 @@ #include "sysemu/block-backend.h" #include "exec/address-spaces.h" #include "hw/sysbus.h" -#include "qemu/cutils.h" #include "trace.h" =20 #define MAX_IDE_BUS 2 diff --git a/hw/ppc/mac_oldworld.c b/hw/ppc/mac_oldworld.c index d1f4546613..9b19551f56 100644 --- a/hw/ppc/mac_oldworld.c +++ b/hw/ppc/mac_oldworld.c @@ -45,7 +45,6 @@ #include "kvm_ppc.h" #include "sysemu/block-backend.h" #include "exec/address-spaces.h" -#include "qemu/cutils.h" =20 #define MAX_IDE_BUS 2 #define CFG_ADDR 0xf0000510 diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c index 98ee3c607a..3d943dd71b 100644 --- a/hw/ppc/pnv.c +++ b/hw/ppc/pnv.c @@ -31,7 +31,6 @@ #include "hw/ppc/pnv_core.h" #include "hw/loader.h" #include "exec/address-spaces.h" -#include "qemu/cutils.h" #include "qapi/visitor.h" #include "monitor/monitor.h" #include "hw/intc/intc.h" diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c index 096d4d4cfb..f7c0a48558 100644 --- a/hw/ppc/prep.c +++ b/hw/ppc/prep.c @@ -50,7 +50,6 @@ #include "exec/address-spaces.h" #include "trace.h" #include "elf.h" -#include "qemu/cutils.h" #include "kvm_ppc.h" =20 /* SMP is not enabled, for now */ diff --git a/hw/ppc/spapr_rtas.c b/hw/ppc/spapr_rtas.c index 4bb939d3d1..7e26a9fb5a 100644 --- a/hw/ppc/spapr_rtas.c +++ b/hw/ppc/spapr_rtas.c @@ -43,7 +43,6 @@ =20 #include #include "hw/ppc/spapr_drc.h" -#include "qemu/cutils.h" #include "trace.h" #include "hw/ppc/fdt.h" =20 diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index 97b4a473c8..cf935c2008 100644 --- a/hw/sd/sdhci.c +++ b/hw/sd/sdhci.c @@ -34,7 +34,6 @@ #include "hw/sd/sdhci.h" #include "sdhci-internal.h" #include "qemu/log.h" -#include "qemu/cutils.h" #include "trace.h" =20 #define TYPE_SDHCI_BUS "sdhci-bus" diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c index f9892e38c3..0008b90b04 100644 --- a/hw/sparc/sun4m.c +++ b/hw/sparc/sun4m.c @@ -46,7 +46,6 @@ #include "elf.h" #include "sysemu/block-backend.h" #include "trace.h" -#include "qemu/cutils.h" =20 /* * Sun4m architecture was used in the following machines: diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c index da28ab9413..b84589e0b6 100644 --- a/hw/sparc64/sun4u.c +++ b/hw/sparc64/sun4u.c @@ -50,7 +50,6 @@ #include "hw/loader.h" #include "elf.h" #include "trace.h" -#include "qemu/cutils.h" =20 #define KERNEL_LOAD_ADDR 0x00404000 #define CMDLINE_ADDR 0x003ff000 diff --git a/hw/usb/dev-serial.c b/hw/usb/dev-serial.c index 2829dda391..5e610722ee 100644 --- a/hw/usb/dev-serial.c +++ b/hw/usb/dev-serial.c @@ -11,7 +11,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu-common.h" -#include "qemu/cutils.h" #include "qemu/error-report.h" #include "hw/usb.h" #include "hw/usb/desc.h" diff --git a/hw/usb/dev-storage.c b/hw/usb/dev-storage.c index b56c75a73a..d02c5d76c6 100644 --- a/hw/usb/dev-storage.c +++ b/hw/usb/dev-storage.c @@ -22,7 +22,6 @@ #include "sysemu/block-backend.h" #include "sysemu/blockdev.h" #include "qapi/visitor.h" -#include "qemu/cutils.h" =20 //#define DEBUG_MSD =20 --=20 2.16.1