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