aboutsummaryrefslogtreecommitdiff
path: root/hw/isa.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/isa.h')
-rw-r--r--hw/isa.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/isa.h b/hw/isa.h
index 6c6fd7fac9..dc970527ae 100644
--- a/hw/isa.h
+++ b/hw/isa.h
@@ -17,6 +17,9 @@
#define ISA_DEVICE_GET_CLASS(obj) \
OBJECT_GET_CLASS(ISADeviceClass, (obj), TYPE_ISA_DEVICE)
+#define TYPE_ISA_BUS "ISA"
+#define ISA_BUS(obj) OBJECT_CHECK(ISABus, (obj), TYPE_ISA_BUS)
+
typedef struct ISADeviceClass {
DeviceClass parent_class;
int (*init)(ISADevice *dev);