Sparc32: use hex for version numbers

0x10000000 looks better than 268435456.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
Blue Swirl 2009-07-17 11:01:50 +00:00
parent e2106fe69d
commit 109819e0c0
2 changed files with 2 additions and 2 deletions

View File

@ -358,7 +358,7 @@ static SysBusDeviceInfo ecc_info = {
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
{ {
.name = "version", .name = "version",
.info = &qdev_prop_uint32, .info = &qdev_prop_hex32,
.offset = offsetof(ECCState, version), .offset = offsetof(ECCState, version),
.defval = (uint32_t[]) { -1 }, .defval = (uint32_t[]) { -1 },
}, },

View File

@ -406,7 +406,7 @@ static SysBusDeviceInfo iommu_info = {
.qdev.props = (Property[]) { .qdev.props = (Property[]) {
{ {
.name = "version", .name = "version",
.info = &qdev_prop_uint32, .info = &qdev_prop_hex32,
.offset = offsetof(IOMMUState, version), .offset = offsetof(IOMMUState, version),
}, },
{/* end of property list */} {/* end of property list */}