]> git.proxmox.com Git - mirror_qemu.git/log
mirror_qemu.git
12 years agodocs: document memory API interaction with migration
Avi Kivity [Wed, 7 Dec 2011 16:57:41 +0000 (18:57 +0200)]
docs: document memory API interaction with migration

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agopiix_pci: adapt smram mapping to use memory mutators
Avi Kivity [Sun, 4 Dec 2011 18:06:16 +0000 (20:06 +0200)]
piix_pci: adapt smram mapping to use memory mutators

Eliminates fake state ->smram_enabled.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agocirrus_vga: adapt to memory mutators API
Avi Kivity [Sun, 4 Dec 2011 17:49:22 +0000 (19:49 +0200)]
cirrus_vga: adapt to memory mutators API

Simplify the code by avoiding dynamic creation and destruction of
memory regions.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agomemory: optimize empty transactions due to mutators
Avi Kivity [Wed, 14 Sep 2011 09:16:20 +0000 (12:16 +0300)]
memory: optimize empty transactions due to mutators

The mutating memory APIs can easily cause empty transactions,
where the mutators don't actually change anything, or perhaps
only modify disabled regions.  Detect these conditions and
avoid regenerating the memory topology.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agomemory: introduce memory_region_set_alias_offset()
Avi Kivity [Sun, 4 Dec 2011 17:16:50 +0000 (19:16 +0200)]
memory: introduce memory_region_set_alias_offset()

Add an API to update an alias offset of an active alias.  This can be
used to simplify implementation of dynamic memory banks.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agomemory: introduce memory_region_set_address()
Avi Kivity [Wed, 14 Sep 2011 09:10:12 +0000 (12:10 +0300)]
memory: introduce memory_region_set_address()

Allow changing the address of a memory region while it is
in the memory hierarchy.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agomemory: introduce memory_region_set_enabled()
Avi Kivity [Wed, 14 Sep 2011 08:54:58 +0000 (11:54 +0300)]
memory: introduce memory_region_set_enabled()

This allows users to disable a memory region without removing
it from the hierarchy, simplifying the implementation of
memory routers.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_l4: rename omap_l4_attach_region() to omap_l4_attach()
Avi Kivity [Mon, 28 Nov 2011 13:40:49 +0000 (15:40 +0200)]
omap_l4: rename omap_l4_attach_region() to omap_l4_attach()

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_l4: remove omap_l4_attach()
Avi Kivity [Mon, 28 Nov 2011 13:37:30 +0000 (15:37 +0200)]
omap_l4: remove omap_l4_attach()

No longer used.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_i2c: convert to memory API
Benoît Canet [Fri, 25 Nov 2011 14:21:37 +0000 (15:21 +0100)]
omap_i2c: convert to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_lcdc: convert to memory API
Benoît Canet [Mon, 28 Nov 2011 12:53:36 +0000 (13:53 +0100)]
omap_lcdc: convert to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_spi: convert to memory API
Benoît Canet [Mon, 28 Nov 2011 12:53:35 +0000 (13:53 +0100)]
omap_spi: convert to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_sx1: convert to memory API
Benoît Canet [Mon, 28 Nov 2011 12:53:34 +0000 (13:53 +0100)]
omap_sx1: convert to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_l4: convert to memory API
Benoît Canet [Fri, 25 Nov 2011 14:21:36 +0000 (15:21 +0100)]
omap_l4: convert to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_dss: convert to memory API
Avi Kivity [Mon, 28 Nov 2011 11:10:11 +0000 (13:10 +0200)]
omap_dss: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap2: convert to memory API (part II)
Avi Kivity [Sun, 27 Nov 2011 09:53:29 +0000 (11:53 +0200)]
omap2: convert to memory API (part II)

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap2: convert to memory API (part I)
Avi Kivity [Sun, 27 Nov 2011 09:53:29 +0000 (11:53 +0200)]
omap2: convert to memory API (part I)

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosysbus: rename sysbus_init_mmio_region() to sysbus_init_mmio()
Avi Kivity [Sun, 27 Nov 2011 09:38:10 +0000 (11:38 +0200)]
sysbus: rename sysbus_init_mmio_region() to sysbus_init_mmio()

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosysbus: remove sysbus_init_mmio()
Avi Kivity [Sun, 27 Nov 2011 09:32:34 +0000 (11:32 +0200)]
sysbus: remove sysbus_init_mmio()

