diff options
Diffstat (limited to 'hw/isa.h')
-rw-r--r-- | hw/isa.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |