summaryrefslogtreecommitdiffstats
path: root/hw/qdev-addr.h
blob: a0ddf3863c0c0ff2cedab9c98d0a7a87dd5b6ba9 (plain) (blame)
1
2
3
4
5
#define DEFINE_PROP_TADDR(_n, _s, _f, _d)                               \
    DEFINE_PROP_DEFAULT(_n, _s, _f, _d, qdev_prop_taddr, target_phys_addr_t)

extern PropertyInfo qdev_prop_taddr;
void qdev_prop_set_taddr(DeviceState *dev, const char *name, target_phys_addr_t value);