aboutsummaryrefslogtreecommitdiff
path: root/hw/qdev-addr.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/qdev-addr.h')
-rw-r--r--hw/qdev-addr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/qdev-addr.h b/hw/qdev-addr.h
index f02bd7af18..a0ddf3863c 100644
--- a/hw/qdev-addr.h
+++ b/hw/qdev-addr.h
@@ -1,2 +1,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);