~vcs-imports/qemu/git

« back to all changes in this revision

Viewing changes to hw/qdev-addr.h

  • Committer: Blue Swirl
  • Date: 2009-08-31 15:14:40 UTC
  • Revision ID: git-v1:528e93a9787ccfc59582a44035f5f342caf5b84f
Fix breakage due to __thread

Thread-local storage is not supported on all hosts.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#define DEFINE_PROP_TADDR(_n, _s, _f, _d)                               \
 
2
    DEFINE_PROP_DEFAULT(_n, _s, _f, _d, qdev_prop_taddr, target_phys_addr_t)
 
3
 
 
4
extern PropertyInfo qdev_prop_taddr;
 
5
void qdev_prop_set_taddr(DeviceState *dev, const char *name, target_phys_addr_t value);