Revision 5a053d1f hw/qdev.h
b/hw/qdev.h | ||
---|---|---|
58 | 58 |
PROP_TYPE_UNSPEC = 0, |
59 | 59 |
PROP_TYPE_UINT16, |
60 | 60 |
PROP_TYPE_UINT32, |
61 |
PROP_TYPE_UINT64, |
|
61 | 62 |
PROP_TYPE_TADDR, |
62 | 63 |
PROP_TYPE_MACADDR, |
63 | 64 |
PROP_TYPE_PTR, |
... | ... | |
145 | 146 |
|
146 | 147 |
extern PropertyInfo qdev_prop_uint16; |
147 | 148 |
extern PropertyInfo qdev_prop_uint32; |
149 |
extern PropertyInfo qdev_prop_uint64; |
|
148 | 150 |
extern PropertyInfo qdev_prop_hex32; |
151 |
extern PropertyInfo qdev_prop_hex64; |
|
149 | 152 |
extern PropertyInfo qdev_prop_ptr; |
150 | 153 |
extern PropertyInfo qdev_prop_macaddr; |
151 | 154 |
|
... | ... | |
155 | 158 |
void qdev_prop_set(DeviceState *dev, const char *name, void *src, enum PropertyType type); |
156 | 159 |
void qdev_prop_set_uint16(DeviceState *dev, const char *name, uint16_t value); |
157 | 160 |
void qdev_prop_set_uint32(DeviceState *dev, const char *name, uint32_t value); |
161 |
void qdev_prop_set_uint64(DeviceState *dev, const char *name, uint64_t value); |
|
158 | 162 |
/* FIXME: Remove opaque pointer properties. */ |
159 | 163 |
void qdev_prop_set_ptr(DeviceState *dev, const char *name, void *value); |
160 | 164 |
void qdev_prop_set_defaults(DeviceState *dev, Property *props); |
Also available in: Unified diff