aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-15 21:30:28 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-15 21:30:28 +0000
commita245f2e7b84c545e6aa5211304679e3081342ec8 (patch)
tree7571a628b783662ed6bd3052f95eaaeba4919d83
parent128ab2ff50a85969d08d2dec0fd88accdd153bcb (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.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/hw/pc.c b/hw/pc.c
index fb3e0c9e6d..7461a08049 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -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,
};