No longer used - replaced by sysbus_init_mmio_region().

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agobonito: convert cop to memory API
Benoît Canet [Thu, 24 Nov 2011 13:31:22 +0000 (14:31 +0100)]
bonito: convert cop to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agobonito: convert ldma to memory API
Benoît Canet [Thu, 24 Nov 2011 13:31:21 +0000 (14:31 +0100)]
bonito: convert ldma to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agobonito: convert south bridge pci config to memory API
Benoît Canet [Thu, 24 Nov 2011 13:31:20 +0000 (14:31 +0100)]
bonito: convert south bridge pci config to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agobonito: convert north bridge pci config to memory API
Benoît Canet [Thu, 24 Nov 2011 13:31:19 +0000 (14:31 +0100)]
bonito: convert north bridge pci config to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agobonito: convert north bridge register mapping to memory API
Benoît Canet [Thu, 24 Nov 2011 13:31:18 +0000 (14:31 +0100)]
bonito: convert north bridge register mapping to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agolm32_sys: convert to memory API
Benoît Canet [Thu, 24 Nov 2011 13:31:17 +0000 (14:31 +0100)]
lm32_sys: convert to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agolm32_uart: convert to memory API
Benoît Canet [Thu, 24 Nov 2011 13:31:16 +0000 (14:31 +0100)]
lm32_uart: convert to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agomcf_intc: convert to memory API
Benoît Canet [Thu, 24 Nov 2011 13:31:15 +0000 (14:31 +0100)]
mcf_intc: convert to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agomcf_fec: convert to memory API
Benoît Canet [Thu, 24 Nov 2011 13:31:14 +0000 (14:31 +0100)]
mcf_fec: convert to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agomcf_uart: convert to memory API
Benoît Canet [Thu, 24 Nov 2011 13:31:13 +0000 (14:31 +0100)]
mcf_uart: convert to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agomcf5206: convert to memory API
Benoît Canet [Thu, 24 Nov 2011 13:31:12 +0000 (14:31 +0100)]
mcf5206: convert to memory API

Signed-off-by: Benoît Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_gpio: convert to memory API
Avi Kivity [Thu, 24 Nov 2011 12:32:34 +0000 (14:32 +0200)]
omap_gpio: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_dma: convert to memory API
Avi Kivity [Thu, 24 Nov 2011 12:32:34 +0000 (14:32 +0200)]
omap_dma: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_sdrc: convert to memory API
Avi Kivity [Thu, 24 Nov 2011 12:32:34 +0000 (14:32 +0200)]
omap_sdrc: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_gp_timer: convert to memory API
Avi Kivity [Thu, 24 Nov 2011 12:32:34 +0000 (14:32 +0200)]
omap_gp_timer: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_synctimer: convert to memory API
Avi Kivity [Thu, 24 Nov 2011 12:32:34 +0000 (14:32 +0200)]
omap_synctimer: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_tap: convert to memory API
Avi Kivity [Thu, 24 Nov 2011 09:58:20 +0000 (11:58 +0200)]
omap_tap: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_mmc: convert to memory API
Avi Kivity [Thu, 24 Nov 2011 09:49:29 +0000 (11:49 +0200)]
omap_mmc: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_l4: add memory API variant of omap_l4_attach()
Avi Kivity [Wed, 23 Nov 2011 13:17:36 +0000 (15:17 +0200)]
omap_l4: add memory API variant of omap_l4_attach()

Also add omap_l4_region_size(), since memory API functions need
the size during initialization.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap: eliminate l4_register_io_memory
Avi Kivity [Wed, 23 Nov 2011 12:58:10 +0000 (14:58 +0200)]
omap: eliminate l4_register_io_memory

