Revision d29275f1 hw/qdev.h
b/hw/qdev.h | ||
---|---|---|
108 | 108 |
/*** Device API. ***/ |
109 | 109 |
|
110 | 110 |
typedef int (*qdev_initfn)(DeviceState *dev, DeviceInfo *info); |
111 |
typedef int (*qdev_exitfn)(DeviceState *dev); |
|
111 | 112 |
|
112 | 113 |
struct DeviceInfo { |
113 | 114 |
const char *name; |
... | ... | |
125 | 126 |
|
126 | 127 |
/* Private to qdev / bus. */ |
127 | 128 |
qdev_initfn init; |
129 |
qdev_exitfn exit; |
|
128 | 130 |
BusInfo *bus_info; |
129 | 131 |
struct DeviceInfo *next; |
130 | 132 |
}; |
Also available in: Unified diff