[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 11/32] qdev/prop: convert iommu.c to helper macros.
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 11/32] qdev/prop: convert iommu.c to helper macros. |
Date: |
Mon, 3 Aug 2009 17:35:27 +0200 |
Signed-off-by: Gerd Hoffmann <address@hidden>
---
hw/iommu.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/hw/iommu.c b/hw/iommu.c
index d73dad3..a1c54f8 100644
--- a/hw/iommu.c
+++ b/hw/iommu.c
@@ -404,12 +404,8 @@ static SysBusDeviceInfo iommu_info = {
.qdev.name = "iommu",
.qdev.size = sizeof(IOMMUState),
.qdev.props = (Property[]) {
- {
- .name = "version",
- .info = &qdev_prop_hex32,
- .offset = offsetof(IOMMUState, version),
- },
- {/* end of property list */}
+ DEFINE_PROP_HEX32("version", IOMMUState, version, 0),
+ DEFINE_PROP_END_OF_LIST(),
}
};
--
1.6.2.5
- [Qemu-devel] [PATCH 05/32] qdev/prop: convert armv7m.c to helper macros., (continued)
- [Qemu-devel] [PATCH 05/32] qdev/prop: convert armv7m.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 02/32] qdev/prop: add CharDriverState property., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 14/32] qdev/prop: convert qdev.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 01/32] qdev/prop: macros for creating typechecked properties., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 06/32] qdev/prop: convert eccmemctl.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 10/32] qdev/prop: convert integratorcp.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 24/32] qdev/prop: convert syborg_pointer.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 08/32] qdev/prop: convert etraxfs_pic.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 11/32] qdev/prop: convert iommu.c to helper macros.,
Gerd Hoffmann <=
- [Qemu-devel] [PATCH 09/32] qdev/prop: convert i2c.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 04/32] qdev/prop: convert arm_sysctl.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 22/32] qdev/prop: convert syborg_interrupt.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 18/32] qdev/prop: convert sparc32_dma.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 16/32] qdev/prop: convert slavio_timer.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 19/32] qdev/prop: convert sun4m.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 28/32] qdev/prop: convert vga.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 15/32] qdev/prop: convert slavio_intctl.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 12/32] qdev/prop: convert m48t59.c to helper macros., Gerd Hoffmann, 2009/08/03
- [Qemu-devel] [PATCH 07/32] qdev/prop: convert escc.c to helper macros., Gerd Hoffmann, 2009/08/03