summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-17 11:01:50 +0000
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-22 15:40:54 -0500
commit344a1d16f2530ddfdbc49333308a48f6d7db656a (patch)
treebf0b63077c64bdb6295ff1a766d8b30fe76a7273
parent462eb7f81e5e4c76c9bfae800322dbd09ddd4771 (diff)
downloadqemu-344a1d16f2530ddfdbc49333308a48f6d7db656a.tar.gz
Sparc32: use hex for version numbers
0x10000000 looks better than 268435456. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rw-r--r--hw/eccmemctl.c2
-rw-r--r--hw/iommu.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c
index c5d6449081..dca397d1c3 100644
--- a/hw/eccmemctl.c
+++ b/hw/eccmemctl.c
@@ -358,7 +358,7 @@ static SysBusDeviceInfo ecc_info = {
.qdev.props = (Property[]) {
{
.name = "version",
- .info = &qdev_prop_uint32,
+ .info = &qdev_prop_hex32,
.offset = offsetof(ECCState, version),
.defval = (uint32_t[]) { -1 },
},
diff --git a/hw/iommu.c b/hw/iommu.c
index abf517f1dc..d73dad3e19 100644
--- a/hw/iommu.c
+++ b/hw/iommu.c
@@ -406,7 +406,7 @@ static SysBusDeviceInfo iommu_info = {
.qdev.props = (Property[]) {
{
.name = "version",
- .info = &qdev_prop_uint32,
+ .info = &qdev_prop_hex32,
.offset = offsetof(IOMMUState, version),
},
{/* end of property list */}