diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-07 20:34:35 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-07 20:34:35 +0000 |
commit | 4b32e1688000d306a676b0a5b89629b9d8da1ed7 (patch) | |
tree | a25ab8696b3d8b8ccac8e753be21298422448f78 /hw/stellaris.c | |
parent | 0f431527b79fbd28fb9fcd898ff379331258354a (diff) | |
download | qemu-4b32e1688000d306a676b0a5b89629b9d8da1ed7.zip qemu-4b32e1688000d306a676b0a5b89629b9d8da1ed7.tar.gz qemu-4b32e1688000d306a676b0a5b89629b9d8da1ed7.tar.bz2 |
machine struct - use C99 initializers (Jes Sorensen)
Modify all the machine struct declarations to use C99 initializers.
This patch has no functional changes.
Signed-off-by: Jes Sorensen <jes@sgi.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5442 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/stellaris.c')
-rw-r--r-- | hw/stellaris.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/hw/stellaris.c b/hw/stellaris.c index 93f7511..5948079 100644 --- a/hw/stellaris.c +++ b/hw/stellaris.c @@ -1413,15 +1413,15 @@ static void lm3s6965evb_init(ram_addr_t ram_size, int vga_ram_size, } QEMUMachine lm3s811evb_machine = { - "lm3s811evb", - "Stellaris LM3S811EVB", - lm3s811evb_init, - (64 * 1024 + 8 * 1024) | RAMSIZE_FIXED, + .name = "lm3s811evb", + .desc = "Stellaris LM3S811EVB", + .init = lm3s811evb_init, + .ram_require = (64 * 1024 + 8 * 1024) | RAMSIZE_FIXED, }; QEMUMachine lm3s6965evb_machine = { - "lm3s6965evb", - "Stellaris LM3S6965EVB", - lm3s6965evb_init, - (256 * 1024 + 64 * 1024) | RAMSIZE_FIXED, + .name = "lm3s6965evb", + .desc = "Stellaris LM3S6965EVB", + .init = lm3s6965evb_init, + .ram_require = (256 * 1024 + 64 * 1024) | RAMSIZE_FIXED, }; |