isa: add isa_address_space()
authorAvi Kivity <avi@redhat.com>
Mon, 15 Aug 2011 14:17:35 +0000 (17:17 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 22 Aug 2011 15:47:49 +0000 (10:47 -0500)
commitf696b750faa254625c9ec50c5203b85cc678f122
treeb27ff78a57b74422461cc049ef3c4965f74153c2
parentde64daea253c016d02acb9c8e4c646278d998ab0
isa: add isa_address_space()

A helper that returns the address space used by ISA devices.  Useful
for getting rid of isa_mem_base, multiple ISA buses, or ISA buses behind
bridges.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/isa-bus.c
hw/isa.h