tests/test-mmap.c: Check mmap() return value before using it
[qemu/ar7.git] / hw / qdev-addr.h
bloba0ddf3863c0c0ff2cedab9c98d0a7a87dd5b6ba9
1 #define DEFINE_PROP_TADDR(_n, _s, _f, _d) \
2 DEFINE_PROP_DEFAULT(_n, _s, _f, _d, qdev_prop_taddr, target_phys_addr_t)
4 extern PropertyInfo qdev_prop_taddr;
5 void qdev_prop_set_taddr(DeviceState *dev, const char *name, target_phys_addr_t value);