aboutsummaryrefslogtreecommitdiff
path: root/hw/mips_r4k.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-13 13:01:28 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-13 13:01:28 +0000
commiteec2743ec20ac1fbf512bd5a88eea3ddc631997d (patch)
treea1da93d86b10776b28ef358479cce13e82bf174d /hw/mips_r4k.c
parent2ba27c7fa8c29ebf242bdcfab621abd3a00ac399 (diff)
Allow diskless operation for all mips platforms.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5001 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/mips_r4k.c')
-rw-r--r--hw/mips_r4k.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/hw/mips_r4k.c b/hw/mips_r4k.c
index a9d42eadcb..b1551b9827 100644
--- a/hw/mips_r4k.c
+++ b/hw/mips_r4k.c
@@ -283,8 +283,9 @@ void mips_r4k_init (ram_addr_t ram_size, int vga_ram_size,
}
QEMUMachine mips_machine = {
- "mips",
- "mips r4k platform",
- mips_r4k_init,
- VGA_RAM_SIZE + BIOS_SIZE,
+ .name = "mips",
+ .desc = "mips r4k platform",
+ .init = mips_r4k_init,
+ .ram_require = VGA_RAM_SIZE + BIOS_SIZE,
+ .nodisk_ok = 1,
};