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:
This commit is contained in:
parent
e325775b35
commit
1832efa29d
@ -242,12 +242,8 @@ static SysBusDeviceInfo bitband_info = {
|
|||||||
.qdev.name = "ARM,bitband-memory",
|
.qdev.name = "ARM,bitband-memory",
|
||||||
.qdev.size = sizeof(BitBandState),
|
.qdev.size = sizeof(BitBandState),
|
||||||
.qdev.props = (Property[]) {
|
.qdev.props = (Property[]) {
|
||||||
{
|
DEFINE_PROP_UINT32("base", BitBandState, base, 0),
|
||||||
.name = "base",
|
DEFINE_PROP_END_OF_LIST(),
|
||||||
.info = &qdev_prop_hex32,
|
|
||||||
.offset = offsetof(BitBandState, base),
|
|
||||||
},
|
|
||||||
{/* end of list */}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user