[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 1832efa] qdev/prop: convert armv7m.c to helper ma
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 1832efa] qdev/prop: convert armv7m.c to helper macros. |
Date: |
Mon, 10 Aug 2009 21:48:48 -0000 |
From: Gerd Hoffmann <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
Message-Id:
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(),
}
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 1832efa] qdev/prop: convert armv7m.c to helper macros.,
Anthony Liguori <=