These patches update some ancient PXA2xx devices to use QOM, VMState and new MemoryRegionOps APIs. The main motivation here was to get rid of a few of uses of legacy APIs like register_savevm() and old_mmio, in the hope that eventually we can manage to get rid of them completely...
v1->v2 changes: * patch 2: add missing sysbus_init_irq calls * patch 4: use ARRAY_SIZE rather than sizeof Peter Maydell (5): hw/arm/pxa2xx: Mark coprocessor registers as ARM_CP_IO hw/arm/pxa2xx: Convert pxa2xx-fir to QOM and VMState hw/arm/pxa2xx: Add reset method for pxa2xx_ssp hw/arm/pxa2xx: Convert pxa2xx-ssp to VMState hw/sd/pxa2xx_mmci: Stop using old_mmio in MemoryRegionOps hw/arm/pxa2xx.c | 247 +++++++++++++++++++++++++++++----------------------- hw/arm/pxa2xx_pic.c | 2 +- hw/sd/pxa2xx_mmci.c | 68 ++------------- 3 files changed, 145 insertions(+), 172 deletions(-) -- 1.9.1