aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4u.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-21 11:20:11 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-21 11:20:11 +0000
commit0484362698338b745fc1028cd3592581ec57a97b (patch)
tree0d4e74bf460674da3b08eeddb450e4b3f8f6de01 /hw/sun4u.c
parent5a053d1f2e75e6a87c483bb3ff5cc6cdf29e1569 (diff)
Sparc32/64: use 64 bit type for memory size
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/sun4u.c')
-rw-r--r--hw/sun4u.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 47ff3eb9c5..c49e345429 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -455,7 +455,7 @@ device_init(prom_register_devices);
typedef struct RamDevice
{
SysBusDevice busdev;
- uint32_t size; // XXX
+ uint64_t size;
} RamDevice;
/* System RAM */
@@ -494,7 +494,7 @@ static SysBusDeviceInfo ram_info = {
.qdev.props = (Property[]) {
{
.name = "size",
- .info = &qdev_prop_uint32,
+ .info = &qdev_prop_uint64,
.offset = offsetof(RamDevice, size),
},
{/* end of property list */}