aboutsummaryrefslogtreecommitdiff
path: root/hw/eccmemctl.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-17 11:01:50 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-17 11:01:50 +0000
commit109819e0c037012c32b07a412c0d4f438448f9f8 (patch)
tree3dae0816194576a46def5b69f337f9365be598b8 /hw/eccmemctl.c
parente2106fe69d19f492813b7b189321da0be7a30afb (diff)
downloadqemu-109819e0c037012c32b07a412c0d4f438448f9f8.zip
qemu-109819e0c037012c32b07a412c0d4f438448f9f8.tar.gz
qemu-109819e0c037012c32b07a412c0d4f438448f9f8.tar.bz2
Sparc32: use hex for version numbers
0x10000000 looks better than 268435456. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/eccmemctl.c')
-rw-r--r--hw/eccmemctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/eccmemctl.c b/hw/eccmemctl.c
index c5d6449..dca397d 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 },
},