This is a trivial wrapper around cpu_register_io_memory(), adding
no value.  Inline it into all callers.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap: remove L4_MUX_HACK
Avi Kivity [Wed, 23 Nov 2011 12:06:31 +0000 (14:06 +0200)]
omap: remove L4_MUX_HACK

This was introduced apparently to overcome a limitation on the number of
cpu_register_io_memory() calls.  477b24ef91175 (July 2008) removed use
of the hack, but retained the code.  This patch removes the code as well.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Andrzej Zaborowski <balrogg@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoomap_uart: convert to memory API
Avi Kivity [Tue, 22 Nov 2011 13:06:46 +0000 (15:06 +0200)]
omap_uart: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoprep_pci: convert to memory API
Avi Kivity [Mon, 21 Nov 2011 15:16:57 +0000 (17:16 +0200)]
prep_pci: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoppce500_pci: convert to memory API
Avi Kivity [Sun, 20 Nov 2011 09:52:58 +0000 (11:52 +0200)]
ppce500_pci: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoppc4xx_pci: convert to memory API
Avi Kivity [Sun, 20 Nov 2011 09:44:37 +0000 (11:44 +0200)]
ppc4xx_pci: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agolm32_timer: convert to memory API
Avi Kivity [Sun, 20 Nov 2011 09:44:25 +0000 (11:44 +0200)]
lm32_timer: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosh_serial: convert to memory API
Benoît Canet [Thu, 17 Nov 2011 13:23:02 +0000 (14:23 +0100)]
sh_serial: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosh_intc: convert interrupt controller to memory API
Benoît Canet [Thu, 17 Nov 2011 13:23:01 +0000 (14:23 +0100)]
sh_intc: convert interrupt controller to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosh_timer: convert to memory API
Benoît Canet [Thu, 17 Nov 2011 13:23:00 +0000 (14:23 +0100)]
sh_timer: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosh7750: convert cache and tlb to memory API
Benoît Canet [Thu, 17 Nov 2011 13:22:59 +0000 (14:22 +0100)]
sh7750: convert cache and tlb to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosh7750: convert memory controller/ioport to memory API
Benoît Canet [Thu, 17 Nov 2011 13:22:58 +0000 (14:22 +0100)]
sh7750: convert memory controller/ioport to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoslavio_timer: convert to memory API
Benoît Canet [Tue, 15 Nov 2011 11:14:02 +0000 (12:14 +0100)]
slavio_timer: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoslavio_intctl: convert slaves interrupt controllers to memory API
Benoît Canet [Tue, 15 Nov 2011 11:14:00 +0000 (12:14 +0100)]
slavio_intctl: convert slaves interrupt controllers to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoslavio_intctl: convert master interrupt controller to memory API
Benoît Canet [Tue, 15 Nov 2011 11:13:59 +0000 (12:13 +0100)]
slavio_intctl: convert master interrupt controller to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoslavio_misc: convert aux2 to memory API
Benoît Canet [Tue, 15 Nov 2011 11:13:58 +0000 (12:13 +0100)]
slavio_misc: convert aux2 to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoslavio_misc: convert aux1 to memory API
Benoît Canet [Tue, 15 Nov 2011 11:13:57 +0000 (12:13 +0100)]
slavio_misc: convert aux1 to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoslavio_misc: convert system control to memory API
Benoît Canet [Tue, 15 Nov 2011 11:13:56 +0000 (12:13 +0100)]
slavio_misc: convert system control to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoslavio_misc: convert leds to memory API
Benoît Canet [Tue, 15 Nov 2011 11:13:55 +0000 (12:13 +0100)]
slavio_misc: convert leds to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoslavio_misc: convert modem to memory API
Benoît Canet [Tue, 15 Nov 2011 11:13:54 +0000 (12:13 +0100)]
slavio_misc: convert modem to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoslavio_misc: convert diagnostic to memory API
Benoît Canet [Tue, 15 Nov 2011 11:13:53 +0000 (12:13 +0100)]
slavio_misc: convert diagnostic to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoslavio_misc: convert configuration to memory API
Benoît Canet [Tue, 15 Nov 2011 11:13:52 +0000 (12:13 +0100)]
slavio_misc: convert configuration to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoslavio_misc: convert apc to memory API
Benoît Canet [Tue, 15 Nov 2011 11:13:51 +0000 (12:13 +0100)]
slavio_misc: convert apc to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoxilinx_axienet: convert to memory API
Avi Kivity [Tue, 15 Nov 2011 10:26:54 +0000 (12:26 +0200)]
xilinx_axienet: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoxilinx_axidma: convert to memory API
Avi Kivity [Tue, 15 Nov 2011 10:26:54 +0000 (12:26 +0200)]
xilinx_axidma: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosun4c_intctl: convert to memory API
Avi Kivity [Tue, 15 Nov 2011 09:56:16 +0000 (11:56 +0200)]
sun4c_intctl: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosun4m_iommu: convert to memory API
Avi Kivity [Tue, 15 Nov 2011 09:56:16 +0000 (11:56 +0200)]
sun4m_iommu: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agogrlib_irqmp: convert to memory API
Avi Kivity [Mon, 14 Nov 2011 12:23:17 +0000 (14:23 +0200)]
grlib_irqmp: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agogrlib_gptimer: convert to memory API
Avi Kivity [Mon, 14 Nov 2011 12:23:17 +0000 (14:23 +0200)]
grlib_gptimer: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agogrlib_apbuart: convert to memory API
Avi Kivity [Mon, 14 Nov 2011 11:10:13 +0000 (13:10 +0200)]
grlib_apbuart: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agomusicpal: avoid call to sysbus_init_mmio()
Avi Kivity [Mon, 14 Nov 2011 10:59:29 +0000 (12:59 +0200)]
musicpal: avoid call to sysbus_init_mmio()

