Commit 109819e0c037012c32b07a412c0d4f438448f9f8

Authored by Blue Swirl
1 parent e2106fe6

Sparc32: use hex for version numbers

0x10000000 looks better than 268435456.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Showing 2 changed files with 2 additions and 2 deletions
hw/eccmemctl.c
@@ -358,7 +358,7 @@ static SysBusDeviceInfo ecc_info = { @@ -358,7 +358,7 @@ static SysBusDeviceInfo ecc_info = {
358 .qdev.props = (Property[]) { 358 .qdev.props = (Property[]) {
359 { 359 {
360 .name = "version", 360 .name = "version",
361 - .info = &qdev_prop_uint32, 361 + .info = &qdev_prop_hex32,
362 .offset = offsetof(ECCState, version), 362 .offset = offsetof(ECCState, version),
363 .defval = (uint32_t[]) { -1 }, 363 .defval = (uint32_t[]) { -1 },
364 }, 364 },
hw/iommu.c
@@ -406,7 +406,7 @@ static SysBusDeviceInfo iommu_info = { @@ -406,7 +406,7 @@ static SysBusDeviceInfo iommu_info = {
406 .qdev.props = (Property[]) { 406 .qdev.props = (Property[]) {
407 { 407 {
408 .name = "version", 408 .name = "version",
409 - .info = &qdev_prop_uint32, 409 + .info = &qdev_prop_hex32,
410 .offset = offsetof(IOMMUState, version), 410 .offset = offsetof(IOMMUState, version),
411 }, 411 },
412 {/* end of property list */} 412 {/* end of property list */}