include/system: Move exec/memory.h to system/memory.h

Convert the existing includes with

  sed -i ,exec/memory.h,system/memory.h,g

Move the include within cpu-all.h into a !CONFIG_USER_ONLY block.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2025-03-12 12:11:21 -07:00
parent 4d3ad3c3ba
commit 8be545ba5a
155 changed files with 160 additions and 161 deletions

View file

@ -3120,7 +3120,7 @@ R: Philippe Mathieu-Daudé <philmd@linaro.org>
S: Supported S: Supported
F: include/exec/ioport.h F: include/exec/ioport.h
F: include/exec/memop.h F: include/exec/memop.h
F: include/exec/memory.h F: include/system/memory.h
F: include/exec/ram_addr.h F: include/exec/ram_addr.h
F: include/exec/ramblock.h F: include/exec/ramblock.h
F: include/system/memory_mapping.h F: include/system/memory_mapping.h

View file

@ -33,7 +33,7 @@
#include "system/cpus.h" #include "system/cpus.h"
#include "system/accel-blocker.h" #include "system/accel-blocker.h"
#include "qemu/bswap.h" #include "qemu/bswap.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/ram_addr.h" #include "exec/ram_addr.h"
#include "qemu/event_notifier.h" #include "qemu/event_notifier.h"
#include "qemu/main-loop.h" #include "qemu/main-loop.h"

View file

@ -22,7 +22,7 @@
#include "accel/tcg/cpu-ops.h" #include "accel/tcg/cpu-ops.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "exec/page-protection.h" #include "exec/page-protection.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/cpu_ldst.h" #include "exec/cpu_ldst.h"
#include "exec/cputlb.h" #include "exec/cputlb.h"
#include "exec/tb-flush.h" #include "exec/tb-flush.h"

View file

@ -25,7 +25,7 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "qapi/visitor.h" #include "qapi/visitor.h"
#include "tpm_int.h" #include "tpm_int.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "system/tpm_backend.h" #include "system/tpm_backend.h"
#include "system/tpm_util.h" #include "system/tpm_util.h"

View file

@ -11,7 +11,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include <blkio.h> #include <blkio.h>
#include "block/block_int.h" #include "block/block_int.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/cpu-common.h" /* for qemu_ram_get_fd() */ #include "exec/cpu-common.h" /* for qemu_ram_get_fd() */
#include "qemu/defer-call.h" #include "qemu/defer-call.h"
#include "qapi/error.h" #include "qapi/error.h"
@ -19,7 +19,7 @@
#include "qobject/qdict.h" #include "qobject/qdict.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "system/block-backend.h" #include "system/block-backend.h"
#include "exec/memory.h" /* for ram_block_discard_disable() */ #include "system/memory.h" /* for ram_block_discard_disable() */
#include "block/block-io.h" #include "block/block-io.h"

View file

@ -7,7 +7,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "disas-internal.h" #include "disas-internal.h"
#include "disas/disas.h" #include "disas/disas.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/core/cpu.h" #include "hw/core/cpu.h"
#include "monitor/monitor.h" #include "monitor/monitor.h"

View file

@ -369,4 +369,4 @@ callbacks are called:
API Reference API Reference
------------- -------------
.. kernel-doc:: include/exec/memory.h .. kernel-doc:: include/system/memory.h

View file

@ -12,7 +12,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "exec/memory.h" #include "system/memory.h"
#include "qom/object.h" #include "qom/object.h"
#include "hw/pci/pci_device.h" #include "hw/pci/pci_device.h"
#include "qom/object_interfaces.h" #include "qom/object_interfaces.h"

View file

@ -1,7 +1,7 @@
#ifndef STRONGARM_H #ifndef STRONGARM_H
#define STRONGARM_H #define STRONGARM_H
#include "exec/memory.h" #include "system/memory.h"
#include "target/arm/cpu-qom.h" #include "target/arm/cpu-qom.h"
#define SA_CS0 0x00000000 #define SA_CS0 0x00000000

View file

@ -12,7 +12,7 @@
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/units.h" #include "qemu/units.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "system/system.h" #include "system/system.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"

View file

@ -26,7 +26,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qom/object.h" #include "qom/object.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/block/fdc.h" #include "hw/block/fdc.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"

View file

@ -22,7 +22,7 @@
#include "qapi/error.h" #include "qapi/error.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "exec/cputlb.h" #include "exec/cputlb.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/tb-flush.h" #include "exec/tb-flush.h"
#include "exec/tswap.h" #include "exec/tswap.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"

