Andreas Färber [Sat, 27 Jul 2013 13:45:51 +0000 (15:45 +0200)]
sysbus: Remove unused sysbus_new() prototype
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:39:20 +0000 (15:39 +0200)]
sysbus: Drop FROM_SYSBUS()
As a replacement, use your own macro based on OBJECT_CHECK().
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:32:47 +0000 (15:32 +0200)]
xilinx_timer: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:30:21 +0000 (15:30 +0200)]
tusb6010: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:24:22 +0000 (15:24 +0200)]
slavio_timer: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:20:20 +0000 (15:20 +0200)]
pxa2xx_timer: QOM'ify pxa25x-timer and pxa27x-timer
Introduce type constant for new abstract base type, use QOM casts and
let both non-abstract types inherit from the new base type.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:12:40 +0000 (15:12 +0200)]
puv3_ost: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:10:14 +0000 (15:10 +0200)]
pl031: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:07:44 +0000 (15:07 +0200)]
pl031: Rename pl031_state to PL031State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:06:42 +0000 (15:06 +0200)]
milkymist-sysctl: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 13:01:49 +0000 (15:01 +0200)]
m48t59: QOM cast cleanup for M48t59SysBusState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:54:54 +0000 (14:54 +0200)]
lm32_timer: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:52:32 +0000 (14:52 +0200)]
grlib_gptimer: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:49:12 +0000 (14:49 +0200)]
exynos4210_rtc: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:45:47 +0000 (14:45 +0200)]
exynos4210_pwm: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:41:50 +0000 (14:41 +0200)]
exynos4210_mct: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:34:22 +0000 (14:34 +0200)]
etraxfs_timer: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:30:31 +0000 (14:30 +0200)]
etraxfs_timer: Rename etrax_timer to ETRAXTimerState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:28:31 +0000 (14:28 +0200)]
cadence_ttc: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:20:25 +0000 (14:20 +0200)]
arm_timer: QOM cast cleanup for icp_pit_state
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:17:41 +0000 (14:17 +0200)]
arm_timer: QOM cast cleanup for SP804State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:15:46 +0000 (14:15 +0200)]
arm_timer: Rename sp804_state to SP804State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:07:22 +0000 (14:07 +0200)]
xilinx_spi: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:03:29 +0000 (14:03 +0200)]
pl022: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 12:00:25 +0000 (14:00 +0200)]
pl022: Rename pl022_state to PL022State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:50:51 +0000 (13:50 +0200)]
sun4u: QOM cast cleanup for RamDevice
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:48:18 +0000 (13:48 +0200)]
sun4u: QOM cast cleanup for PROMState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:45:23 +0000 (13:45 +0200)]
sun4m: QOM cast cleanup for RamDevice
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:42:29 +0000 (13:42 +0200)]
sun4m: QOM cast cleanup for PROMState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:38:44 +0000 (13:38 +0200)]
sun4m: QOM cast cleanup for AFXState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:33:46 +0000 (13:33 +0200)]
sun4m: QOM cast cleanup for IDRegState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:23:41 +0000 (13:23 +0200)]
pl181: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:20:09 +0000 (13:20 +0200)]
pl181: Rename pl181_state to PL181State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:18:50 +0000 (13:18 +0200)]
milkymist-memcard: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 11:03:07 +0000 (13:03 +0200)]
ppce500_spin: QOM cast cleanup
Introduce type constant and use QOM cast.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:50:29 +0000 (12:50 +0200)]
ds1225y: QOM cast cleanup for SysBusNvRamState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:47:09 +0000 (12:47 +0200)]
ds1225y: Drop bogus qdev field from NvRamState
It is not a device, and the field is not used from code either.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:43:06 +0000 (12:43 +0200)]
xilinx_ethlite: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:35:15 +0000 (12:35 +0200)]
xgmac: QOM cast cleanup
Introduce type constant and use QOM casts and typedef consistently.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:27:46 +0000 (12:27 +0200)]
stellaris_enet: Fix NetClientInfo::cleanup
Drop freeing stellaris_enet_state - that is done by QOM later on unref.
Both MemoryRegion init and savevm registration happen in SysBusDevice
initfn currently, so move them into an unrealizefn for now.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:23:22 +0000 (12:23 +0200)]
stellaris_enet: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:17:48 +0000 (12:17 +0200)]
smc91c111: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:13:17 +0000 (12:13 +0200)]
milkymist-minimac2: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 10:08:14 +0000 (12:08 +0200)]
lance: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 09:55:02 +0000 (11:55 +0200)]
lan9118: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 09:48:42 +0000 (11:48 +0200)]
etraxfs_eth: Rename fs_eth to ETRAXFSEthState
Also add a typedef.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 09:44:01 +0000 (11:44 +0200)]
etraxfs_eth: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Sat, 27 Jul 2013 09:39:47 +0000 (11:39 +0200)]
cadence_gem: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 21:29:03 +0000 (23:29 +0200)]
zynq_slcr: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 21:21:50 +0000 (23:21 +0200)]
slavio_misc: QOM cast cleanup for APCState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 21:19:11 +0000 (23:19 +0200)]
slavio_misc: QOM cast cleanup for MiscState
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 21:16:03 +0000 (23:16 +0200)]
puv3_pm: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 20:32:18 +0000 (22:32 +0200)]
mst_fpga: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 20:27:57 +0000 (22:27 +0200)]
milkymist-pfpu: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 20:24:22 +0000 (22:24 +0200)]
milkymist-hpdmc: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:59:04 +0000 (21:59 +0200)]
lm32_sys: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:47:58 +0000 (21:47 +0200)]
exynos4210_pmu: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:39:54 +0000 (21:39 +0200)]
eccmemctl: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:34:18 +0000 (21:34 +0200)]
arm_sysctl: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:20:52 +0000 (21:20 +0200)]
arm_l2x0: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 19:18:35 +0000 (21:18 +0200)]
arm_l2x0: Rename l2x0_state to L2x0State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:46:22 +0000 (20:46 +0200)]
xilinx_intc: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:40:40 +0000 (20:40 +0200)]
slavio_intctl: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:34:29 +0000 (20:34 +0200)]
realview_gic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:30:57 +0000 (20:30 +0200)]
puv3_intc: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:23:57 +0000 (20:23 +0200)]
pl190: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:18:42 +0000 (20:18 +0200)]
pl190: Rename pl190_state to PL190State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 18:14:20 +0000 (20:14 +0200)]
omap_intc: QOM'ify omap-intc and omap2-intc
Create a new abstract base type and let omap-intc and omap2-intc inherit
from it. Introduce a type constant and use QOM casts.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:53:49 +0000 (19:53 +0200)]
lm32_pic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:26:18 +0000 (19:26 +0200)]
grlib_irqmp: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:19:19 +0000 (19:19 +0200)]
exynos4210_gic: QOM cast cleanup for exynos4210.irq_gate
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:16:20 +0000 (19:16 +0200)]
exynos4210_gic: QOM cast cleanup for exynos4210.gic
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:11:37 +0000 (19:11 +0200)]
exynos4210_combiner: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 17:05:58 +0000 (19:05 +0200)]
etraxfs_pic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 16:57:48 +0000 (18:57 +0200)]
arm_gic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 16:49:24 +0000 (18:49 +0200)]
pl050: QOM'ify pl050_keyboard and pl050_mouse
Introduce an abstract type pl050 and let pl050_keyboar and pl050_mouse
inherit from it, using different instance_init functions.
Introduce a type constant and use QOM casts.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 16:40:25 +0000 (18:40 +0200)]
pl050: Rename pl050_state to PL050State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 16:37:02 +0000 (18:37 +0200)]
milkymist-softusb: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 16:28:26 +0000 (18:28 +0200)]
versatile_i2c: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 16:24:27 +0000 (18:24 +0200)]
omap_i2c: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 16:13:46 +0000 (18:13 +0200)]
bitbang_i2c: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 15:41:16 +0000 (17:41 +0200)]
gpio/zaurus: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 15:37:37 +0000 (17:37 +0200)]
puv3_gpio: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 15:31:46 +0000 (17:31 +0200)]
pl061: QOM'ify pl061 and pl061_luminary
Let pl061_luminary inherit from pl061, with differing instance_init.
Introduce type constant and use QOM casts.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 15:21:21 +0000 (17:21 +0200)]
pl061: Rename pl061_state to PL061State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 15:19:36 +0000 (17:19 +0200)]
omap_gpio: QOM cast cleanup for omap2_gpif_s
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 15:14:40 +0000 (17:14 +0200)]
omap_gpio: QOM cast cleanup for omap_gpif_s
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 14:58:49 +0000 (16:58 +0200)]
sun4m_iommu: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 14:55:59 +0000 (16:55 +0200)]
sparc32_dma: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 14:43:17 +0000 (16:43 +0200)]
pxa2xx_dma: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 14:04:39 +0000 (16:04 +0200)]
puv3_dma: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 10:47:17 +0000 (12:47 +0200)]
pl080: QOM'ify pl080 and pl081
Let pl081 inherit from pl080 and replace triple SysBus initfn with two
instance_inits.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Fri, 26 Jul 2013 10:37:06 +0000 (12:37 +0200)]
pl080: Rename pl080_state to PL080State
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Wed, 24 Jul 2013 21:48:30 +0000 (23:48 +0200)]
empty_slot: QOM cast cleanup
Introduce type constant and use QOM casts.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Wed, 24 Jul 2013 21:29:17 +0000 (23:29 +0200)]
pl011: QOM'ify pl011 and pl011_luminary
Let the Luminary variant inherit from the ARM one, overwriting its ID on
instance_init. Introduce type constant and use QOM casts. Replace
triplicated SysBusDevice initfn with QOM realizefn and instance_init.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Wed, 24 Jul 2013 21:13:57 +0000 (23:13 +0200)]
pl011: Rename pl011_state
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Wed, 24 Jul 2013 21:08:14 +0000 (23:08 +0200)]
milkymist-uart: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Wed, 24 Jul 2013 20:59:55 +0000 (22:59 +0200)]
lm32_uart: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Wed, 24 Jul 2013 20:56:36 +0000 (22:56 +0200)]
lm32_juart: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
Andreas Färber [Wed, 24 Jul 2013 20:49:02 +0000 (22:49 +0200)]
lm32_juart: Relocate and tidy header
Signed-off-by: Andreas Färber <afaerber@suse.de>