diff options
author | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-15 21:30:28 +0000 |
---|---|---|
committer | aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-15 21:30:28 +0000 |
commit | a245f2e7b84c545e6aa5211304679e3081342ec8 (patch) | |
tree | 7571a628b783662ed6bd3052f95eaaeba4919d83 | |
parent | 128ab2ff50a85969d08d2dec0fd88accdd153bcb (diff) |
Use C99 initializers
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5013 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | hw/pc.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -1069,15 +1069,15 @@ static void pc_init_isa(ram_addr_t ram_size, int vga_ram_size, } QEMUMachine pc_machine = { - "pc", - "Standard PC", - pc_init_pci, - VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, + .name = "pc", + .desc = "Standard PC", + .init = pc_init_pci, + .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, }; QEMUMachine isapc_machine = { - "isapc", - "ISA-only PC", - pc_init_isa, - VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, + .name = "isapc", + .desc = "ISA-only PC", + .init = pc_init_isa, + .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, }; |