View file

@ -20,7 +20,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/units.h" #include "qemu/units.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "hw/loader-fit.h" #include "hw/loader-fit.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"

View file

@ -59,7 +59,7 @@
#include "uboot_image.h" #include "uboot_image.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "hw/nvram/fw_cfg.h" #include "hw/nvram/fw_cfg.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "system/runstate.h" #include "system/runstate.h"

View file

@ -9,7 +9,7 @@
#define QEMU_APPLE_GFX_H #define QEMU_APPLE_GFX_H
#include "qemu/queue.h" #include "qemu/queue.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "ui/surface.h" #include "ui/surface.h"

View file

@ -1,5 +1,5 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/display/edid.h" #include "hw/display/edid.h"
static uint64_t edid_region_read(void *ptr, hwaddr addr, unsigned size) static uint64_t edid_region_read(void *ptr, hwaddr addr, unsigned size)

View file

@ -1,7 +1,7 @@
#ifndef QEMU_FRAMEBUFFER_H #ifndef QEMU_FRAMEBUFFER_H
#define QEMU_FRAMEBUFFER_H #define QEMU_FRAMEBUFFER_H
#include "exec/memory.h" #include "system/memory.h"
/* Framebuffer device helper routines. */ /* Framebuffer device helper routines. */

View file

@ -27,7 +27,7 @@
#include "ui/console.h" #include "ui/console.h"
#include "exec/ioport.h" #include "exec/ioport.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/display/bochs-vbe.h" #include "hw/display/bochs-vbe.h"
#include "hw/acpi/acpi_aml_interface.h" #include "hw/acpi/acpi_aml_interface.h"

View file

@ -11,7 +11,7 @@
#define HW_HYPERV_HV_BALLOON_OUR_RANGE_MEMSLOTS_H #define HW_HYPERV_HV_BALLOON_OUR_RANGE_MEMSLOTS_H
#include "exec/memory.h" #include "system/memory.h"
#include "qom/object.h" #include "qom/object.h"
#include "hv-balloon-page_range_tree.h" #include "hv-balloon-page_range_tree.h"

View file

@ -12,7 +12,7 @@
#include "qemu/module.h" #include "qemu/module.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "exec/memory.h" #include "system/memory.h"
#include "system/kvm.h" #include "system/kvm.h"
#include "qemu/bitops.h" #include "qemu/bitops.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"

View file

@ -23,7 +23,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/acpi/acpi.h" #include "hw/acpi/acpi.h"
#include "hw/acpi/aml-build.h" #include "hw/acpi/aml-build.h"
#include "hw/acpi/utils.h" #include "hw/acpi/utils.h"

View file

@ -24,7 +24,7 @@
#include "qemu/cutils.h" #include "qemu/cutils.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/acpi/acpi.h" #include "hw/acpi/acpi.h"
#include "hw/acpi/acpi_aml_interface.h" #include "hw/acpi/acpi_aml_interface.h"
#include "hw/acpi/aml-build.h" #include "hw/acpi/aml-build.h"

View file

@ -47,7 +47,7 @@
#include "hw/i386/kvm/clock.h" #include "hw/i386/kvm/clock.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/i2c/smbus_eeprom.h" #include "hw/i2c/smbus_eeprom.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/acpi/acpi.h" #include "hw/acpi/acpi.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"

View file

@ -22,7 +22,7 @@
#ifndef HW_INTC_IOAPIC_INTERNAL_H #ifndef HW_INTC_IOAPIC_INTERNAL_H
#define HW_INTC_IOAPIC_INTERNAL_H #define HW_INTC_IOAPIC_INTERNAL_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/intc/ioapic.h" #include "hw/intc/ioapic.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "qemu/notify.h" #include "qemu/notify.h"

View file

@ -14,7 +14,7 @@
#include "qemu/module.h" #include "qemu/module.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "exec/memory.h" #include "system/memory.h"
#include "system/kvm.h" #include "system/kvm.h"
#include "system/reset.h" #include "system/reset.h"
#include "kvm_mips.h" #include "kvm_mips.h"

View file

@ -13,7 +13,7 @@
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "exec/memory.h" #include "system/memory.h"
#include "qom/object.h" #include "qom/object.h"
#define TYPE_OR1K_OMPIC "or1k-ompic" #define TYPE_OR1K_OMPIC "or1k-ompic"

View file

