aboutsummaryrefslogtreecommitdiff
path: root/hw/char/ipack.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/ipack.h')
-rw-r--r--hw/char/ipack.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/hw/char/ipack.h b/hw/char/ipack.h
index f8dc0f2..b62066f 100644
--- a/hw/char/ipack.h
+++ b/hw/char/ipack.h
@@ -38,10 +38,12 @@ typedef struct IPackDeviceClass IPackDeviceClass;
OBJECT_GET_CLASS(IPackDeviceClass, (obj), TYPE_IPACK_DEVICE)
struct IPackDeviceClass {
+ /*< private >*/
DeviceClass parent_class;
+ /*< public >*/
- int (*init)(IPackDevice *dev);
- int (*exit)(IPackDevice *dev);
+ DeviceRealize realize;
+ DeviceUnrealize unrealize;
uint16_t (*io_read)(IPackDevice *dev, uint8_t addr);
void (*io_write)(IPackDevice *dev, uint8_t addr, uint16_t val);