Instead of calling sysbus_init_mmio() with a null region,
create a dummy region using the memory API.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agobitbang_i2c: avoid call to sysbus_init_mmio()
Avi Kivity [Mon, 14 Nov 2011 10:59:29 +0000 (12:59 +0200)]
bitbang_i2c: avoid call to sysbus_init_mmio()

Instead of calling sysbus_init_mmio() with a null region,
create a dummy region using the memory API.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosparc32_dma: convert to memory API
Avi Kivity [Mon, 14 Nov 2011 09:55:27 +0000 (11:55 +0200)]
sparc32_dma: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agopxa2xx_dma: convert to memory API
Avi Kivity [Mon, 14 Nov 2011 09:55:27 +0000 (11:55 +0200)]
pxa2xx_dma: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoaxis_dev88: convert to memory API
Avi Kivity [Mon, 14 Nov 2011 09:17:21 +0000 (11:17 +0200)]
axis_dev88: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoeccmemctl: convert to memory API
Avi Kivity [Mon, 14 Nov 2011 09:17:21 +0000 (11:17 +0200)]
eccmemctl: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoempty_slot: convert to memory API
Avi Kivity [Sun, 13 Nov 2011 13:19:29 +0000 (15:19 +0200)]
empty_slot: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agompc8544_guts: convert to memory API
Avi Kivity [Sun, 13 Nov 2011 13:05:28 +0000 (15:05 +0200)]
mpc8544_guts: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agofw_cfg: convert to memory API
Avi Kivity [Sun, 13 Nov 2011 13:05:28 +0000 (15:05 +0200)]
fw_cfg: convert to memory API

Because the new API doesn't allow overlapping regions with just different
access sizes, we have to create a new "combined" region for both control
and data, when the two share an ioport offset.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoesp: convert to memory API
Avi Kivity [Sun, 13 Nov 2011 11:07:04 +0000 (13:07 +0200)]
esp: convert to memory API

[benoit: fix]

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agomemory: add MemoryRegionOps::valid.accepts
Avi Kivity [Sun, 13 Nov 2011 11:05:27 +0000 (13:05 +0200)]
memory: add MemoryRegionOps::valid.accepts

