diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-08-03 17:35:21 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:50 -0500 |
commit | 1832efa29d07cfa35fcd796df1f8ccefb694a59d (patch) | |
tree | 4be88aa3cd9b0fec0539a3923b6b005a222e96f6 | |
parent | e325775b35d918ac4f90b2cf6289fe29a91a2071 (diff) | |
download | qemu-1832efa29d07cfa35fcd796df1f8ccefb694a59d.zip qemu-1832efa29d07cfa35fcd796df1f8ccefb694a59d.tar.gz qemu-1832efa29d07cfa35fcd796df1f8ccefb694a59d.tar.bz2 |
qdev/prop: convert armv7m.c to helper macros.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
-rw-r--r-- | hw/armv7m.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/hw/armv7m.c b/hw/armv7m.c index 2e66d7e..2e4f0ed 100644 --- a/hw/armv7m.c +++ b/hw/armv7m.c @@ -242,12 +242,8 @@ static SysBusDeviceInfo bitband_info = { .qdev.name = "ARM,bitband-memory", .qdev.size = sizeof(BitBandState), .qdev.props = (Property[]) { - { - .name = "base", - .info = &qdev_prop_hex32, - .offset = offsetof(BitBandState, base), - }, - {/* end of list */} + DEFINE_PROP_UINT32("base", BitBandState, base, 0), + DEFINE_PROP_END_OF_LIST(), } }; |