sdk/emulator/qemu.git
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>
12 years agosyborg_keyboard: convert to memory API
Benoît Canet [Mon, 24 Oct 2011 20:38:23 +0000 (22:38 +0200)]
syborg_keyboard: convert to memory API

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

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

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

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agomarvell_88x8618_audio: convert to memory API
Benoît Canet [Tue, 25 Oct 2011 10:32:35 +0000 (12:32 +0200)]
marvell_88x8618_audio: convert to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agostellaris: convert gptm to memory API
Benoît Canet [Mon, 17 Oct 2011 15:28:32 +0000 (17:28 +0200)]
stellaris: convert gptm to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agostellaris: convert adc to memory API
Benoît Canet [Mon, 17 Oct 2011 15:28:31 +0000 (17:28 +0200)]
stellaris: convert adc to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agostellaris: convert i2c to memory API
Benoît Canet [Mon, 17 Oct 2011 15:28:30 +0000 (17:28 +0200)]
stellaris: convert i2c to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agostellaris: convert sys to memory API
Benoît Canet [Mon, 17 Oct 2011 15:28:29 +0000 (17:28 +0200)]
stellaris: convert sys to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agointegratorcp: convert control to memory API
Benoît Canet [Mon, 17 Oct 2011 15:28:28 +0000 (17:28 +0200)]
integratorcp: convert control to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agointegratorcp: convert icp pic to memory API
Benoît Canet [Mon, 17 Oct 2011 15:28:27 +0000 (17:28 +0200)]
integratorcp: convert icp pic to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agointegratorcp: convert core to memory API
Benoît Canet [Mon, 17 Oct 2011 15:28:26 +0000 (17:28 +0200)]
integratorcp: convert core to memory API

Signed-off-by: Benoit Canet <benoit.canet@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoioapic: Convert to memory API
Jan Kiszka [Mon, 17 Oct 2011 11:11:27 +0000 (13:11 +0200)]
ioapic: Convert to memory API

This maintains the old imprecise access size handling.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agoioapic: Reject non-dword accesses to IOWIN register
Jan Kiszka [Mon, 17 Oct 2011 11:11:29 +0000 (13:11 +0200)]
ioapic: Reject non-dword accesses to IOWIN register

Aligns the model with the spec.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
12 years agosbi: convert to memory API
Avi Kivity [Sun, 16 Oct 2011 14:11:06 +0000 (16:11 +0200)]
sbi: convert to memory API

Signed-off-by: Avi Kivity <avi@redhat.com>