summaryrefslogtreecommitdiff
path: root/hw/sun4u.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-12 15:51:09 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-12 15:51:09 +0000
commit66de733bdb37a7542e5313c18f44d99d5faf6cb7 (patch)
tree8d58e94779086896bffbab49c3bf5b4200946d50 /hw/sun4u.c
parent53e656001ac6a4a53db4aacb040d12d9fef72bc6 (diff)
Use C99 initializers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4996 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sun4u.c')
-rw-r--r--hw/sun4u.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 36d6946f87..d8cc2d6a6c 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -446,15 +446,15 @@ static void sun4v_init(ram_addr_t RAM_size, int vga_ram_size,
}
QEMUMachine sun4u_machine = {
- "sun4u",
- "Sun4u platform",
- sun4u_init,
- PROM_SIZE_MAX + VGA_RAM_SIZE,
+ .name = "sun4u",
+ .desc = "Sun4u platform",
+ .init = sun4u_init,
+ .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE,
};
QEMUMachine sun4v_machine = {
- "sun4v",
- "Sun4v platform",
- sun4v_init,
- PROM_SIZE_MAX + VGA_RAM_SIZE,
+ .name = "sun4v",
+ .desc = "Sun4v platform",
+ .init = sun4v_init,
+ .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE,
};