From: Paolo Bonzini Date: Thu, 27 Nov 2025 07:37:39 +0000 (+0100) Subject: include: move hw/loader.h to hw/core/ X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc9ba017241406054756151095e46c301eb523f1;p=thirdparty%2Fqemu.git include: move hw/loader.h to hw/core/ Signed-off-by: Paolo Bonzini --- diff --git a/hw/acpi/utils.c b/hw/acpi/utils.c index 0c486ea29f..b7cab6f5ca 100644 --- a/hw/acpi/utils.c +++ b/hw/acpi/utils.c @@ -24,7 +24,7 @@ #include "qemu/osdep.h" #include "hw/acpi/aml-build.h" #include "hw/acpi/utils.h" -#include "hw/loader.h" +#include "hw/core/loader.h" MemoryRegion *acpi_add_rom_blob(FWCfgCallback update, void *opaque, GArray *blob, const char *name) diff --git a/hw/alpha/dp264.c b/hw/alpha/dp264.c index b6155646ef..cddd94fec8 100644 --- a/hw/alpha/dp264.c +++ b/hw/alpha/dp264.c @@ -10,7 +10,7 @@ #include "cpu.h" #include "exec/target_page.h" #include "elf.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "alpha_sys.h" #include "qemu/error-report.h" #include "hw/rtc/mc146818rtc.h" diff --git a/hw/arm/allwinner-a10.c b/hw/arm/allwinner-a10.c index 1886df0383..d7508ee0ec 100644 --- a/hw/arm/allwinner-a10.c +++ b/hw/arm/allwinner-a10.c @@ -26,7 +26,7 @@ #include "system/system.h" #include "hw/core/boards.h" #include "hw/usb/hcd-ohci.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "target/arm/cpu-qom.h" #define AW_A10_SRAM_A_BASE 0x00000000 diff --git a/hw/arm/allwinner-h3.c b/hw/arm/allwinner-h3.c index edffc21dd8..6c4c369e99 100644 --- a/hw/arm/allwinner-h3.c +++ b/hw/arm/allwinner-h3.c @@ -27,7 +27,7 @@ #include "hw/char/serial-mm.h" #include "hw/misc/unimp.h" #include "hw/usb/hcd-ehci.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "system/system.h" #include "hw/arm/allwinner-h3.h" #include "target/arm/cpu-qom.h" diff --git a/hw/arm/allwinner-r40.c b/hw/arm/allwinner-r40.c index 313bd21fad..f6d4117a06 100644 --- a/hw/arm/allwinner-r40.c +++ b/hw/arm/allwinner-r40.c @@ -28,7 +28,7 @@ #include "hw/char/serial-mm.h" #include "hw/misc/unimp.h" #include "hw/usb/hcd-ehci.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "system/system.h" #include "hw/arm/allwinner-r40.h" #include "hw/misc/allwinner-r40-dramc.h" diff --git a/hw/arm/armv7m.c b/hw/arm/armv7m.c index 7fa1b37630..8198a83d15 100644 --- a/hw/arm/armv7m.c +++ b/hw/arm/armv7m.c @@ -12,7 +12,7 @@ #include "qapi/error.h" #include "hw/sysbus.h" #include "hw/arm/boot.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "hw/qdev-clock.h" #include "elf.h" diff --git a/hw/arm/aspeed_ast27x0-fc.c b/hw/arm/aspeed_ast27x0-fc.c index a0cbe50d78..1678cce416 100644 --- a/hw/arm/aspeed_ast27x0-fc.c +++ b/hw/arm/aspeed_ast27x0-fc.c @@ -18,7 +18,7 @@ #include "hw/core/boards.h" #include "hw/qdev-clock.h" #include "hw/arm/aspeed_soc.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/arm/boot.h" #include "hw/block/flash.h" #include "hw/arm/aspeed_coprocessor.h" diff --git a/hw/arm/aspeed_soc_common.c b/hw/arm/aspeed_soc_common.c index 78b6ae18f8..84e6458e80 100644 --- a/hw/arm/aspeed_soc_common.c +++ b/hw/arm/aspeed_soc_common.c @@ -18,7 +18,7 @@ #include "hw/char/serial-mm.h" #include "system/blockdev.h" #include "system/block-backend.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "qemu/datadir.h" diff --git a/hw/arm/boot.c b/hw/arm/boot.c index 9b6eaf642e..d87bcb5b88 100644 --- a/hw/arm/boot.c +++ b/hw/arm/boot.c @@ -24,7 +24,7 @@ #include "system/numa.h" #include "hw/core/boards.h" #include "system/reset.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/mem/memory-device.h" #include "elf.h" #include "system/device_tree.h" diff --git a/hw/arm/digic_boards.c b/hw/arm/digic_boards.c index d986e8f7a2..ed12f54200 100644 --- a/hw/arm/digic_boards.c +++ b/hw/arm/digic_boards.c @@ -31,7 +31,7 @@ #include "hw/arm/digic.h" #include "hw/arm/machines-qom.h" #include "hw/block/flash.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "system/qtest.h" #include "qemu/units.h" #include "qemu/cutils.h" diff --git a/hw/arm/exynos4210.c b/hw/arm/exynos4210.c index 2d8e257ca2..992edd3ba8 100644 --- a/hw/arm/exynos4210.c +++ b/hw/arm/exynos4210.c @@ -31,7 +31,7 @@ #include "system/system.h" #include "hw/sysbus.h" #include "hw/arm/boot.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "hw/arm/exynos4210.h" #include "hw/sd/sdhci.h" diff --git a/hw/arm/highbank.c b/hw/arm/highbank.c index 82fa964711..b8c1256328 100644 --- a/hw/arm/highbank.c +++ b/hw/arm/highbank.c @@ -24,7 +24,7 @@ #include "migration/vmstate.h" #include "hw/arm/boot.h" #include "hw/arm/machines-qom.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "net/net.h" #include "system/runstate.h" #include "system/system.h" diff --git a/hw/arm/npcm7xx.c b/hw/arm/npcm7xx.c index ecfae328a9..6d6f674486 100644 --- a/hw/arm/npcm7xx.c +++ b/hw/arm/npcm7xx.c @@ -19,7 +19,7 @@ #include "hw/arm/boot.h" #include "hw/arm/npcm7xx.h" #include "hw/char/serial-mm.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/misc/unimp.h" #include "hw/qdev-clock.h" #include "hw/qdev-properties.h" diff --git a/hw/arm/npcm7xx_boards.c b/hw/arm/npcm7xx_boards.c index c1e100b1e4..fda375eb4c 100644 --- a/hw/arm/npcm7xx_boards.c +++ b/hw/arm/npcm7xx_boards.c @@ -21,7 +21,7 @@ #include "hw/core/cpu.h" #include "hw/i2c/i2c_mux_pca954x.h" #include "hw/i2c/smbus_eeprom.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/nvram/eeprom_at24c.h" #include "hw/qdev-core.h" #include "hw/qdev-properties.h" diff --git a/hw/arm/npcm8xx.c b/hw/arm/npcm8xx.c index 3ad7643b4b..2bf5e132bb 100644 --- a/hw/arm/npcm8xx.c +++ b/hw/arm/npcm8xx.c @@ -22,7 +22,7 @@ #include "hw/arm/npcm8xx.h" #include "hw/char/serial-mm.h" #include "hw/intc/arm_gic.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/misc/unimp.h" #include "hw/qdev-clock.h" #include "hw/qdev-properties.h" diff --git a/hw/arm/npcm8xx_boards.c b/hw/arm/npcm8xx_boards.c index f775b32402..292f44d807 100644 --- a/hw/arm/npcm8xx_boards.c +++ b/hw/arm/npcm8xx_boards.c @@ -21,7 +21,7 @@ #include "hw/arm/npcm8xx.h" #include "hw/arm/machines-qom.h" #include "hw/core/cpu.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-core.h" #include "hw/qdev-properties.h" #include "qapi/error.h" diff --git a/hw/arm/raspi.c b/hw/arm/raspi.c index 910c18213a..637525a7e3 100644 --- a/hw/arm/raspi.c +++ b/hw/arm/raspi.c @@ -23,7 +23,7 @@ #include "hw/registerfields.h" #include "qemu/error-report.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/arm/boot.h" #include "hw/arm/machines-qom.h" #include "qom/object.h" diff --git a/hw/arm/raspi4b.c b/hw/arm/raspi4b.c index 058df2c4c9..ead28500c7 100644 --- a/hw/arm/raspi4b.c +++ b/hw/arm/raspi4b.c @@ -18,7 +18,7 @@ #include "qemu/error-report.h" #include "system/device_tree.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/arm/boot.h" #include "qom/object.h" #include "hw/arm/bcm2838.h" diff --git a/hw/arm/sbsa-ref.c b/hw/arm/sbsa-ref.c index 32d4c52bf5..5f0fb16a54 100644 --- a/hw/arm/sbsa-ref.c +++ b/hw/arm/sbsa-ref.c @@ -42,7 +42,7 @@ #include "hw/ide/ahci-sysbus.h" #include "hw/intc/arm_gicv3_common.h" #include "hw/intc/arm_gicv3_its_common.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/pci-host/gpex.h" #include "hw/qdev-properties.h" #include "hw/usb/usb.h" diff --git a/hw/arm/vexpress.c b/hw/arm/vexpress.c index 2f61ad0dd6..75cb77da82 100644 --- a/hw/arm/vexpress.c +++ b/hw/arm/vexpress.c @@ -33,7 +33,7 @@ #include "net/net.h" #include "system/system.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/block/flash.h" #include "system/device_tree.h" #include "qemu/error-report.h" diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 6155db2b09..c005eb914c 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -51,7 +51,7 @@ #include "system/hvf.h" #include "system/qtest.h" #include "system/system.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "qapi/error.h" #include "qemu/bitops.h" #include "qemu/cutils.h" diff --git a/hw/arm/xilinx_zynq.c b/hw/arm/xilinx_zynq.c index a6dc644d0b..e127b232d7 100644 --- a/hw/arm/xilinx_zynq.c +++ b/hw/arm/xilinx_zynq.c @@ -25,7 +25,7 @@ #include "system/system.h" #include "hw/core/boards.h" #include "hw/block/flash.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/adc/zynq-xadc.h" #include "hw/ssi/ssi.h" #include "hw/usb/chipidea.h" diff --git a/hw/avr/boot.c b/hw/avr/boot.c index e5a29c7218..838378fb25 100644 --- a/hw/avr/boot.c +++ b/hw/avr/boot.c @@ -10,7 +10,7 @@ #include "qemu/osdep.h" #include "qemu/datadir.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "boot.h" #include "qemu/error-report.h" diff --git a/hw/core/generic-loader.c b/hw/core/generic-loader.c index be4fe867e4..590c6a8131 100644 --- a/hw/core/generic-loader.c +++ b/hw/core/generic-loader.c @@ -34,7 +34,7 @@ #include "system/dma.h" #include "system/reset.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "qapi/error.h" #include "qemu/module.h" diff --git a/hw/core/guest-loader.c b/hw/core/guest-loader.c index 07c3646404..e46897c497 100644 --- a/hw/core/guest-loader.c +++ b/hw/core/guest-loader.c @@ -27,7 +27,7 @@ #include "qemu/osdep.h" #include "hw/core/cpu.h" #include "system/dma.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "qapi/error.h" #include "qemu/module.h" diff --git a/hw/core/loader-fit.c b/hw/core/loader-fit.c index 59a625ea57..233a7f78c2 100644 --- a/hw/core/loader-fit.c +++ b/hw/core/loader-fit.c @@ -21,7 +21,7 @@ #include "qapi/error.h" #include "qemu/units.h" #include "system/memory.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/core/loader-fit.h" #include "qemu/cutils.h" #include "qemu/error-report.h" diff --git a/hw/core/loader.c b/hw/core/loader.c index 385730e8ef..40cb187a11 100644 --- a/hw/core/loader.c +++ b/hw/core/loader.c @@ -58,7 +58,7 @@ #include "system/reset.h" #include "system/system.h" #include "uboot_image.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/nvram/fw_cfg.h" #include "system/memory.h" #include "hw/core/boards.h" diff --git a/hw/core/machine.c b/hw/core/machine.c index 1106f86bf5..51c28468ff 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -15,7 +15,7 @@ #include "qemu/accel.h" #include "system/replay.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "qemu/error-report.h" #include "qapi/error.h" #include "qapi/qapi-visit-machine.h" diff --git a/hw/display/artist.c b/hw/display/artist.c index 3c884c9243..5efa9e45ff 100644 --- a/hw/display/artist.c +++ b/hw/display/artist.c @@ -15,7 +15,7 @@ #include "qemu/bswap.h" #include "qapi/error.h" #include "hw/sysbus.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-core.h" #include "hw/qdev-properties.h" #include "migration/vmstate.h" diff --git a/hw/display/cg3.c b/hw/display/cg3.c index 8191237124..5ec09b6324 100644 --- a/hw/display/cg3.c +++ b/hw/display/cg3.c @@ -31,7 +31,7 @@ #include "hw/sysbus.h" #include "migration/vmstate.h" #include "hw/core/irq.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "qemu/log.h" #include "qemu/module.h" diff --git a/hw/display/cirrus_vga_isa.c b/hw/display/cirrus_vga_isa.c index 4b55c48eff..5cacf4fc12 100644 --- a/hw/display/cirrus_vga_isa.c +++ b/hw/display/cirrus_vga_isa.c @@ -26,7 +26,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "hw/isa/isa.h" #include "cirrus_vga_internal.h" diff --git a/hw/display/next-fb.c b/hw/display/next-fb.c index ec81b766a7..3d97702fce 100644 --- a/hw/display/next-fb.c +++ b/hw/display/next-fb.c @@ -24,7 +24,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "ui/console.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "framebuffer.h" #include "ui/pixel_ops.h" #include "hw/m68k/next-cube.h" diff --git a/hw/display/ramfb-standalone.c b/hw/display/ramfb-standalone.c index 72b2071aed..130f4e01df 100644 --- a/hw/display/ramfb-standalone.c +++ b/hw/display/ramfb-standalone.c @@ -2,7 +2,7 @@ #include "migration/vmstate.h" #include "qapi/error.h" #include "qemu/module.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "hw/display/ramfb.h" #include "ui/console.h" diff --git a/hw/display/ramfb.c b/hw/display/ramfb.c index 9a17d97d07..ad12fb1782 100644 --- a/hw/display/ramfb.c +++ b/hw/display/ramfb.c @@ -13,7 +13,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/display/ramfb.h" #include "hw/display/bochs-vbe.h" /* for limits */ #include "ui/console.h" diff --git a/hw/display/tcx.c b/hw/display/tcx.c index 4853c5e142..dfe234e335 100644 --- a/hw/display/tcx.c +++ b/hw/display/tcx.c @@ -27,7 +27,7 @@ #include "qapi/error.h" #include "ui/console.h" #include "ui/pixel_ops.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "migration/vmstate.h" diff --git a/hw/display/vga-isa.c b/hw/display/vga-isa.c index 3618913b3b..d2213b0f3e 100644 --- a/hw/display/vga-isa.c +++ b/hw/display/vga-isa.c @@ -30,7 +30,7 @@ #include "ui/pixel_ops.h" #include "qemu/module.h" #include "qemu/timer.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "ui/console.h" #include "qom/object.h" diff --git a/hw/display/vga-pci.c b/hw/display/vga-pci.c index b81f7fd2d0..7a39bb9b21 100644 --- a/hw/display/vga-pci.c +++ b/hw/display/vga-pci.c @@ -33,7 +33,7 @@ #include "ui/console.h" #include "qemu/module.h" #include "qemu/timer.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/display/edid.h" #include "qom/object.h" #include "hw/acpi/acpi_aml_interface.h" diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c index bc1a8ed466..7ca5a55142 100644 --- a/hw/display/vmware_vga.c +++ b/hw/display/vmware_vga.c @@ -27,7 +27,7 @@ #include "qemu/units.h" #include "qapi/error.h" #include "qemu/log.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "trace.h" #include "hw/pci/pci_device.h" #include "hw/qdev-properties.h" diff --git a/hw/hppa/machine.c b/hw/hppa/machine.c index acd1c3f005..e877e6c401 100644 --- a/hw/hppa/machine.c +++ b/hw/hppa/machine.c @@ -9,7 +9,7 @@ #include "qemu/datadir.h" #include "cpu.h" #include "elf.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "qemu/error-report.h" #include "exec/target_page.h" #include "system/reset.h" diff --git a/hw/hyperv/syndbg.c b/hw/hyperv/syndbg.c index bcdfdf6af7..29908e886b 100644 --- a/hw/hyperv/syndbg.c +++ b/hw/hyperv/syndbg.c @@ -14,7 +14,7 @@ #include "qapi/error.h" #include "migration/vmstate.h" #include "hw/qdev-properties.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "exec/target_page.h" #include "hw/hyperv/hyperv.h" #include "hw/hyperv/vmbus-bridge.h" diff --git a/hw/i386/microvm.c b/hw/i386/microvm.c index e3bafb83af..8cf99ad662 100644 --- a/hw/i386/microvm.c +++ b/hw/i386/microvm.c @@ -30,7 +30,7 @@ #include "acpi-microvm.h" #include "microvm-dt.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/core/irq.h" #include "hw/i386/kvm/clock.h" #include "hw/i386/microvm.h" diff --git a/hw/i386/multiboot.c b/hw/i386/multiboot.c index 78690781b7..8b6acfee9b 100644 --- a/hw/i386/multiboot.c +++ b/hw/i386/multiboot.c @@ -27,7 +27,7 @@ #include "cpu.h" #include "hw/nvram/fw_cfg.h" #include "multiboot.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "exec/target_page.h" #include "system/system.h" diff --git a/hw/i386/pc.c b/hw/i386/pc.c index 0f2a588902..1478a26f11 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -34,7 +34,7 @@ #include "system/cpus.h" #include "hw/ide/ide-bus.h" #include "hw/timer/hpet.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/rtc/mc146818rtc.h" #include "hw/intc/i8259.h" #include "hw/timer/i8254.h" diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 02de7453ba..5fd2f9d1e0 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -32,7 +32,7 @@ #include "qemu/units.h" #include "hw/acpi/acpi.h" #include "hw/char/parallel-isa.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/i2c/smbus_eeprom.h" #include "hw/rtc/mc146818rtc.h" #include "system/tcg.h" diff --git a/hw/i386/pc_sysfw.c b/hw/i386/pc_sysfw.c index 1a12b635ad..4d64aa1555 100644 --- a/hw/i386/pc_sysfw.c +++ b/hw/i386/pc_sysfw.c @@ -32,7 +32,7 @@ #include "hw/sysbus.h" #include "hw/i386/x86.h" #include "hw/i386/pc.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "hw/block/flash.h" #include "system/kvm.h" diff --git a/hw/i386/x86-common.c b/hw/i386/x86-common.c index 397e856b37..c1c9224039 100644 --- a/hw/i386/x86-common.c +++ b/hw/i386/x86-common.c @@ -38,7 +38,7 @@ #include "hw/acpi/cpu_hotplug.h" #include "hw/core/irq.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "multiboot.h" #include "elf.h" #include "standard-headers/asm-x86/bootparam.h" diff --git a/hw/ipmi/ipmi_bmc_sim.c b/hw/ipmi/ipmi_bmc_sim.c index 4604d632b1..9b3e3a4b7e 100644 --- a/hw/ipmi/ipmi_bmc_sim.c +++ b/hw/ipmi/ipmi_bmc_sim.c @@ -28,7 +28,7 @@ #include "hw/ipmi/ipmi.h" #include "qemu/error-report.h" #include "qemu/module.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "hw/qdev-properties-system.h" #include "migration/vmstate.h" diff --git a/hw/loongarch/boot.c b/hw/loongarch/boot.c index 8857a04998..711d5ffbbc 100644 --- a/hw/loongarch/boot.c +++ b/hw/loongarch/boot.c @@ -9,7 +9,7 @@ #include "qemu/units.h" #include "target/loongarch/cpu.h" #include "hw/loongarch/virt.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "qemu/error-report.h" #include "system/reset.h" diff --git a/hw/loongarch/virt-fdt-build.c b/hw/loongarch/virt-fdt-build.c index 1f0ba01f71..115080d80e 100644 --- a/hw/loongarch/virt-fdt-build.c +++ b/hw/loongarch/virt-fdt-build.c @@ -9,7 +9,7 @@ #include "hw/acpi/generic_event_device.h" #include "hw/core/sysbus-fdt.h" #include "hw/intc/loongarch_extioi.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/loongarch/virt.h" #include "hw/pci-host/gpex.h" #include "system/device_tree.h" diff --git a/hw/loongarch/virt.c b/hw/loongarch/virt.c index 0e11eb340f..ea53941aeb 100644 --- a/hw/loongarch/virt.c +++ b/hw/loongarch/virt.c @@ -22,7 +22,7 @@ #include "system/address-spaces.h" #include "hw/core/irq.h" #include "net/net.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "hw/intc/loongarch_ipi.h" #include "hw/intc/loongarch_extioi.h" diff --git a/hw/m68k/an5206.c b/hw/m68k/an5206.c index f67611ba0b..f92a5d6a33 100644 --- a/hw/m68k/an5206.c +++ b/hw/m68k/an5206.c @@ -11,7 +11,7 @@ #include "cpu.h" #include "hw/m68k/mcf.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "qemu/error-report.h" #include "system/qtest.h" diff --git a/hw/m68k/mcf5208.c b/hw/m68k/mcf5208.c index b2b02f25ff..b81305ae6e 100644 --- a/hw/m68k/mcf5208.c +++ b/hw/m68k/mcf5208.c @@ -30,7 +30,7 @@ #include "system/qtest.h" #include "net/net.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/sysbus.h" #include "elf.h" diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c index 1411436a46..e7217cbaea 100644 --- a/hw/m68k/next-cube.c +++ b/hw/m68k/next-cube.c @@ -18,7 +18,7 @@ #include "hw/core/irq.h" #include "hw/m68k/next-cube.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/scsi/esp.h" #include "hw/sysbus.h" #include "qom/object.h" diff --git a/hw/m68k/q800.c b/hw/m68k/q800.c index 1aaaada346..4c03455d6b 100644 --- a/hw/m68k/q800.c +++ b/hw/m68k/q800.c @@ -30,7 +30,7 @@ #include "hw/core/boards.h" #include "hw/or-irq.h" #include "elf.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "ui/console.h" #include "hw/char/escc.h" #include "hw/sysbus.h" diff --git a/hw/m68k/virt.c b/hw/m68k/virt.c index 6f2b7bb5a0..7007d4e4e9 100644 --- a/hw/m68k/virt.c +++ b/hw/m68k/virt.c @@ -16,7 +16,7 @@ #include "hw/core/boards.h" #include "hw/qdev-properties.h" #include "elf.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "ui/console.h" #include "hw/sysbus.h" #include "standard-headers/asm-m68k/bootinfo.h" diff --git a/hw/microblaze/boot.c b/hw/microblaze/boot.c index 39eb2386e8..8ff99b3339 100644 --- a/hw/microblaze/boot.c +++ b/hw/microblaze/boot.c @@ -34,7 +34,7 @@ #include "system/device_tree.h" #include "system/reset.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "qemu/cutils.h" diff --git a/hw/mips/boston.c b/hw/mips/boston.c index 633b2a9052..b4b4a86a5f 100644 --- a/hw/mips/boston.c +++ b/hw/mips/boston.c @@ -25,7 +25,7 @@ #include "hw/char/serial-mm.h" #include "hw/ide/pci.h" #include "hw/ide/ahci-pci.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/core/loader-fit.h" #include "hw/mips/bootloader.h" #include "hw/mips/cps.h" diff --git a/hw/mips/fuloong2e.c b/hw/mips/fuloong2e.c index fa252c4b28..d4c100b69a 100644 --- a/hw/mips/fuloong2e.c +++ b/hw/mips/fuloong2e.c @@ -31,7 +31,7 @@ #include "hw/mips/mips.h" #include "hw/mips/bootloader.h" #include "hw/pci/pci.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/ide/pci.h" #include "hw/qdev-properties.h" #include "elf.h" diff --git a/hw/mips/jazz.c b/hw/mips/jazz.c index fdcae4ce90..fb01af8ece 100644 --- a/hw/mips/jazz.c +++ b/hw/mips/jazz.c @@ -36,7 +36,7 @@ #include "hw/core/boards.h" #include "net/net.h" #include "hw/scsi/esp.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/rtc/mc146818rtc.h" #include "hw/timer/i8254.h" #include "hw/display/vga.h" diff --git a/hw/mips/loongson3_virt.c b/hw/mips/loongson3_virt.c index 4df6cf13b3..fe51fb66f6 100644 --- a/hw/mips/loongson3_virt.c +++ b/hw/mips/loongson3_virt.c @@ -37,7 +37,7 @@ #include "hw/misc/unimp.h" #include "hw/intc/i8259.h" #include "hw/intc/loongson_ipi.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/isa/superio.h" #include "hw/pci/msi.h" #include "hw/pci/pci.h" diff --git a/hw/mips/malta.c b/hw/mips/malta.c index c63d77d4cc..2b0eb8c478 100644 --- a/hw/mips/malta.c +++ b/hw/mips/malta.c @@ -44,7 +44,7 @@ #include "qemu/log.h" #include "hw/ide/pci.h" #include "hw/core/irq.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "qom/object.h" #include "hw/sysbus.h" /* SysBusDevice */ diff --git a/hw/nubus/nubus-device.c b/hw/nubus/nubus-device.c index 1abd948904..5c5894c9c5 100644 --- a/hw/nubus/nubus-device.c +++ b/hw/nubus/nubus-device.c @@ -12,7 +12,7 @@ #include "qemu/datadir.h" #include "exec/target_page.h" #include "hw/core/irq.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/nubus/nubus.h" #include "qapi/error.h" #include "qemu/error-report.h" diff --git a/hw/nvram/fw_cfg.c b/hw/nvram/fw_cfg.c index b696bf39e1..df07424e55 100644 --- a/hw/nvram/fw_cfg.c +++ b/hw/nvram/fw_cfg.c @@ -41,7 +41,7 @@ #include "qemu/cutils.h" #include "qapi/error.h" #include "hw/acpi/aml-build.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #define FW_CFG_FILE_SLOTS_DFLT 0x20 diff --git a/hw/openrisc/boot.c b/hw/openrisc/boot.c index db6fea071e..6256babc42 100644 --- a/hw/openrisc/boot.c +++ b/hw/openrisc/boot.c @@ -11,7 +11,7 @@ #include "exec/cpu-defs.h" #include "exec/target_page.h" #include "elf.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/openrisc/boot.h" #include "system/device_tree.h" #include "system/qtest.h" diff --git a/hw/pci/pci.c b/hw/pci/pci.c index ffeb3fbf7c..a3118ac6d0 100644 --- a/hw/pci/pci.c +++ b/hw/pci/pci.c @@ -39,7 +39,7 @@ #include "system/numa.h" #include "system/runstate.h" #include "system/system.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "qemu/error-report.h" #include "qemu/range.h" #include "trace.h" diff --git a/hw/ppc/amigaone.c b/hw/ppc/amigaone.c index 3df4724a72..4b85844380 100644 --- a/hw/ppc/amigaone.c +++ b/hw/ppc/amigaone.c @@ -15,7 +15,7 @@ #include "qapi/error.h" #include "hw/ppc/ppc.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/pci-host/articia.h" #include "hw/isa/vt82c686.h" #include "hw/ide/pci.h" diff --git a/hw/ppc/e500.c b/hw/ppc/e500.c index eeca31dabb..769f18023d 100644 --- a/hw/ppc/e500.c +++ b/hw/ppc/e500.c @@ -39,7 +39,7 @@ #include "hw/ppc/openpic_kvm.h" #include "hw/ppc/ppc.h" #include "hw/qdev-properties.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "hw/sysbus.h" #include "qemu/host-utils.h" diff --git a/hw/ppc/mac_newworld.c b/hw/ppc/mac_newworld.c index 3a6e47eb8b..909a4fe257 100644 --- a/hw/ppc/mac_newworld.c +++ b/hw/ppc/mac_newworld.c @@ -65,7 +65,7 @@ #include "hw/char/escc.h" #include "hw/misc/macio/macio.h" #include "hw/ppc/openpic.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/core/fw-path-provider.h" #include "elf.h" #include "qemu/error-report.h" diff --git a/hw/ppc/mac_oldworld.c b/hw/ppc/mac_oldworld.c index 8f9ce68b8b..8400db6c35 100644 --- a/hw/ppc/mac_oldworld.c +++ b/hw/ppc/mac_oldworld.c @@ -42,7 +42,7 @@ #include "hw/nvram/fw_cfg.h" #include "hw/char/escc.h" #include "hw/misc/macio/macio.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/core/fw-path-provider.h" #include "elf.h" #include "qemu/error-report.h" diff --git a/hw/ppc/pegasos.c b/hw/ppc/pegasos.c index 8b5958e749..11bf406ef7 100644 --- a/hw/ppc/pegasos.c +++ b/hw/ppc/pegasos.c @@ -25,7 +25,7 @@ #include "system/runstate.h" #include "system/qtest.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/core/fw-path-provider.h" #include "elf.h" #include "qemu/log.h" diff --git a/hw/ppc/pnv.c b/hw/ppc/pnv.c index 895132da91..eb3197da9b 100644 --- a/hw/ppc/pnv.c +++ b/hw/ppc/pnv.c @@ -38,7 +38,7 @@ #include "hw/ppc/ppc.h" #include "hw/ppc/pnv.h" #include "hw/ppc/pnv_core.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/nmi.h" #include "qapi/visitor.h" #include "hw/intc/intc.h" diff --git a/hw/ppc/pnv_pnor.c b/hw/ppc/pnv_pnor.c index af7cfd028b..c7cbc525b3 100644 --- a/hw/ppc/pnv_pnor.c +++ b/hw/ppc/pnv_pnor.c @@ -13,7 +13,7 @@ #include "qemu/units.h" #include "system/block-backend.h" #include "system/blockdev.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/ppc/pnv_pnor.h" #include "hw/qdev-properties.h" #include "hw/qdev-properties-system.h" diff --git a/hw/ppc/ppc440_bamboo.c b/hw/ppc/ppc440_bamboo.c index 824dd91ed5..9e71037d84 100644 --- a/hw/ppc/ppc440_bamboo.c +++ b/hw/ppc/ppc440_bamboo.c @@ -21,7 +21,7 @@ #include "hw/core/boards.h" #include "system/kvm.h" #include "system/device_tree.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "hw/char/serial-mm.h" #include "hw/ppc/ppc.h" diff --git a/hw/ppc/ppc_booke.c b/hw/ppc/ppc_booke.c index 13403a56b1..7c6e5df9fd 100644 --- a/hw/ppc/ppc_booke.c +++ b/hw/ppc/ppc_booke.c @@ -29,7 +29,7 @@ #include "qemu/timer.h" #include "system/reset.h" #include "system/runstate.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "kvm_ppc.h" void booke_set_tlb(ppcemb_tlb_t *tlb, target_ulong va, hwaddr pa, diff --git a/hw/ppc/prep.c b/hw/ppc/prep.c index 0d5e1f604e..90164face1 100644 --- a/hw/ppc/prep.c +++ b/hw/ppc/prep.c @@ -36,7 +36,7 @@ #include "qemu/error-report.h" #include "qemu/log.h" #include "qemu/datadir.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/rtc/mc146818rtc.h" #include "hw/isa/pc87312.h" #include "hw/qdev-properties.h" diff --git a/hw/ppc/sam460ex.c b/hw/ppc/sam460ex.c index 992bfe39a3..550aaa21fa 100644 --- a/hw/ppc/sam460ex.c +++ b/hw/ppc/sam460ex.c @@ -22,7 +22,7 @@ #include "system/device_tree.h" #include "system/block-backend.h" #include "exec/page-protection.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "system/memory.h" #include "ppc440.h" diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c index 7c695ac4ec..bad6918e6e 100644 --- a/hw/ppc/spapr.c +++ b/hw/ppc/spapr.c @@ -61,7 +61,7 @@ #include "hw/core/cpu.h" #include "hw/ppc/ppc.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/ppc/fdt.h" #include "hw/ppc/spapr.h" diff --git a/hw/ppc/spapr_vio.c b/hw/ppc/spapr_vio.c index c21a2a3274..875c17f478 100644 --- a/hw/ppc/spapr_vio.c +++ b/hw/ppc/spapr_vio.c @@ -24,7 +24,7 @@ #include "qapi/error.h" #include "qapi/visitor.h" #include "qemu/log.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "hw/sysbus.h" #include "system/kvm.h" diff --git a/hw/ppc/virtex_ml507.c b/hw/ppc/virtex_ml507.c index 8221a01639..8b5f4eb57a 100644 --- a/hw/ppc/virtex_ml507.c +++ b/hw/ppc/virtex_ml507.c @@ -34,7 +34,7 @@ #include "system/reset.h" #include "hw/core/boards.h" #include "system/device_tree.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "qapi/error.h" #include "qemu/error-report.h" diff --git a/hw/riscv/boot.c b/hw/riscv/boot.c index 4f207dee28..df1f3abd17 100644 --- a/hw/riscv/boot.c +++ b/hw/riscv/boot.c @@ -23,7 +23,7 @@ #include "qemu/error-report.h" #include "exec/cpu-defs.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/riscv/boot.h" #include "hw/riscv/boot_opensbi.h" #include "elf.h" diff --git a/hw/riscv/microchip_pfsoc.c b/hw/riscv/microchip_pfsoc.c index 4398f7b182..9de6456c14 100644 --- a/hw/riscv/microchip_pfsoc.c +++ b/hw/riscv/microchip_pfsoc.c @@ -41,7 +41,7 @@ #include "qapi/error.h" #include "qapi/visitor.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/sysbus.h" #include "chardev/char.h" #include "hw/cpu/cluster.h" diff --git a/hw/riscv/sifive_e.c b/hw/riscv/sifive_e.c index abe411e305..c2032176c4 100644 --- a/hw/riscv/sifive_e.c +++ b/hw/riscv/sifive_e.c @@ -33,7 +33,7 @@ #include "qemu/error-report.h" #include "qapi/error.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/sysbus.h" #include "hw/misc/unimp.h" #include "target/riscv/cpu.h" diff --git a/hw/riscv/sifive_u.c b/hw/riscv/sifive_u.c index 00438d2e59..3e081ddf37 100644 --- a/hw/riscv/sifive_u.c +++ b/hw/riscv/sifive_u.c @@ -41,7 +41,7 @@ #include "qapi/visitor.h" #include "hw/core/boards.h" #include "hw/core/irq.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/sysbus.h" #include "hw/cpu/cluster.h" #include "hw/misc/unimp.h" diff --git a/hw/riscv/spike.c b/hw/riscv/spike.c index 6aa688acf3..c9451d7e3b 100644 --- a/hw/riscv/spike.c +++ b/hw/riscv/spike.c @@ -26,7 +26,7 @@ #include "qemu/error-report.h" #include "qapi/error.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/sysbus.h" #include "target/riscv/cpu.h" #include "hw/riscv/riscv_hart.h" diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c index 45a845318e..0505bffa44 100644 --- a/hw/riscv/virt.c +++ b/hw/riscv/virt.c @@ -24,7 +24,7 @@ #include "qemu/guest-random.h" #include "qapi/error.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/sysbus.h" #include "hw/qdev-properties.h" #include "hw/char/serial-mm.h" diff --git a/hw/rx/rx-gdbsim.c b/hw/rx/rx-gdbsim.c index 1a33082857..0a0ad85a35 100644 --- a/hw/rx/rx-gdbsim.c +++ b/hw/rx/rx-gdbsim.c @@ -22,7 +22,7 @@ #include "qemu/guest-random.h" #include "qemu/units.h" #include "qapi/error.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/rx/rx62n.h" #include "system/qtest.h" #include "system/device_tree.h" diff --git a/hw/rx/rx62n.c b/hw/rx/rx62n.c index a2a243afa4..3fe9a4a518 100644 --- a/hw/rx/rx62n.c +++ b/hw/rx/rx62n.c @@ -25,7 +25,7 @@ #include "qemu/error-report.h" #include "qemu/units.h" #include "hw/rx/rx62n.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/sysbus.h" #include "hw/qdev-properties.h" #include "system/system.h" diff --git a/hw/s390x/ipl.c b/hw/s390x/ipl.c index f1c2af15f7..e0a04ab1a2 100644 --- a/hw/s390x/ipl.c +++ b/hw/s390x/ipl.c @@ -19,7 +19,7 @@ #include "system/runstate.h" #include "system/tcg.h" #include "elf.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "hw/core/boards.h" #include "hw/s390x/virtio-ccw.h" diff --git a/hw/sh4/r2d.c b/hw/sh4/r2d.c index 5352f23ae8..9e8c2fa8d1 100644 --- a/hw/sh4/r2d.c +++ b/hw/sh4/r2d.c @@ -40,7 +40,7 @@ #include "sh7750_regs.h" #include "hw/ide/mmio.h" #include "hw/core/irq.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/usb/usb.h" #include "hw/block/flash.h" #include "exec/tswap.h" diff --git a/hw/smbios/smbios.c b/hw/smbios/smbios.c index 071c3b5e62..be97a5effc 100644 --- a/hw/smbios/smbios.c +++ b/hw/smbios/smbios.c @@ -25,7 +25,7 @@ #include "system/system.h" #include "qemu/uuid.h" #include "hw/firmware/smbios.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/core/boards.h" #include "hw/pci/pci_bus.h" #include "hw/pci/pci_device.h" diff --git a/hw/sparc/leon3.c b/hw/sparc/leon3.c index 500b63bc9b..cd1a03a558 100644 --- a/hw/sparc/leon3.c +++ b/hw/sparc/leon3.c @@ -38,7 +38,7 @@ #include "system/qtest.h" #include "system/reset.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "trace.h" diff --git a/hw/sparc/sun4m.c b/hw/sparc/sun4m.c index fa5592f26c..b625686458 100644 --- a/hw/sparc/sun4m.c +++ b/hw/sparc/sun4m.c @@ -51,7 +51,7 @@ #include "hw/misc/unimp.h" #include "hw/core/irq.h" #include "hw/or-irq.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "trace.h" #include "qom/object.h" diff --git a/hw/sparc64/niagara.c b/hw/sparc64/niagara.c index 334bec14ba..209be38047 100644 --- a/hw/sparc64/niagara.c +++ b/hw/sparc64/niagara.c @@ -29,7 +29,7 @@ #include "hw/core/boards.h" #include "hw/char/serial-mm.h" #include "hw/misc/unimp.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/sparc/sparc64.h" #include "hw/rtc/sun4v-rtc.h" #include "system/block-backend.h" diff --git a/hw/sparc64/sun4u.c b/hw/sparc64/sun4u.c index 5b25ba81cc..c0fb421d2b 100644 --- a/hw/sparc64/sun4u.c +++ b/hw/sparc64/sun4u.c @@ -53,7 +53,7 @@ #include "hw/nvram/fw_cfg.h" #include "hw/sysbus.h" #include "hw/ide/pci.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/core/fw-path-provider.h" #include "elf.h" #include "trace.h" diff --git a/hw/tricore/tc27x_soc.c b/hw/tricore/tc27x_soc.c index f3b84980e5..e1a97a4387 100644 --- a/hw/tricore/tc27x_soc.c +++ b/hw/tricore/tc27x_soc.c @@ -21,7 +21,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "hw/sysbus.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "qemu/units.h" #include "hw/misc/unimp.h" diff --git a/hw/tricore/triboard.c b/hw/tricore/triboard.c index cb45b01d2d..db6f2b765a 100644 --- a/hw/tricore/triboard.c +++ b/hw/tricore/triboard.c @@ -23,7 +23,7 @@ #include "qapi/error.h" #include "hw/qdev-properties.h" #include "net/net.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "hw/tricore/tricore.h" #include "qemu/error-report.h" diff --git a/hw/tricore/tricore_testboard.c b/hw/tricore/tricore_testboard.c index 21b119712c..60772d4f1d 100644 --- a/hw/tricore/tricore_testboard.c +++ b/hw/tricore/tricore_testboard.c @@ -24,7 +24,7 @@ #include "cpu.h" #include "net/net.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "hw/tricore/tricore.h" #include "hw/tricore/tricore_testdevice.h" diff --git a/hw/virtio/vhost-user-scsi-pci.c b/hw/virtio/vhost-user-scsi-pci.c index 994e51a37b..367b8f27da 100644 --- a/hw/virtio/vhost-user-scsi-pci.c +++ b/hw/virtio/vhost-user-scsi-pci.c @@ -28,7 +28,7 @@ #include "qemu/module.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "system/kvm.h" #include "hw/virtio/virtio-pci.h" #include "qom/object.h" diff --git a/hw/virtio/virtio-pci.c b/hw/virtio/virtio-pci.c index 263e112a5c..7382e7db6f 100644 --- a/hw/virtio/virtio-pci.c +++ b/hw/virtio/virtio-pci.c @@ -33,7 +33,7 @@ #include "qemu/bswap.h" #include "hw/pci/msi.h" #include "hw/pci/msix.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "system/accel-irq.h" #include "system/kvm.h" #include "hw/virtio/virtio-pci.h" diff --git a/hw/vmapple/vmapple.c b/hw/vmapple/vmapple.c index 9154a4c257..ad513d4cbc 100644 --- a/hw/vmapple/vmapple.c +++ b/hw/vmapple/vmapple.c @@ -27,7 +27,7 @@ #include "monitor/qdev.h" #include "hw/core/boards.h" #include "hw/core/irq.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "hw/sysbus.h" #include "hw/usb/usb.h" diff --git a/hw/xen/xen_pt_load_rom.c b/hw/xen/xen_pt_load_rom.c index 6bc64acd33..319efcad6e 100644 --- a/hw/xen/xen_pt_load_rom.c +++ b/hw/xen/xen_pt_load_rom.c @@ -4,7 +4,7 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/error-report.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/pci/pci.h" #include "xen_pt.h" diff --git a/hw/xtensa/sim.c b/hw/xtensa/sim.c index 37acc562d2..994460d041 100644 --- a/hw/xtensa/sim.c +++ b/hw/xtensa/sim.c @@ -30,7 +30,7 @@ #include "system/reset.h" #include "system/system.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "elf.h" #include "system/memory.h" #include "qemu/error-report.h" diff --git a/hw/xtensa/virt.c b/hw/xtensa/virt.c index b9e324c285..271f06e095 100644 --- a/hw/xtensa/virt.c +++ b/hw/xtensa/virt.c @@ -29,7 +29,7 @@ #include "qapi/error.h" #include "system/reset.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/pci-host/gpex.h" #include "net/net.h" #include "elf.h" diff --git a/hw/xtensa/xtfpga.c b/hw/xtensa/xtfpga.c index 694456aa0a..a96abcd4bd 100644 --- a/hw/xtensa/xtfpga.c +++ b/hw/xtensa/xtfpga.c @@ -31,7 +31,7 @@ #include "cpu.h" #include "system/system.h" #include "hw/core/boards.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/qdev-properties.h" #include "elf.h" #include "system/memory.h" diff --git a/include/hw/loader.h b/include/hw/core/loader.h similarity index 100% rename from include/hw/loader.h rename to include/hw/core/loader.h diff --git a/include/hw/riscv/boot.h b/include/hw/riscv/boot.h index 51b0e13bd3..35964bf831 100644 --- a/include/hw/riscv/boot.h +++ b/include/hw/riscv/boot.h @@ -21,7 +21,7 @@ #define RISCV_BOOT_H #include "exec/cpu-defs.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/riscv/riscv_hart.h" #define RISCV32_BIOS_BIN "opensbi-riscv32-generic-fw_dynamic.bin" diff --git a/semihosting/arm-compat-semi.c b/semihosting/arm-compat-semi.c index 2e9fa5842f..5e5f181b90 100644 --- a/semihosting/arm-compat-semi.c +++ b/semihosting/arm-compat-semi.c @@ -47,7 +47,7 @@ #define COMMON_SEMI_HEAP_SIZE (128 * 1024 * 1024) #else #include "qemu/cutils.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/core/boards.h" #endif diff --git a/system/device_tree.c b/system/device_tree.c index 3ccdf33374..1ea1962984 100644 --- a/system/device_tree.c +++ b/system/device_tree.c @@ -24,7 +24,7 @@ #include "qemu/cutils.h" #include "qemu/guest-random.h" #include "system/device_tree.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/core/boards.h" #include "qemu/config-file.h" #include "qapi/qapi-commands-machine.h" diff --git a/system/globals.c b/system/globals.c index 98f9876d5d..c33f6ed390 100644 --- a/system/globals.c +++ b/system/globals.c @@ -25,7 +25,7 @@ #include "qemu/osdep.h" #include "exec/cpu-common.h" #include "hw/display/vga.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/xen/xen.h" #include "net/net.h" #include "system/cpus.h" diff --git a/system/vl.c b/system/vl.c index cdf32c119b..659c6506fc 100644 --- a/system/vl.c +++ b/system/vl.c @@ -62,7 +62,7 @@ #include "hw/firmware/smbios.h" #include "hw/acpi/acpi.h" #include "hw/xen/xen.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "monitor/qdev.h" #include "net/net.h" #include "net/slirp.h" diff --git a/target/arm/cpu.c b/target/arm/cpu.c index 7720d27a3c..09e89272ed 100644 --- a/target/arm/cpu.c +++ b/target/arm/cpu.c @@ -36,7 +36,7 @@ #include "exec/target_page.h" #include "hw/qdev-properties.h" #if !defined(CONFIG_USER_ONLY) -#include "hw/loader.h" +#include "hw/core/loader.h" #include "hw/core/boards.h" #ifdef CONFIG_TCG #include "hw/intc/armv7m_nvic.h" diff --git a/target/loongarch/kvm/kvm.c b/target/loongarch/kvm/kvm.c index 8ed62acf84..ef3359ced9 100644 --- a/target/loongarch/kvm/kvm.c +++ b/target/loongarch/kvm/kvm.c @@ -23,7 +23,7 @@ #include "hw/core/irq.h" #include "hw/loongarch/virt.h" #include "qemu/log.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "system/runstate.h" #include "cpu-csr.h" #include "kvm_loongarch.h" diff --git a/target/openrisc/interrupt.c b/target/openrisc/interrupt.c index d357aaa7da..5528b80e7b 100644 --- a/target/openrisc/interrupt.c +++ b/target/openrisc/interrupt.c @@ -23,7 +23,7 @@ #include "gdbstub/helpers.h" #include "qemu/host-utils.h" #ifndef CONFIG_USER_ONLY -#include "hw/loader.h" +#include "hw/core/loader.h" #endif #include "qemu/plugin.h" diff --git a/target/openrisc/mmu.c b/target/openrisc/mmu.c index ffb732e0d1..b2b2b3c4a9 100644 --- a/target/openrisc/mmu.c +++ b/target/openrisc/mmu.c @@ -26,7 +26,7 @@ #include "exec/target_page.h" #include "gdbstub/helpers.h" #include "qemu/host-utils.h" -#include "hw/loader.h" +#include "hw/core/loader.h" static void get_phys_nommu(hwaddr *phys_addr, int *prot, vaddr address) { diff --git a/target/riscv/kvm/kvm-cpu.c b/target/riscv/kvm/kvm-cpu.c index 1d99e5f490..5d792563b9 100644 --- a/target/riscv/kvm/kvm-cpu.c +++ b/target/riscv/kvm/kvm-cpu.c @@ -41,7 +41,7 @@ #include "hw/core/irq.h" #include "hw/intc/riscv_imsic.h" #include "qemu/log.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "kvm_riscv.h" #include "sbi_ecall_interface.h" #include "chardev/char-fe.h" diff --git a/target/rx/cpu.c b/target/rx/cpu.c index da02ae7bf8..f5f4f3ba4a 100644 --- a/target/rx/cpu.c +++ b/target/rx/cpu.c @@ -25,7 +25,7 @@ #include "exec/page-protection.h" #include "exec/translation-block.h" #include "exec/target_page.h" -#include "hw/loader.h" +#include "hw/core/loader.h" #include "fpu/softfloat.h" #include "tcg/debug-assert.h" #include "accel/tcg/cpu-ops.h"