mirror of https://github.com/xemu-project/xemu.git
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
e2106fe69d
commit
109819e0c0
|
@ -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 },
|
||||||
},
|
},
|
||||||
|
|
|
@ -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 */}
|
||||||
|
|
Loading…
Reference in New Issue