summaryrefslogtreecommitdiff
path: root/include/hw/isa
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-06-07 14:11:07 +0200
committerAndreas Färber <afaerber@suse.de>2013-06-07 14:55:25 +0200
commit2ae0e48d5fd2cb7c5bc5c392edf2dc33ac2959d0 (patch)
tree2a614f1d75125766ed76394ede8bfa5e70670aa6 /include/hw/isa
parentd2628b7d18521dacd3d4d246602e9bb3fc2a43dd (diff)
downloadqemu-2ae0e48d5fd2cb7c5bc5c392edf2dc33ac2959d0.tar.gz
isa: QOM'ify ISABus
Rename its parent field and use ISA_BUS() where necessary. Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/hw/isa')
-rw-r--r--include/hw/isa/isa.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/hw/isa/isa.h b/include/hw/isa/isa.h
index 1f6ff55605..da731d7bc7 100644
--- a/include/hw/isa/isa.h
+++ b/include/hw/isa/isa.h
@@ -25,7 +25,10 @@ typedef struct ISADeviceClass {
} ISADeviceClass;
struct ISABus {
- BusState qbus;
+ /*< private >*/
+ BusState parent_obj;
+ /*< public >*/
+
MemoryRegion *address_space_io;
qemu_irq *irqs;
};