Skip to contentSkip to conversation

[5001] Allow diskless operation for all mips platforms.

Qemu-devel Thiemo Seufer 1 participant 1 message Aug 13, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5001

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5001
Author:   ths
Date:     2008-08-13 13:01:28 +0000 (Wed, 13 Aug 2008)

Log Message:
-----------
Allow diskless operation for all mips platforms.

Modified Paths:
--------------

    trunk/hw/mips_jazz.c
    trunk/hw/mips_malta.c
    trunk/hw/mips_mipssim.c
    trunk/hw/mips_r4k.c

Modified: trunk/hw/mips_jazz.c
===================================================================

hw/mips_jazz.c +10 -8
@@ -273,15 +273,17 @@
 }
 
 QEMUMachine mips_magnum_machine = {
-    "magnum",
-    "MIPS Magnum",
-    mips_magnum_init,
-    MAGNUM_BIOS_SIZE + VGA_RAM_SIZE,
+    .name = "magnum",
+    .desc = "MIPS Magnum",
+    .init = mips_magnum_init,
+    .ram_require = MAGNUM_BIOS_SIZE + VGA_RAM_SIZE,
+    .nodisk_ok = 1,
 };
 
 QEMUMachine mips_pica61_machine = {
-    "pica61",
-    "Acer Pica 61",
-    mips_pica61_init,
-    MAGNUM_BIOS_SIZE + VGA_RAM_SIZE,
+    .name = "pica61",
+    .desc = "Acer Pica 61",
+    .init = mips_pica61_init,
+    .ram_require = MAGNUM_BIOS_SIZE + VGA_RAM_SIZE,
+    .nodisk_ok = 1,
 };

Modified: trunk/hw/mips_malta.c
===================================================================

hw/mips_malta.c +5 -4
@@ -946,8 +946,9 @@
 }
 
 QEMUMachine mips_malta_machine = {
-    "malta",
-    "MIPS Malta Core LV",
-    mips_malta_init,
-    VGA_RAM_SIZE + BIOS_SIZE,
+    .name = "malta",
+    .desc = "MIPS Malta Core LV",
+    .init = mips_malta_init,
+    .ram_require = VGA_RAM_SIZE + BIOS_SIZE,
+    .nodisk_ok = 1,
 };

Modified: trunk/hw/mips_mipssim.c
===================================================================

hw/mips_mipssim.c +5 -4
@@ -191,8 +191,9 @@
 }
 
 QEMUMachine mips_mipssim_machine = {
-    "mipssim",
-    "MIPS MIPSsim platform",
-    mips_mipssim_init,
-    BIOS_SIZE + VGA_RAM_SIZE /* unused */,
+    .name = "mipssim",
+    .desc = "MIPS MIPSsim platform",
+    .init = mips_mipssim_init,
+    .ram_require = BIOS_SIZE + VGA_RAM_SIZE /* unused */,
+    .nodisk_ok = 1,
 };

Modified: trunk/hw/mips_r4k.c
===================================================================

hw/mips_r4k.c +5 -4
@@ -283,8 +283,9 @@
 }
 
 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,
 };