isa: implement isa_is_ioport_assigned via memory_region_find
commitb6f3296292f027c9a87a12dddd736a7c344d0206
authorJan Kiszka <jan.kiszka@siemens.com>
Sat, 22 Jun 2013 06:07:01 +0000 (22 08:07 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Jul 2013 15:42:43 +0000 (4 17:42 +0200)
treefd91c43198bc6a01a15fe7ef9a55021c988cc32e
parent8ab9b41876c0ead43648b55576a8f17aa2c8b027
isa: implement isa_is_ioport_assigned via memory_region_find

Open-code isa_is_ioport_assigned via a memory region lookup. As all IO
ports are now directly or indirectly registered via the memory API, this
becomes possible and will finally allow us to drop the ioport tables.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/acpi/piix4.c
hw/isa/lpc_ich9.c
include/exec/ioport.h
ioport.c