@ -3,7 +3,7 @@
#define I82596_IOPORT_SIZE 0x20 #define I82596_IOPORT_SIZE 0x20
#include "exec/memory.h" #include "system/memory.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#define PORT_RESET 0x00 /* reset 82596 */ #define PORT_RESET 0x00 /* reset 82596 */

View file

@ -25,7 +25,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "net/eth.h" #include "net/eth.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
#include "ne2000.h" #include "ne2000.h"

View file

@ -7,7 +7,7 @@
#define PCNET_LOOPTEST_CRC 1 #define PCNET_LOOPTEST_CRC 1
#define PCNET_LOOPTEST_NOCRC 2 #define PCNET_LOOPTEST_NOCRC 2
#include "exec/memory.h" #include "system/memory.h"
#include "hw/irq.h" #include "hw/irq.h"
/* BUS CONFIGURATION REGISTERS */ /* BUS CONFIGURATION REGISTERS */

View file

@ -28,7 +28,7 @@
#include "hw/pci/shpc.h" #include "hw/pci/shpc.h"
#include "hw/pci/slotid_cap.h" #include "hw/pci/slotid_cap.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/pci/pci_bus.h" #include "hw/pci/pci_bus.h"
#include "hw/hotplug.h" #include "hw/hotplug.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -28,7 +28,7 @@
#include "hw/pci/pcie_host.h" #include "hw/pci/pcie_host.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "hw/pci-host/remote.h" #include "hw/pci-host/remote.h"
#include "exec/memory.h" #include "system/memory.h"
static const char *remote_pcihost_root_bus_path(PCIHostState *host_bridge, static const char *remote_pcihost_root_bus_path(PCIHostState *host_bridge,
PCIBus *rootbus) PCIBus *rootbus)

View file

@ -20,7 +20,7 @@
#include "qemu/log.h" #include "qemu/log.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "exec/hwaddr.h" #include "exec/hwaddr.h"
#include "exec/memory.h" #include "system/memory.h"
#include "system/cpus.h" #include "system/cpus.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"

View file

@ -24,7 +24,7 @@
#include "exec/page-protection.h" #include "exec/page-protection.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "elf.h" #include "elf.h"
#include "exec/memory.h" #include "system/memory.h"
#include "ppc440.h" #include "ppc440.h"
#include "hw/pci-host/ppc4xx.h" #include "hw/pci-host/ppc4xx.h"
#include "hw/block/flash.h" #include "hw/block/flash.h"

View file

@ -13,7 +13,7 @@
#include "hw/remote/iommu.h" #include "hw/remote/iommu.h"
#include "hw/pci/pci_bus.h" #include "hw/pci/pci_bus.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "trace.h" #include "trace.h"

View file

@ -16,7 +16,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "hw/remote/machine.h" #include "hw/remote/machine.h"
#include "exec/memory.h" #include "system/memory.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "hw/pci/pci_host.h" #include "hw/pci/pci_host.h"
#include "hw/remote/iohub.h" #include "hw/remote/iohub.h"

View file

@ -10,7 +10,7 @@
#include "qemu/int128.h" #include "qemu/int128.h"
#include "qemu/range.h" #include "qemu/range.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/cpu-common.h" #include "exec/cpu-common.h"
#include "exec/ram_addr.h" #include "exec/ram_addr.h"
#include "qapi/error.h" #include "qapi/error.h"

View file

@ -57,7 +57,7 @@
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "hw/pci/pci.h" #include "hw/pci/pci.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/pci/msi.h" #include "hw/pci/msi.h"
#include "hw/pci/msix.h" #include "hw/pci/msix.h"
#include "hw/remote/vfio-user-obj.h" #include "hw/remote/vfio-user-obj.h"

View file

@ -13,7 +13,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "exec/memop.h" #include "exec/memop.h"
#include "exec/memory.h" #include "system/memory.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "system/hw_accel.h" #include "system/hw_accel.h"
#include "hw/boards.h" #include "hw/boards.h"

View file

@ -9,7 +9,7 @@
*/ */
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "exec/memory.h" #include "system/memory.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/sh4/sh.h" #include "hw/sh4/sh.h"

View file

