summaryrefslogtreecommitdiff
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 f7bc4b5a95..f7ddf23628 100644
--- a/hw/isa.h
+++ b/hw/isa.h
@@ -19,6 +19,9 @@ typedef struct ISADevice ISADevice;
#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);