projects
/
qemu
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e325775
)
qdev/prop: convert armv7m.c to helper macros.
author
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 3 Aug 2009 15:35:21 +0000
(17:35 +0200)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Mon, 10 Aug 2009 18:05:50 +0000
(13:05 -0500)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
hw/armv7m.c
patch
|
blob
|
history
diff --git
a/hw/armv7m.c
b/hw/armv7m.c
index
2e66d7e
..
2e4f0ed
100644
(file)
--- 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(),
}
};