@ -12,7 +12,7 @@
#ifndef TPM_TPM_PPI_H #ifndef TPM_TPM_PPI_H
#define TPM_TPM_PPI_H #define TPM_TPM_PPI_H
#include "exec/memory.h" #include "system/memory.h"
typedef struct TPMPPI { typedef struct TPMPPI {
MemoryRegion ram; MemoryRegion ram;

View file

@ -28,7 +28,7 @@
#ifndef HW_USB_HCD_UHCI_H #ifndef HW_USB_HCD_UHCI_H
#define HW_USB_HCD_UHCI_H #define HW_USB_HCD_UHCI_H
#include "exec/memory.h" #include "system/memory.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "hw/pci/pci_device.h" #include "hw/pci/pci_device.h"
#include "hw/usb.h" #include "hw/usb.h"

View file

@ -28,7 +28,7 @@
#include "hw/vfio/vfio-common.h" #include "hw/vfio/vfio-common.h"
#include "hw/vfio/pci.h" #include "hw/vfio/pci.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/ram_addr.h" #include "exec/ram_addr.h"
#include "exec/target_page.h" #include "exec/target_page.h"
#include "hw/hw.h" #include "hw/hw.h"

View file

@ -24,7 +24,7 @@
#include "hw/vfio/vfio-common.h" #include "hw/vfio/vfio-common.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/ram_addr.h" #include "exec/ram_addr.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "qemu/range.h" #include "qemu/range.h"

View file

@ -12,7 +12,7 @@
#ifndef HW_VFIO_VFIO_PCI_H #ifndef HW_VFIO_VFIO_PCI_H
#define HW_VFIO_VFIO_PCI_H #define HW_VFIO_VFIO_PCI_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/pci/pci_device.h" #include "hw/pci/pci_device.h"
#include "hw/vfio/vfio-common.h" #include "hw/vfio/vfio-common.h"
#include "qemu/event_notifier.h" #include "qemu/event_notifier.h"

View file

@ -28,7 +28,7 @@
#include "qemu/main-loop.h" #include "qemu/main-loop.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/range.h" #include "qemu/range.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/address-spaces.h" #include "exec/address-spaces.h"
#include "qemu/queue.h" #include "qemu/queue.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View file

@ -11,7 +11,7 @@
#define HW_VIRTIO_VHOST_IOVA_TREE_H #define HW_VIRTIO_VHOST_IOVA_TREE_H
#include "qemu/iova-tree.h" #include "qemu/iova-tree.h"
#include "exec/memory.h" #include "system/memory.h"
typedef struct VhostIOVATree VhostIOVATree; typedef struct VhostIOVATree VhostIOVATree;

View file

@ -32,7 +32,7 @@
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/loader.h" #include "hw/loader.h"
#include "elf.h" #include "elf.h"
#include "exec/memory.h" #include "system/memory.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "xtensa_memory.h" #include "xtensa_memory.h"
#include "xtensa_sim.h" #include "xtensa_sim.h"

View file

@ -33,7 +33,7 @@
#include "hw/pci-host/gpex.h" #include "hw/pci-host/gpex.h"
#include "net/net.h" #include "net/net.h"
#include "elf.h" #include "elf.h"
#include "exec/memory.h" #include "system/memory.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "xtensa_memory.h" #include "xtensa_memory.h"
#include "xtensa_sim.h" #include "xtensa_sim.h"

View file

@ -27,7 +27,7 @@
#include "qemu/osdep.h" #include "qemu/osdep.h"
#include "qapi/error.h" #include "qapi/error.h"
#include "exec/memory.h" #include "system/memory.h"
#include "qemu/error-report.h" #include "qemu/error-report.h"
#include "xtensa_memory.h" #include "xtensa_memory.h"

View file

@ -34,7 +34,7 @@
#include "hw/loader.h" #include "hw/loader.h"
#include "hw/qdev-properties.h" #include "hw/qdev-properties.h"
#include "elf.h" #include "elf.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/tswap.h" #include "exec/tswap.h"
#include "hw/char/serial-mm.h" #include "hw/char/serial-mm.h"
#include "net/net.h" #include "net/net.h"

View file

@ -22,11 +22,14 @@
#include "exec/page-protection.h" #include "exec/page-protection.h"
#include "exec/cpu-common.h" #include "exec/cpu-common.h"
#include "exec/cpu-interrupt.h" #include "exec/cpu-interrupt.h"
#include "exec/memory.h"
#include "exec/tswap.h" #include "exec/tswap.h"
#include "hw/core/cpu.h" #include "hw/core/cpu.h"
#include "exec/cpu-defs.h" #include "exec/cpu-defs.h"
#include "exec/target_page.h" #include "exec/target_page.h"
#ifndef CONFIG_USER_ONLY
#include "system/memory.h"
#endif
CPUArchState *cpu_copy(CPUArchState *env); CPUArchState *cpu_copy(CPUArchState *env);

View file

@ -24,7 +24,7 @@
#ifndef IOPORT_H #ifndef IOPORT_H
#define IOPORT_H #define IOPORT_H
#include "exec/memory.h" #include "system/memory.h"
#define MAX_IOPORTS (64 * 1024) #define MAX_IOPORTS (64 * 1024)
#define IOPORTS_MASK (MAX_IOPORTS - 1) #define IOPORTS_MASK (MAX_IOPORTS - 1)

View file

@ -26,7 +26,7 @@
#include "exec/ramlist.h" #include "exec/ramlist.h"
#include "exec/ramblock.h" #include "exec/ramblock.h"
#include "exec/exec-all.h" #include "exec/exec-all.h"
#include "exec/memory.h" #include "system/memory.h"
#include "exec/target_page.h" #include "exec/target_page.h"
#include "qemu/rcu.h" #include "qemu/rcu.h"

View file

@ -21,7 +21,7 @@
*/ */
#include "qemu/notify.h" #include "qemu/notify.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/acpi/acpi_dev_interface.h" #include "hw/acpi/acpi_dev_interface.h"
/* /*

View file

@ -10,7 +10,7 @@
#ifndef HW_ACPI_TCO_H #ifndef HW_ACPI_TCO_H
#define HW_ACPI_TCO_H #define HW_ACPI_TCO_H
#include "exec/memory.h" #include "system/memory.h"
#include "migration/vmstate.h" #include "migration/vmstate.h"
/* As per ICH9 spec, the internal timer has an error of ~0.6s on every tick */ /* As per ICH9 spec, the internal timer has an error of ~0.6s on every tick */

View file

@ -29,7 +29,7 @@
#include "hw/sd/sdhci.h" #include "hw/sd/sdhci.h"
#include "hw/usb/chipidea.h" #include "hw/usb/chipidea.h"
#include "hw/watchdog/wdt_imx2.h" #include "hw/watchdog/wdt_imx2.h"
#include "exec/memory.h" #include "system/memory.h"
#include "target/arm/cpu.h" #include "target/arm/cpu.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -25,7 +25,7 @@
#include "hw/i2c/imx_i2c.h" #include "hw/i2c/imx_i2c.h"
#include "hw/gpio/imx_gpio.h" #include "hw/gpio/imx_gpio.h"
#include "hw/watchdog/wdt_imx2.h" #include "hw/watchdog/wdt_imx2.h"
#include "exec/memory.h" #include "system/memory.h"
#include "target/arm/cpu.h" #include "target/arm/cpu.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -34,7 +34,7 @@
#include "hw/usb/imx-usb-phy.h" #include "hw/usb/imx-usb-phy.h"
#include "hw/pci-host/designware.h" #include "hw/pci-host/designware.h"
#include "hw/or-irq.h" #include "hw/or-irq.h"
#include "exec/memory.h" #include "system/memory.h"
#include "cpu.h" #include "cpu.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -33,7 +33,7 @@
#include "hw/net/imx_fec.h" #include "hw/net/imx_fec.h"
#include "hw/usb/chipidea.h" #include "hw/usb/chipidea.h"
#include "hw/usb/imx-usb-phy.h" #include "hw/usb/imx-usb-phy.h"
#include "exec/memory.h" #include "system/memory.h"
#include "cpu.h" #include "cpu.h"
#include "qom/object.h" #include "qom/object.h"
#include "qemu/units.h" #include "qemu/units.h"

View file

@ -20,7 +20,7 @@
#ifndef HW_ARM_OMAP_H #ifndef HW_ARM_OMAP_H
#define HW_ARM_OMAP_H #define HW_ARM_OMAP_H
#include "exec/memory.h" #include "system/memory.h"
#include "target/arm/cpu-qom.h" #include "target/arm/cpu-qom.h"
#include "qemu/log.h" #include "qemu/log.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -24,7 +24,7 @@
#ifndef HW_ARM_STM32L4x5_SOC_H #ifndef HW_ARM_STM32L4x5_SOC_H
#define HW_ARM_STM32L4x5_SOC_H #define HW_ARM_STM32L4x5_SOC_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/arm/armv7m.h" #include "hw/arm/armv7m.h"
#include "hw/or-irq.h" #include "hw/or-irq.h"
#include "hw/misc/stm32l4x5_syscfg.h" #include "hw/misc/stm32l4x5_syscfg.h"

View file

@ -3,7 +3,7 @@
#ifndef HW_BOARDS_H #ifndef HW_BOARDS_H
#define HW_BOARDS_H #define HW_BOARDS_H
#include "exec/memory.h" #include "system/memory.h"
#include "system/hostmem.h" #include "system/hostmem.h"
#include "system/blockdev.h" #include "system/blockdev.h"
#include "qapi/qapi-types-machine.h" #include "qapi/qapi-types-machine.h"

View file

@ -1,7 +1,7 @@
#ifndef HW_PARALLEL_H #ifndef HW_PARALLEL_H
#define HW_PARALLEL_H #define HW_PARALLEL_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/isa/isa.h" #include "hw/isa/isa.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "chardev/char-fe.h" #include "chardev/char-fe.h"

View file

@ -22,7 +22,7 @@
#include "chardev/char.h" #include "chardev/char.h"
#include "chardev/char-fe.h" #include "chardev/char-fe.h"
#include "exec/memory.h" #include "system/memory.h"
#define TYPE_HTIF_UART "riscv.htif.uart" #define TYPE_HTIF_UART "riscv.htif.uart"

View file

@ -27,7 +27,7 @@
#define HW_SERIAL_MM_H #define HW_SERIAL_MM_H
#include "hw/char/serial.h" #include "hw/char/serial.h"
#include "exec/memory.h" #include "system/memory.h"
#include "chardev/char.h" #include "chardev/char.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -27,7 +27,7 @@
#define HW_SERIAL_H #define HW_SERIAL_H
#include "chardev/char-fe.h" #include "chardev/char-fe.h"
#include "exec/memory.h" #include "system/memory.h"
#include "qemu/fifo8.h" #include "qemu/fifo8.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -13,7 +13,7 @@
#ifndef MACFB_H #ifndef MACFB_H
#define MACFB_H #define MACFB_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/nubus/nubus.h" #include "hw/nubus/nubus.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View file

@ -8,7 +8,7 @@
#ifndef FSI_ASPEED_APB2OPB_H #ifndef FSI_ASPEED_APB2OPB_H
#define FSI_ASPEED_APB2OPB_H #define FSI_ASPEED_APB2OPB_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/fsi/fsi-master.h" #include "hw/fsi/fsi-master.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View file

@ -7,7 +7,7 @@
#ifndef FSI_CFAM_H #ifndef FSI_CFAM_H
#define FSI_CFAM_H #define FSI_CFAM_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/fsi/fsi.h" #include "hw/fsi/fsi.h"
#include "hw/fsi/lbus.h" #include "hw/fsi/lbus.h"

View file

@ -7,7 +7,7 @@
#ifndef FSI_FSI_MASTER_H #ifndef FSI_FSI_MASTER_H
#define FSI_FSI_MASTER_H #define FSI_FSI_MASTER_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "hw/fsi/fsi.h" #include "hw/fsi/fsi.h"
#include "hw/fsi/cfam.h" #include "hw/fsi/cfam.h"

View file

@ -7,7 +7,7 @@
#ifndef FSI_FSI_H #ifndef FSI_FSI_H
#define FSI_FSI_H #define FSI_FSI_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "hw/fsi/lbus.h" #include "hw/fsi/lbus.h"
#include "qemu/bitops.h" #include "qemu/bitops.h"

View file

@ -9,7 +9,7 @@
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "qemu/units.h" #include "qemu/units.h"
#include "exec/memory.h" #include "system/memory.h"
#define TYPE_FSI_LBUS_DEVICE "fsi.lbus.device" #define TYPE_FSI_LBUS_DEVICE "fsi.lbus.device"
OBJECT_DECLARE_SIMPLE_TYPE(FSILBusDevice, FSI_LBUS_DEVICE) OBJECT_DECLARE_SIMPLE_TYPE(FSILBusDevice, FSI_LBUS_DEVICE)

View file

@ -15,7 +15,7 @@
#ifndef NPCM7XX_GPIO_H #ifndef NPCM7XX_GPIO_H
#define NPCM7XX_GPIO_H #define NPCM7XX_GPIO_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
/* Number of pins managed by each controller. */ /* Number of pins managed by each controller. */

View file

@ -16,7 +16,7 @@
#ifndef NPCM7XX_SMBUS_H #ifndef NPCM7XX_SMBUS_H
#define NPCM7XX_SMBUS_H #define NPCM7XX_SMBUS_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/i2c/i2c.h" #include "hw/i2c/i2c.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View file

@ -1,7 +1,7 @@
#ifndef PM_SMBUS_H #ifndef PM_SMBUS_H
#define PM_SMBUS_H #define PM_SMBUS_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/i2c/smbus_master.h" #include "hw/i2c/smbus_master.h"
#define PM_SMBUS_MAX_MSG_SIZE 32 #define PM_SMBUS_MAX_MSG_SIZE 32

View file

@ -22,7 +22,7 @@
#define QEMU_APIC_INTERNAL_H #define QEMU_APIC_INTERNAL_H
#include "cpu.h" #include "cpu.h"
#include "exec/memory.h" #include "system/memory.h"
#include "qemu/timer.h" #include "qemu/timer.h"
#include "target/i386/cpu-qom.h" #include "target/i386/cpu-qom.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -18,7 +18,7 @@
#define HW_I386_X86_H #define HW_I386_X86_H
#include "exec/hwaddr.h" #include "exec/hwaddr.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/boards.h" #include "hw/boards.h"
#include "hw/i386/topology.h" #include "hw/i386/topology.h"

View file

@ -24,7 +24,7 @@
#ifndef HW_IDE_AHCI_H #ifndef HW_IDE_AHCI_H
#define HW_IDE_AHCI_H #define HW_IDE_AHCI_H
#include "exec/memory.h" #include "system/memory.h"
typedef struct AHCIDevice AHCIDevice; typedef struct AHCIDevice AHCIDevice;

View file

@ -25,7 +25,7 @@
#ifndef HW_IPMI_H #ifndef HW_IPMI_H
#define HW_IPMI_H #define HW_IPMI_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -1,7 +1,7 @@
#ifndef APM_H #ifndef APM_H
#define APM_H #define APM_H
#include "exec/memory.h" #include "system/memory.h"
#define APM_CNT_IOPORT 0xb2 #define APM_CNT_IOPORT 0xb2
#define ACPI_PORT_SMI_CMD APM_CNT_IOPORT #define ACPI_PORT_SMI_CMD APM_CNT_IOPORT

View file

@ -3,7 +3,7 @@
/* ISA bus */ /* ISA bus */
#include "exec/memory.h" #include "system/memory.h"
#include "exec/ioport.h" #include "exec/ioport.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -26,7 +26,7 @@
#include "hw/boards.h" #include "hw/boards.h"
#include "qom/object.h" #include "qom/object.h"
#include "target/m68k/cpu-qom.h" #include "target/m68k/cpu-qom.h"
#include "exec/memory.h" #include "system/memory.h"
#include "hw/m68k/q800-glue.h" #include "hw/m68k/q800-glue.h"
#include "hw/misc/mac_via.h" #include "hw/misc/mac_via.h"
#include "hw/net/dp8393x.h" #include "hw/net/dp8393x.h"

View file

@ -16,7 +16,7 @@
#ifndef NPCM7XX_MC_H #ifndef NPCM7XX_MC_H
#define NPCM7XX_MC_H #define NPCM7XX_MC_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
/** /**

View file

@ -16,7 +16,7 @@
#ifndef QEMU_PC_DIMM_H #ifndef QEMU_PC_DIMM_H
#define QEMU_PC_DIMM_H #define QEMU_PC_DIMM_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -7,7 +7,7 @@
/* Kernels can be configured with 64KB pages */ /* Kernels can be configured with 64KB pages */
#define INITRD_PAGE_SIZE (64 * KiB) #define INITRD_PAGE_SIZE (64 * KiB)
#include "exec/memory.h" #include "system/memory.h"
/* bonito.c */ /* bonito.c */
PCIBus *bonito_init(qemu_irq *pic); PCIBus *bonito_init(qemu_irq *pic);

View file

@ -25,7 +25,7 @@
#ifndef HW_MISC_AUXBUS_H #ifndef HW_MISC_AUXBUS_H
#define HW_MISC_AUXBUS_H #define HW_MISC_AUXBUS_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/qdev-core.h" #include "hw/qdev-core.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -14,7 +14,7 @@
#include "qemu/queue.h" #include "qemu/queue.h"
#include "qemu/event_notifier.h" #include "qemu/event_notifier.h"
#include "chardev/char-fe.h" #include "chardev/char-fe.h"
#include "exec/memory.h" #include "system/memory.h"
#include "qom/object.h" #include "qom/object.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View file

@ -9,7 +9,7 @@
#ifndef HW_MISC_MAC_VIA_H #ifndef HW_MISC_MAC_VIA_H
#define HW_MISC_MAC_VIA_H #define HW_MISC_MAC_VIA_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "hw/misc/mos6522.h" #include "hw/misc/mos6522.h"
#include "hw/input/adb.h" #include "hw/input/adb.h"

View file

@ -16,7 +16,7 @@
#ifndef NPCM7XX_MFT_H #ifndef NPCM7XX_MFT_H
#define NPCM7XX_MFT_H #define NPCM7XX_MFT_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/clock.h" #include "hw/clock.h"
#include "hw/irq.h" #include "hw/irq.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View file

@ -16,7 +16,7 @@
#ifndef NPCM_CLK_H #ifndef NPCM_CLK_H
#define NPCM_CLK_H #define NPCM_CLK_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/clock.h" #include "hw/clock.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"

View file

@ -16,7 +16,7 @@
#ifndef NPCM_GCR_H #ifndef NPCM_GCR_H
#define NPCM_GCR_H #define NPCM_GCR_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -15,7 +15,7 @@
#ifndef HW_MISC_PVPANIC_H #ifndef HW_MISC_PVPANIC_H
#define HW_MISC_PVPANIC_H #define HW_MISC_PVPANIC_H
#include "exec/memory.h" #include "system/memory.h"
#include "qom/object.h" #include "qom/object.h"
#include "standard-headers/misc/pvpanic.h" #include "standard-headers/misc/pvpanic.h"

View file

@ -22,7 +22,7 @@
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "net/net.h" #include "net/net.h"
#include "exec/memory.h" #include "system/memory.h"
#define SONIC_REG_COUNT 0x40 #define SONIC_REG_COUNT 0x40

View file

@ -23,7 +23,7 @@
*/ */
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "exec/memory.h" #include "system/memory.h"
#include "net/net.h" #include "net/net.h"
#include "net/eth.h" #include "net/eth.h"
#include "qom/object.h" #include "qom/object.h"

View file

@ -26,7 +26,7 @@
#ifndef MAC_NVRAM_H #ifndef MAC_NVRAM_H
#define MAC_NVRAM_H #define MAC_NVRAM_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
#define MACIO_NVRAM_SIZE 0x2000 #define MACIO_NVRAM_SIZE 0x2000

View file

@ -16,7 +16,7 @@
#ifndef NPCM7XX_OTP_H #ifndef NPCM7XX_OTP_H
#define NPCM7XX_OTP_H #define NPCM7XX_OTP_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/sysbus.h" #include "hw/sysbus.h"
/* Each OTP module holds 8192 bits of one-time programmable storage */ /* Each OTP module holds 8192 bits of one-time programmable storage */

View file

@ -11,7 +11,7 @@
#include "hw/sysbus.h" #include "hw/sysbus.h"
#include "qom/object.h" #include "qom/object.h"
#include "exec/memory.h" #include "system/memory.h"
#define TYPE_FSL_IMX8M_PCIE_PHY "fsl-imx8m-pcie-phy" #define TYPE_FSL_IMX8M_PCIE_PHY "fsl-imx8m-pcie-phy"
OBJECT_DECLARE_SIMPLE_TYPE(FslImx8mPciePhyState, FSL_IMX8M_PCIE_PHY) OBJECT_DECLARE_SIMPLE_TYPE(FslImx8mPciePhyState, FSL_IMX8M_PCIE_PHY)

View file

@ -50,7 +50,7 @@
* 0xf0000 - 0xfffff System BIOS Area Memory Segments * 0xf0000 - 0xfffff System BIOS Area Memory Segments
*/ */
#include "exec/memory.h" #include "system/memory.h"
#define SMRAM_C_BASE 0xa0000 #define SMRAM_C_BASE 0xa0000
#define SMRAM_C_END 0xc0000 #define SMRAM_C_END 0xc0000

View file

@ -11,7 +11,7 @@
#ifndef PCI_HOST_REMOTE_H #ifndef PCI_HOST_REMOTE_H
#define PCI_HOST_REMOTE_H #define PCI_HOST_REMOTE_H
#include "exec/memory.h" #include "system/memory.h"
#include "hw/pci/pcie_host.h" #include "hw/pci/pcie_host.h"
#define TYPE_REMOTE_PCIHOST "remote-pcihost" #define TYPE_REMOTE_PCIHOST "remote-pcihost"

View file

@ -1,7 +1,7 @@
#ifndef QEMU_PCI_H #ifndef QEMU_PCI_H
#define QEMU_PCI_H #define QEMU_PCI_H
#include "exec/memory.h" #include "system/memory.h"
#include "system/dma.h" #include "system/dma.h"
#include "system/host_iommu_device.h" #include "system/host_iommu_device.h"

Some files were not shown because too many files have changed in this diff Show more