diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-12 15:51:09 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-12 15:51:09 +0000 |
commit | 66de733bdb37a7542e5313c18f44d99d5faf6cb7 (patch) | |
tree | 8d58e94779086896bffbab49c3bf5b4200946d50 | |
parent | 53e656001ac6a4a53db4aacb040d12d9fef72bc6 (diff) |
Use C99 initializers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4996 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | hw/sun4m.c | 96 | ||||
-rw-r--r-- | hw/sun4u.c | 16 |
2 files changed, 56 insertions, 56 deletions
diff --git a/hw/sun4m.c b/hw/sun4m.c index 899e2d506b..adc62b010f 100644 --- a/hw/sun4m.c +++ b/hw/sun4m.c @@ -1238,73 +1238,73 @@ static void sbook_init(ram_addr_t RAM_size, int vga_ram_size, } QEMUMachine ss5_machine = { - "SS-5", - "Sun4m platform, SPARCstation 5", - ss5_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "SS-5", + .desc = "Sun4m platform, SPARCstation 5", + .init = ss5_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; QEMUMachine ss10_machine = { - "SS-10", - "Sun4m platform, SPARCstation 10", - ss10_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "SS-10", + .desc = "Sun4m platform, SPARCstation 10", + .init = ss10_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; QEMUMachine ss600mp_machine = { - "SS-600MP", - "Sun4m platform, SPARCserver 600MP", - ss600mp_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "SS-600MP", + .desc = "Sun4m platform, SPARCserver 600MP", + .init = ss600mp_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; QEMUMachine ss20_machine = { - "SS-20", - "Sun4m platform, SPARCstation 20", - ss20_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "SS-20", + .desc = "Sun4m platform, SPARCstation 20", + .init = ss20_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; QEMUMachine ss2_machine = { - "SS-2", - "Sun4c platform, SPARCstation 2", - ss2_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "SS-2", + .desc = "Sun4c platform, SPARCstation 2", + .init = ss2_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; QEMUMachine voyager_machine = { - "Voyager", - "Sun4m platform, SPARCstation Voyager", - vger_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "Voyager", + .desc = "Sun4m platform, SPARCstation Voyager", + .init = vger_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; QEMUMachine ss_lx_machine = { - "LX", - "Sun4m platform, SPARCstation LX", - ss_lx_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "LX", + .desc = "Sun4m platform, SPARCstation LX", + .init = ss_lx_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; QEMUMachine ss4_machine = { - "SS-4", - "Sun4m platform, SPARCstation 4", - ss4_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "SS-4", + .desc = "Sun4m platform, SPARCstation 4", + .init = ss4_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; QEMUMachine scls_machine = { - "SPARCClassic", - "Sun4m platform, SPARCClassic", - scls_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "SPARCClassic", + .desc = "Sun4m platform, SPARCClassic", + .init = scls_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; QEMUMachine sbook_machine = { - "SPARCbook", - "Sun4m platform, SPARCbook", - sbook_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "SPARCbook", + .desc = "Sun4m platform, SPARCbook", + .init = sbook_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; static const struct sun4d_hwdef sun4d_hwdefs[] = { @@ -1538,15 +1538,15 @@ static void ss2000_init(ram_addr_t RAM_size, int vga_ram_size, } QEMUMachine ss1000_machine = { - "SS-1000", - "Sun4d platform, SPARCserver 1000", - ss1000_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "SS-1000", + .desc = "Sun4d platform, SPARCserver 1000", + .init = ss1000_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; QEMUMachine ss2000_machine = { - "SS-2000", - "Sun4d platform, SPARCcenter 2000", - ss2000_init, - PROM_SIZE_MAX + TCX_SIZE, + .name = "SS-2000", + .desc = "Sun4d platform, SPARCcenter 2000", + .init = ss2000_init, + .ram_require = PROM_SIZE_MAX + TCX_SIZE, }; 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, }; |