summaryrefslogtreecommitdiffstats
path: root/hw/isa.h
diff options
context:
space:
mode:
authorAvi Kivity2011-08-15 16:17:35 +0200
committerAnthony Liguori2011-08-22 17:47:49 +0200
commitc839adec884ed601204d527f021bf638e879a61f (patch)
treeb27ff78a57b74422461cc049ef3c4965f74153c2 /hw/isa.h
parentsysbus: remove sysbus_init_mmio_cb() (diff)
downloadqemu-c839adec884ed601204d527f021bf638e879a61f.tar.gz
qemu-c839adec884ed601204d527f021bf638e879a61f.tar.xz
qemu-c839adec884ed601204d527f021bf638e879a61f.zip
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>
Diffstat (limited to 'hw/isa.h')
-rw-r--r--hw/isa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/isa.h b/hw/isa.h
index f1f21812d6..f344699722 100644
--- a/hw/isa.h
+++ b/hw/isa.h
@@ -32,6 +32,7 @@ void isa_init_irq(ISADevice *dev, qemu_irq *p, int isairq);
void isa_init_ioport(ISADevice *dev, uint16_t ioport);
void isa_init_ioport_range(ISADevice *dev, uint16_t start, uint16_t length);
void isa_qdev_register(ISADeviceInfo *info);
+MemoryRegion *isa_address_space(ISADevice *dev);
ISADevice *isa_create(const char *name);
ISADevice *isa_try_create(const char *name);
ISADevice *isa_create_simple(const char *name);