MemoryRegionOps::valid tries to declaratively specify which transactions
are accepted by the device/bus, however it is not completely generic.  Add
a callback for special cases.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agom48t59: convert to memory API
Avi Kivity [Sun, 13 Nov 2011 10:16:07 +0000 (12:16 +0200)]
m48t59: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agods1225y: convert to memory API
Avi Kivity [Thu, 10 Nov 2011 09:24:24 +0000 (11:24 +0200)]
ds1225y: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agodp8393x: convert to memory API
Avi Kivity [Wed, 9 Nov 2011 16:22:37 +0000 (18:22 +0200)]
dp8393x: convert to memory API

Fixes address space leak on hotunplug.

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agocs4321: convert to memory API
Avi Kivity [Wed, 9 Nov 2011 14:10:07 +0000 (16:10 +0200)]
cs4321: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoide/mmio: convert to memory API
Avi Kivity [Wed, 9 Nov 2011 14:10:07 +0000 (16:10 +0200)]
ide/mmio: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agohpet: convert to memory API
Avi Kivity [Wed, 9 Nov 2011 14:10:07 +0000 (16:10 +0200)]
hpet: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agorc4030: convert to memory API
Avi Kivity [Sun, 6 Nov 2011 17:30:48 +0000 (19:30 +0200)]
rc4030: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agopxa2xx_lcd: convert to memory API
Benoît Canet [Sun, 30 Oct 2011 13:50:19 +0000 (14:50 +0100)]
pxa2xx_lcd: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agopxa2xx_mmci: convert to memory API
Benoît Canet [Sun, 30 Oct 2011 13:50:18 +0000 (14:50 +0100)]
pxa2xx_mmci: convert to memory API

Convert mechanicaly; the access size of the old_mmio fields
seems odd.

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agopxa2xx_pic: convert to memory API
Benoît Canet [Sun, 30 Oct 2011 13:50:17 +0000 (14:50 +0100)]
pxa2xx_pic: convert to memory API

The ARM documentation say transfers between the cpu and the
coprocessor are 32 bits wide.
Use 4 as size for coprocessor read and writes.

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agopxa2xx_timer: convert to memory API
Benoît Canet [Sun, 30 Oct 2011 13:50:16 +0000 (14:50 +0100)]
pxa2xx_timer: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agopxa2xx_keypad: convert to memory API
Benoît Canet [Sun, 30 Oct 2011 13:50:15 +0000 (14:50 +0100)]
pxa2xx_keypad: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agopxa2xx_pcmcia.c: convert io memory space to memory API
Benoît Canet [Sun, 30 Oct 2011 13:50:14 +0000 (14:50 +0100)]
pxa2xx_pcmcia.c: convert io memory space to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agopxa2xx_pcmcia.c: convert attribute memory space to memory API
Benoît Canet [Sun, 30 Oct 2011 13:50:13 +0000 (14:50 +0100)]
pxa2xx_pcmcia.c: convert attribute memory space to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agopxa2xx_pcmcia.c: convert common memory space to memory API
Benoît Canet [Sun, 30 Oct 2011 13:50:12 +0000 (14:50 +0100)]
pxa2xx_pcmcia.c: convert common memory space to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agopxa2xx_gpio: convert to memory API
Benoît Canet [Sun, 30 Oct 2011 13:50:11 +0000 (14:50 +0100)]
pxa2xx_gpio: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosyborg_virtio: convert to memory API
Benoît Canet [Mon, 24 Oct 2011 20:38:28 +0000 (22:38 +0200)]
syborg_virtio: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosyborg_timer: convert to memory API
Benoît Canet [Mon, 24 Oct 2011 20:38:27 +0000 (22:38 +0200)]
syborg_timer: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosyborg_serial: convert to memory API
Benoît Canet [Mon, 24 Oct 2011 20:38:26 +0000 (22:38 +0200)]
syborg_serial: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosyborg_rtc: convert to memory API
Benoît Canet [Mon, 24 Oct 2011 20:38:25 +0000 (22:38 +0200)]
syborg_rtc: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosyborg_pointer: convert to memory API
Benoît Canet [Mon, 24 Oct 2011 20:38:24 +0000 (22:38 +0200)]
syborg_pointer: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>