First, this series converts the remaining users of register_ioport* to portio lists. Then it replaces the current portio dispatcher with the existing one for MMIO and removes several lines of code. This also allows to build BQL-free portio on top once we enhance the memory layer accordingly.
Changes in v2: - rebased over master (which already contains some patches from v1) - refactored PIO dispatching according to Paolo's suggestions Jan CC: malc <av1...@comtv.ru> Jan Kiszka (13): adlib: replace register_ioport* applesmc: replace register_ioport* wdt_ib700: replace register_ioport* i82374: replace register_ioport* prep: replace register_ioport* vt82c686: replace register_ioport* Privatize register_ioport_read/write isa: implement isa_is_ioport_assigned via memory_region_find vmware-vga: Accept unaligned I/O accesses xen: Mark fixed platform I/O as unaligned ioport: Switch dispatching to memory core layer ioport: Remove unused old dispatching services ioport: Move IOPortRead/WriteFunc typedefs to memory.h exec.c | 27 --- hw/acpi/piix4.c | 9 +- hw/audio/adlib.c | 20 ++- hw/display/vmware_vga.c | 4 + hw/dma/i82374.c | 18 ++- hw/isa/lpc_ich9.c | 9 +- hw/isa/vt82c686.c | 40 +++-- hw/misc/applesmc.c | 50 ++++-- hw/ppc/prep.c | 23 ++- hw/watchdog/wdt_ib700.c | 12 +- hw/xen/xen_platform.c | 4 + include/exec/ioport.h | 19 +-- include/exec/iorange.h | 31 ---- include/exec/memory-internal.h | 2 - include/exec/memory.h | 18 +-- ioport.c | 380 +++++++++++----------------------------- memory.c | 88 --------- 17 files changed, 236 insertions(+), 518 deletions(-) delete mode 100644 include/exec/iorange.h -- 1.7.3.4