[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT c885159] qdev/prop: convert sun4m.c to helper mac
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT c885159] qdev/prop: convert sun4m.c to helper macros. |
Date: |
Mon, 10 Aug 2009 21:48:51 -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/sun4m.c b/hw/sun4m.c
index abadfd6..ddc295a 100644
--- a/hw/sun4m.c
+++ b/hw/sun4m.c
@@ -695,12 +695,8 @@ static SysBusDeviceInfo ram_info = {
.qdev.name = "memory",
.qdev.size = sizeof(RamDevice),
.qdev.props = (Property[]) {
- {
- .name = "size",
- .info = &qdev_prop_uint64,
- .offset = offsetof(RamDevice, size),
- },
- {/* end of property list */}
+ DEFINE_PROP_UINT64("size", RamDevice, size, 0),
+ DEFINE_PROP_END_OF_LIST(),
}
};
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT c885159] qdev/prop: convert sun4m.c to helper macros.,
Anthony Liguori <=