2012-12-06 15:15:58 +04:00
|
|
|
#ifndef HW_QDEV_ADDR_H
|
|
|
|
#define HW_QDEV_ADDR_H 1
|
|
|
|
|
2009-08-03 19:35:17 +04:00
|
|
|
#define DEFINE_PROP_TADDR(_n, _s, _f, _d) \
|
2012-10-23 14:30:10 +04:00
|
|
|
DEFINE_PROP_DEFAULT(_n, _s, _f, _d, qdev_prop_taddr, hwaddr)
|
2009-08-03 19:35:17 +04:00
|
|
|
|
2009-07-15 15:43:31 +04:00
|
|
|
extern PropertyInfo qdev_prop_taddr;
|
2012-10-23 14:30:10 +04:00
|
|
|
void qdev_prop_set_taddr(DeviceState *dev, const char *name, hwaddr value);
|
2012-12-06 15:15:58 +04:00
|
|
|
|
|
|
|
#endif
|