Sparc32: use hex for version numbers
0x10000000 looks better than 268435456. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
462eb7f81e
commit
344a1d16f2
@ -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 },
|
||||
},
|
||||
|
@ -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 */}
|
||||
|
Loading…
Reference in New Issue
Block a user