Commit 190cd0215b1667d41db4ca2f04f0e1fa8c75027c

Authored by pbrook
1 parent a0b753df

Remove redundant ram_require machine properly.

Signed-off-by: Paul Brook <paul@codesourcery.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7090 c046a42c-6fe2-441c-8c8c-71466251a162
hw/an5206.c
@@ -88,5 +88,4 @@ QEMUMachine an5206_machine = { @@ -88,5 +88,4 @@ QEMUMachine an5206_machine = {
88 .name = "an5206", 88 .name = "an5206",
89 .desc = "Arnewsh 5206", 89 .desc = "Arnewsh 5206",
90 .init = an5206_init, 90 .init = an5206_init,
91 - .ram_require = 512,  
92 }; 91 };
hw/axis_dev88.c
@@ -366,5 +366,4 @@ QEMUMachine axisdev88_machine = { @@ -366,5 +366,4 @@ QEMUMachine axisdev88_machine = {
366 .name = "axis-dev88", 366 .name = "axis-dev88",
367 .desc = "AXIS devboard 88", 367 .desc = "AXIS devboard 88",
368 .init = axisdev88_init, 368 .init = axisdev88_init,
369 - .ram_require = 0x8000000,  
370 }; 369 };
hw/boards.h
@@ -14,8 +14,6 @@ typedef struct QEMUMachine { @@ -14,8 +14,6 @@ typedef struct QEMUMachine {
14 const char *name; 14 const char *name;
15 const char *desc; 15 const char *desc;
16 QEMUMachineInitFunc *init; 16 QEMUMachineInitFunc *init;
17 -#define RAMSIZE_FIXED (1 << 0)  
18 - ram_addr_t ram_require;  
19 int use_scsi; 17 int use_scsi;
20 int max_cpus; 18 int max_cpus;
21 struct QEMUMachine *next; 19 struct QEMUMachine *next;
hw/etraxfs.c
@@ -157,5 +157,4 @@ QEMUMachine bareetraxfs_machine = { @@ -157,5 +157,4 @@ QEMUMachine bareetraxfs_machine = {
157 .name = "bareetraxfs", 157 .name = "bareetraxfs",
158 .desc = "Bare ETRAX FS board", 158 .desc = "Bare ETRAX FS board",
159 .init = bareetraxfs_init, 159 .init = bareetraxfs_init,
160 - .ram_require = 0x8000000,  
161 }; 160 };
hw/gumstix.c
@@ -113,12 +113,10 @@ QEMUMachine connex_machine = { @@ -113,12 +113,10 @@ QEMUMachine connex_machine = {
113 .name = "connex", 113 .name = "connex",
114 .desc = "Gumstix Connex (PXA255)", 114 .desc = "Gumstix Connex (PXA255)",
115 .init = connex_init, 115 .init = connex_init,
116 - .ram_require = (0x05000000 + PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED,  
117 }; 116 };
118 117
119 QEMUMachine verdex_machine = { 118 QEMUMachine verdex_machine = {
120 .name = "verdex", 119 .name = "verdex",
121 .desc = "Gumstix Verdex (PXA270)", 120 .desc = "Gumstix Verdex (PXA270)",
122 .init = verdex_init, 121 .init = verdex_init,
123 - .ram_require = (0x12000000 + PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED,  
124 }; 122 };
hw/integratorcp.c
@@ -510,5 +510,4 @@ QEMUMachine integratorcp_machine = { @@ -510,5 +510,4 @@ QEMUMachine integratorcp_machine = {
510 .name = "integratorcp", 510 .name = "integratorcp",
511 .desc = "ARM Integrator/CP (ARM926EJ-S)", 511 .desc = "ARM Integrator/CP (ARM926EJ-S)",
512 .init = integratorcp_init, 512 .init = integratorcp_init,
513 - .ram_require = 0x100000,  
514 }; 513 };
hw/mainstone.c
@@ -139,6 +139,4 @@ QEMUMachine mainstone2_machine = { @@ -139,6 +139,4 @@ QEMUMachine mainstone2_machine = {
139 .name = "mainstone", 139 .name = "mainstone",
140 .desc = "Mainstone II (PXA27x)", 140 .desc = "Mainstone II (PXA27x)",
141 .init = mainstone_init, 141 .init = mainstone_init,
142 - .ram_require = (MAINSTONE_RAM + MAINSTONE_ROM + 2 * MAINSTONE_FLASH +  
143 - PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED,  
144 }; 142 };
hw/mcf5208.c
@@ -294,5 +294,4 @@ QEMUMachine mcf5208evb_machine = { @@ -294,5 +294,4 @@ QEMUMachine mcf5208evb_machine = {
294 .name = "mcf5208evb", 294 .name = "mcf5208evb",
295 .desc = "MCF5206EVB", 295 .desc = "MCF5206EVB",
296 .init = mcf5208evb_init, 296 .init = mcf5208evb_init,
297 - .ram_require = 16384,  
298 }; 297 };
hw/mips_jazz.c
@@ -292,7 +292,6 @@ QEMUMachine mips_magnum_machine = { @@ -292,7 +292,6 @@ QEMUMachine mips_magnum_machine = {
292 .name = "magnum", 292 .name = "magnum",
293 .desc = "MIPS Magnum", 293 .desc = "MIPS Magnum",
294 .init = mips_magnum_init, 294 .init = mips_magnum_init,
295 - .ram_require = MAGNUM_BIOS_SIZE + VGA_RAM_SIZE,  
296 .use_scsi = 1, 295 .use_scsi = 1,
297 }; 296 };
298 297
@@ -300,6 +299,5 @@ QEMUMachine mips_pica61_machine = { @@ -300,6 +299,5 @@ QEMUMachine mips_pica61_machine = {
300 .name = "pica61", 299 .name = "pica61",
301 .desc = "Acer Pica 61", 300 .desc = "Acer Pica 61",
302 .init = mips_pica61_init, 301 .init = mips_pica61_init,
303 - .ram_require = MAGNUM_BIOS_SIZE + VGA_RAM_SIZE,  
304 .use_scsi = 1, 302 .use_scsi = 1,
305 }; 303 };
hw/mips_malta.c
@@ -958,5 +958,4 @@ QEMUMachine mips_malta_machine = { @@ -958,5 +958,4 @@ QEMUMachine mips_malta_machine = {
958 .name = "malta", 958 .name = "malta",
959 .desc = "MIPS Malta Core LV", 959 .desc = "MIPS Malta Core LV",
960 .init = mips_malta_init, 960 .init = mips_malta_init,
961 - .ram_require = VGA_RAM_SIZE + BIOS_SIZE,  
962 }; 961 };
hw/mips_mipssim.c
@@ -187,5 +187,4 @@ QEMUMachine mips_mipssim_machine = { @@ -187,5 +187,4 @@ QEMUMachine mips_mipssim_machine = {
187 .name = "mipssim", 187 .name = "mipssim",
188 .desc = "MIPS MIPSsim platform", 188 .desc = "MIPS MIPSsim platform",
189 .init = mips_mipssim_init, 189 .init = mips_mipssim_init,
190 - .ram_require = BIOS_SIZE + VGA_RAM_SIZE /* unused */,  
191 }; 190 };
hw/mips_r4k.c
@@ -284,5 +284,4 @@ QEMUMachine mips_machine = { @@ -284,5 +284,4 @@ QEMUMachine mips_machine = {
284 .name = "mips", 284 .name = "mips",
285 .desc = "mips r4k platform", 285 .desc = "mips r4k platform",
286 .init = mips_r4k_init, 286 .init = mips_r4k_init,
287 - .ram_require = VGA_RAM_SIZE + BIOS_SIZE,  
288 }; 287 };
hw/musicpal.c
@@ -1594,6 +1594,4 @@ QEMUMachine musicpal_machine = { @@ -1594,6 +1594,4 @@ QEMUMachine musicpal_machine = {
1594 .name = "musicpal", 1594 .name = "musicpal",
1595 .desc = "Marvell 88w8618 / MusicPal (ARM926EJ-S)", 1595 .desc = "Marvell 88w8618 / MusicPal (ARM926EJ-S)",
1596 .init = musicpal_init, 1596 .init = musicpal_init,
1597 - .ram_require = MP_RAM_DEFAULT_SIZE + MP_SRAM_SIZE +  
1598 - MP_FLASH_SIZE_MAX + RAMSIZE_FIXED,  
1599 }; 1597 };
hw/nseries.c
@@ -1407,14 +1407,10 @@ QEMUMachine n800_machine = { @@ -1407,14 +1407,10 @@ QEMUMachine n800_machine = {
1407 .name = "n800", 1407 .name = "n800",
1408 .desc = "Nokia N800 tablet aka. RX-34 (OMAP2420)", 1408 .desc = "Nokia N800 tablet aka. RX-34 (OMAP2420)",
1409 .init = n800_init, 1409 .init = n800_init,
1410 - .ram_require = (0x08000000 + 0x00018000 + OMAP242X_SRAM_SIZE) |  
1411 - RAMSIZE_FIXED,  
1412 }; 1410 };
1413 1411
1414 QEMUMachine n810_machine = { 1412 QEMUMachine n810_machine = {
1415 .name = "n810", 1413 .name = "n810",
1416 .desc = "Nokia N810 tablet aka. RX-44 (OMAP2420)", 1414 .desc = "Nokia N810 tablet aka. RX-44 (OMAP2420)",
1417 .init = n810_init, 1415 .init = n810_init,
1418 - .ram_require = (0x08000000 + 0x00018000 + OMAP242X_SRAM_SIZE) |  
1419 - RAMSIZE_FIXED,  
1420 }; 1416 };
hw/omap_sx1.c
@@ -227,12 +227,10 @@ QEMUMachine sx1_machine_v2 = { @@ -227,12 +227,10 @@ QEMUMachine sx1_machine_v2 = {
227 .name = "sx1", 227 .name = "sx1",
228 .desc = "Siemens SX1 (OMAP310) V2", 228 .desc = "Siemens SX1 (OMAP310) V2",
229 .init = sx1_init_v2, 229 .init = sx1_init_v2,
230 - .ram_require = total_ram_v2 | RAMSIZE_FIXED,  
231 }; 230 };
232 231
233 QEMUMachine sx1_machine_v1 = { 232 QEMUMachine sx1_machine_v1 = {
234 .name = "sx1-v1", 233 .name = "sx1-v1",
235 .desc = "Siemens SX1 (OMAP310) V1", 234 .desc = "Siemens SX1 (OMAP310) V1",
236 .init = sx1_init_v1, 235 .init = sx1_init_v1,
237 - .ram_require = total_ram_v1 | RAMSIZE_FIXED,  
238 }; 236 };
hw/palm.c
@@ -285,6 +285,4 @@ QEMUMachine palmte_machine = { @@ -285,6 +285,4 @@ QEMUMachine palmte_machine = {
285 .name = "cheetah", 285 .name = "cheetah",
286 .desc = "Palm Tungsten|E aka. Cheetah PDA (OMAP310)", 286 .desc = "Palm Tungsten|E aka. Cheetah PDA (OMAP310)",
287 .init = palmte_init, 287 .init = palmte_init,
288 - .ram_require = (0x02000000 + 0x00800000 + OMAP15XX_SRAM_SIZE) |  
289 - RAMSIZE_FIXED,  
290 }; 288 };
@@ -1137,7 +1137,6 @@ QEMUMachine pc_machine = { @@ -1137,7 +1137,6 @@ QEMUMachine pc_machine = {
1137 .name = "pc", 1137 .name = "pc",
1138 .desc = "Standard PC", 1138 .desc = "Standard PC",
1139 .init = pc_init_pci, 1139 .init = pc_init_pci,
1140 - .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE,  
1141 .max_cpus = 255, 1140 .max_cpus = 255,
1142 }; 1141 };
1143 1142
@@ -1145,6 +1144,5 @@ QEMUMachine isapc_machine = { @@ -1145,6 +1144,5 @@ QEMUMachine isapc_machine = {
1145 .name = "isapc", 1144 .name = "isapc",
1146 .desc = "ISA-only PC", 1145 .desc = "ISA-only PC",
1147 .init = pc_init_isa, 1146 .init = pc_init_isa,
1148 - .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE,  
1149 .max_cpus = 1, 1147 .max_cpus = 1,
1150 }; 1148 };
hw/ppc405_boards.c
@@ -349,7 +349,6 @@ QEMUMachine ref405ep_machine = { @@ -349,7 +349,6 @@ QEMUMachine ref405ep_machine = {
349 .name = "ref405ep", 349 .name = "ref405ep",
350 .desc = "ref405ep", 350 .desc = "ref405ep",
351 .init = ref405ep_init, 351 .init = ref405ep_init,
352 - .ram_require = (128 * 1024 * 1024 + 4096 + 512 * 1024 + BIOS_SIZE) | RAMSIZE_FIXED,  
353 }; 352 };
354 353
355 /*****************************************************************************/ 354 /*****************************************************************************/
@@ -630,5 +629,4 @@ QEMUMachine taihu_machine = { @@ -630,5 +629,4 @@ QEMUMachine taihu_machine = {
630 "taihu", 629 "taihu",
631 "taihu", 630 "taihu",
632 taihu_405ep_init, 631 taihu_405ep_init,
633 - (128 * 1024 * 1024 + 4096 + BIOS_SIZE + 32 * 1024 * 1024) | RAMSIZE_FIXED,  
634 }; 632 };
hw/ppc440_bamboo.c
@@ -190,5 +190,4 @@ QEMUMachine bamboo_machine = { @@ -190,5 +190,4 @@ QEMUMachine bamboo_machine = {
190 .name = "bamboo", 190 .name = "bamboo",
191 .desc = "bamboo", 191 .desc = "bamboo",
192 .init = bamboo_init, 192 .init = bamboo_init,
193 - .ram_require = 8<<20 | RAMSIZE_FIXED,  
194 }; 193 };
hw/ppc_newworld.c
@@ -357,6 +357,5 @@ QEMUMachine core99_machine = { @@ -357,6 +357,5 @@ QEMUMachine core99_machine = {
357 .name = "mac99", 357 .name = "mac99",
358 .desc = "Mac99 based PowerMAC", 358 .desc = "Mac99 based PowerMAC",
359 .init = ppc_core99_init, 359 .init = ppc_core99_init,
360 - .ram_require = BIOS_SIZE + VGA_BIOS_SIZE + VGA_RAM_SIZE,  
361 .max_cpus = MAX_CPUS, 360 .max_cpus = MAX_CPUS,
362 }; 361 };
hw/ppc_oldworld.c
@@ -388,6 +388,5 @@ QEMUMachine heathrow_machine = { @@ -388,6 +388,5 @@ QEMUMachine heathrow_machine = {
388 .name = "g3beige", 388 .name = "g3beige",
389 .desc = "Heathrow based PowerMAC", 389 .desc = "Heathrow based PowerMAC",
390 .init = ppc_heathrow_init, 390 .init = ppc_heathrow_init,
391 - .ram_require = BIOS_SIZE + VGA_BIOS_SIZE + VGA_RAM_SIZE,  
392 .max_cpus = MAX_CPUS, 391 .max_cpus = MAX_CPUS,
393 }; 392 };
hw/ppc_prep.c
@@ -764,6 +764,5 @@ QEMUMachine prep_machine = { @@ -764,6 +764,5 @@ QEMUMachine prep_machine = {
764 .name = "prep", 764 .name = "prep",
765 .desc = "PowerPC PREP platform", 765 .desc = "PowerPC PREP platform",
766 .init = ppc_prep_init, 766 .init = ppc_prep_init,
767 - .ram_require = BIOS_SIZE + VGA_RAM_SIZE,  
768 .max_cpus = MAX_CPUS, 767 .max_cpus = MAX_CPUS,
769 }; 768 };
hw/ppce500_mpc8544ds.c
@@ -286,5 +286,4 @@ QEMUMachine mpc8544ds_machine = { @@ -286,5 +286,4 @@ QEMUMachine mpc8544ds_machine = {
286 .name = "mpc8544ds", 286 .name = "mpc8544ds",
287 .desc = "mpc8544ds", 287 .desc = "mpc8544ds",
288 .init = mpc8544ds_init, 288 .init = mpc8544ds_init,
289 - .ram_require = RAM_SIZES_ALIGN | RAMSIZE_FIXED,  
290 }; 289 };
hw/r2d.c
@@ -262,5 +262,4 @@ QEMUMachine r2d_machine = { @@ -262,5 +262,4 @@ QEMUMachine r2d_machine = {
262 .name = "r2d", 262 .name = "r2d",
263 .desc = "r2d-plus board", 263 .desc = "r2d-plus board",
264 .init = r2d_init, 264 .init = r2d_init,
265 - .ram_require = (SDRAM_SIZE + SM501_VRAM_SIZE) | RAMSIZE_FIXED,  
266 }; 265 };
hw/realview.c
@@ -204,6 +204,5 @@ QEMUMachine realview_machine = { @@ -204,6 +204,5 @@ QEMUMachine realview_machine = {
204 .name = "realview", 204 .name = "realview",
205 .desc = "ARM RealView Emulation Baseboard (ARM926EJ-S)", 205 .desc = "ARM RealView Emulation Baseboard (ARM926EJ-S)",
206 .init = realview_init, 206 .init = realview_init,
207 - .ram_require = 0x1000,  
208 .use_scsi = 1, 207 .use_scsi = 1,
209 }; 208 };
hw/shix.c
@@ -92,5 +92,4 @@ QEMUMachine shix_machine = { @@ -92,5 +92,4 @@ QEMUMachine shix_machine = {
92 .name = "shix", 92 .name = "shix",
93 .desc = "shix card", 93 .desc = "shix card",
94 .init = shix_init, 94 .init = shix_init,
95 - .ram_require = (0x00004000 + 0x01000000 + 0x01000000) | RAMSIZE_FIXED,  
96 }; 95 };
hw/spitz.c
@@ -1003,26 +1003,22 @@ QEMUMachine akitapda_machine = { @@ -1003,26 +1003,22 @@ QEMUMachine akitapda_machine = {
1003 .name = "akita", 1003 .name = "akita",
1004 .desc = "Akita PDA (PXA270)", 1004 .desc = "Akita PDA (PXA270)",
1005 .init = akita_init, 1005 .init = akita_init,
1006 - .ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,  
1007 }; 1006 };
1008 1007
1009 QEMUMachine spitzpda_machine = { 1008 QEMUMachine spitzpda_machine = {
1010 .name = "spitz", 1009 .name = "spitz",
1011 .desc = "Spitz PDA (PXA270)", 1010 .desc = "Spitz PDA (PXA270)",
1012 .init = spitz_init, 1011 .init = spitz_init,
1013 - .ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,  
1014 }; 1012 };
1015 1013
1016 QEMUMachine borzoipda_machine = { 1014 QEMUMachine borzoipda_machine = {
1017 .name = "borzoi", 1015 .name = "borzoi",
1018 .desc = "Borzoi PDA (PXA270)", 1016 .desc = "Borzoi PDA (PXA270)",
1019 .init = borzoi_init, 1017 .init = borzoi_init,
1020 - .ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,  
1021 }; 1018 };
1022 1019
1023 QEMUMachine terrierpda_machine = { 1020 QEMUMachine terrierpda_machine = {
1024 .name = "terrier", 1021 .name = "terrier",
1025 .desc = "Terrier PDA (PXA270)", 1022 .desc = "Terrier PDA (PXA270)",
1026 .init = terrier_init, 1023 .init = terrier_init,
1027 - .ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,  
1028 }; 1024 };
hw/stellaris.c
@@ -1398,12 +1398,10 @@ QEMUMachine lm3s811evb_machine = { @@ -1398,12 +1398,10 @@ QEMUMachine lm3s811evb_machine = {
1398 .name = "lm3s811evb", 1398 .name = "lm3s811evb",
1399 .desc = "Stellaris LM3S811EVB", 1399 .desc = "Stellaris LM3S811EVB",
1400 .init = lm3s811evb_init, 1400 .init = lm3s811evb_init,
1401 - .ram_require = (64 * 1024 + 8 * 1024) | RAMSIZE_FIXED,  
1402 }; 1401 };
1403 1402
1404 QEMUMachine lm3s6965evb_machine = { 1403 QEMUMachine lm3s6965evb_machine = {
1405 .name = "lm3s6965evb", 1404 .name = "lm3s6965evb",
1406 .desc = "Stellaris LM3S6965EVB", 1405 .desc = "Stellaris LM3S6965EVB",
1407 .init = lm3s6965evb_init, 1406 .init = lm3s6965evb_init,
1408 - .ram_require = (256 * 1024 + 64 * 1024) | RAMSIZE_FIXED,  
1409 }; 1407 };
hw/sun4m.c
@@ -83,9 +83,6 @@ @@ -83,9 +83,6 @@
83 #define CFG_ADDR 0xd00000510ULL 83 #define CFG_ADDR 0xd00000510ULL
84 #define FW_CFG_SUN4M_DEPTH (FW_CFG_ARCH_LOCAL + 0x00) 84 #define FW_CFG_SUN4M_DEPTH (FW_CFG_ARCH_LOCAL + 0x00)
85 85
86 -// Control plane, 8-bit and 24-bit planes  
87 -#define TCX_SIZE (9 * 1024 * 1024)  
88 -  
89 #define MAX_CPUS 16 86 #define MAX_CPUS 16
90 #define MAX_PILS 16 87 #define MAX_PILS 16
91 88
@@ -1028,7 +1025,6 @@ QEMUMachine ss5_machine = { @@ -1028,7 +1025,6 @@ QEMUMachine ss5_machine = {
1028 .name = "SS-5", 1025 .name = "SS-5",
1029 .desc = "Sun4m platform, SPARCstation 5", 1026 .desc = "Sun4m platform, SPARCstation 5",
1030 .init = ss5_init, 1027 .init = ss5_init,
1031 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1032 .use_scsi = 1, 1028 .use_scsi = 1,
1033 }; 1029 };
1034 1030
@@ -1036,7 +1032,6 @@ QEMUMachine ss10_machine = { @@ -1036,7 +1032,6 @@ QEMUMachine ss10_machine = {
1036 .name = "SS-10", 1032 .name = "SS-10",
1037 .desc = "Sun4m platform, SPARCstation 10", 1033 .desc = "Sun4m platform, SPARCstation 10",
1038 .init = ss10_init, 1034 .init = ss10_init,
1039 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1040 .use_scsi = 1, 1035 .use_scsi = 1,
1041 .max_cpus = 4, 1036 .max_cpus = 4,
1042 }; 1037 };
@@ -1045,7 +1040,6 @@ QEMUMachine ss600mp_machine = { @@ -1045,7 +1040,6 @@ QEMUMachine ss600mp_machine = {
1045 .name = "SS-600MP", 1040 .name = "SS-600MP",
1046 .desc = "Sun4m platform, SPARCserver 600MP", 1041 .desc = "Sun4m platform, SPARCserver 600MP",
1047 .init = ss600mp_init, 1042 .init = ss600mp_init,
1048 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1049 .use_scsi = 1, 1043 .use_scsi = 1,
1050 .max_cpus = 4, 1044 .max_cpus = 4,
1051 }; 1045 };
@@ -1054,7 +1048,6 @@ QEMUMachine ss20_machine = { @@ -1054,7 +1048,6 @@ QEMUMachine ss20_machine = {
1054 .name = "SS-20", 1048 .name = "SS-20",
1055 .desc = "Sun4m platform, SPARCstation 20", 1049 .desc = "Sun4m platform, SPARCstation 20",
1056 .init = ss20_init, 1050 .init = ss20_init,
1057 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1058 .use_scsi = 1, 1051 .use_scsi = 1,
1059 .max_cpus = 4, 1052 .max_cpus = 4,
1060 }; 1053 };
@@ -1063,7 +1056,6 @@ QEMUMachine voyager_machine = { @@ -1063,7 +1056,6 @@ QEMUMachine voyager_machine = {
1063 .name = "Voyager", 1056 .name = "Voyager",
1064 .desc = "Sun4m platform, SPARCstation Voyager", 1057 .desc = "Sun4m platform, SPARCstation Voyager",
1065 .init = vger_init, 1058 .init = vger_init,
1066 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1067 .use_scsi = 1, 1059 .use_scsi = 1,
1068 }; 1060 };
1069 1061
@@ -1071,7 +1063,6 @@ QEMUMachine ss_lx_machine = { @@ -1071,7 +1063,6 @@ QEMUMachine ss_lx_machine = {
1071 .name = "LX", 1063 .name = "LX",
1072 .desc = "Sun4m platform, SPARCstation LX", 1064 .desc = "Sun4m platform, SPARCstation LX",
1073 .init = ss_lx_init, 1065 .init = ss_lx_init,
1074 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1075 .use_scsi = 1, 1066 .use_scsi = 1,
1076 }; 1067 };
1077 1068
@@ -1079,7 +1070,6 @@ QEMUMachine ss4_machine = { @@ -1079,7 +1070,6 @@ QEMUMachine ss4_machine = {
1079 .name = "SS-4", 1070 .name = "SS-4",
1080 .desc = "Sun4m platform, SPARCstation 4", 1071 .desc = "Sun4m platform, SPARCstation 4",
1081 .init = ss4_init, 1072 .init = ss4_init,
1082 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1083 .use_scsi = 1, 1073 .use_scsi = 1,
1084 }; 1074 };
1085 1075
@@ -1087,7 +1077,6 @@ QEMUMachine scls_machine = { @@ -1087,7 +1077,6 @@ QEMUMachine scls_machine = {
1087 .name = "SPARCClassic", 1077 .name = "SPARCClassic",
1088 .desc = "Sun4m platform, SPARCClassic", 1078 .desc = "Sun4m platform, SPARCClassic",
1089 .init = scls_init, 1079 .init = scls_init,
1090 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1091 .use_scsi = 1, 1080 .use_scsi = 1,
1092 }; 1081 };
1093 1082
@@ -1095,7 +1084,6 @@ QEMUMachine sbook_machine = { @@ -1095,7 +1084,6 @@ QEMUMachine sbook_machine = {
1095 .name = "SPARCbook", 1084 .name = "SPARCbook",
1096 .desc = "Sun4m platform, SPARCbook", 1085 .desc = "Sun4m platform, SPARCbook",
1097 .init = sbook_init, 1086 .init = sbook_init,
1098 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1099 .use_scsi = 1, 1087 .use_scsi = 1,
1100 }; 1088 };
1101 1089
@@ -1348,7 +1336,6 @@ QEMUMachine ss1000_machine = { @@ -1348,7 +1336,6 @@ QEMUMachine ss1000_machine = {
1348 .name = "SS-1000", 1336 .name = "SS-1000",
1349 .desc = "Sun4d platform, SPARCserver 1000", 1337 .desc = "Sun4d platform, SPARCserver 1000",
1350 .init = ss1000_init, 1338 .init = ss1000_init,
1351 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1352 .use_scsi = 1, 1339 .use_scsi = 1,
1353 .max_cpus = 8, 1340 .max_cpus = 8,
1354 }; 1341 };
@@ -1357,7 +1344,6 @@ QEMUMachine ss2000_machine = { @@ -1357,7 +1344,6 @@ QEMUMachine ss2000_machine = {
1357 .name = "SS-2000", 1344 .name = "SS-2000",
1358 .desc = "Sun4d platform, SPARCcenter 2000", 1345 .desc = "Sun4d platform, SPARCcenter 2000",
1359 .init = ss2000_init, 1346 .init = ss2000_init,
1360 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1361 .use_scsi = 1, 1347 .use_scsi = 1,
1362 .max_cpus = 20, 1348 .max_cpus = 20,
1363 }; 1349 };
@@ -1566,6 +1552,5 @@ QEMUMachine ss2_machine = { @@ -1566,6 +1552,5 @@ QEMUMachine ss2_machine = {
1566 .name = "SS-2", 1552 .name = "SS-2",
1567 .desc = "Sun4c platform, SPARCstation 2", 1553 .desc = "Sun4c platform, SPARCstation 2",
1568 .init = ss2_init, 1554 .init = ss2_init,
1569 - .ram_require = PROM_SIZE_MAX + TCX_SIZE,  
1570 .use_scsi = 1, 1555 .use_scsi = 1,
1571 }; 1556 };
hw/sun4u.c
@@ -593,7 +593,6 @@ QEMUMachine sun4u_machine = { @@ -593,7 +593,6 @@ QEMUMachine sun4u_machine = {
593 .name = "sun4u", 593 .name = "sun4u",
594 .desc = "Sun4u platform", 594 .desc = "Sun4u platform",
595 .init = sun4u_init, 595 .init = sun4u_init,
596 - .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE,  
597 .max_cpus = 1, // XXX for now 596 .max_cpus = 1, // XXX for now
598 }; 597 };
599 598
@@ -601,7 +600,6 @@ QEMUMachine sun4v_machine = { @@ -601,7 +600,6 @@ QEMUMachine sun4v_machine = {
601 .name = "sun4v", 600 .name = "sun4v",
602 .desc = "Sun4v platform", 601 .desc = "Sun4v platform",
603 .init = sun4v_init, 602 .init = sun4v_init,
604 - .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE,  
605 .max_cpus = 1, // XXX for now 603 .max_cpus = 1, // XXX for now
606 }; 604 };
607 605
@@ -609,6 +607,5 @@ QEMUMachine niagara_machine = { @@ -609,6 +607,5 @@ QEMUMachine niagara_machine = {
609 .name = "Niagara", 607 .name = "Niagara",
610 .desc = "Sun4v platform, Niagara", 608 .desc = "Sun4v platform, Niagara",
611 .init = niagara_init, 609 .init = niagara_init,
612 - .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE,  
613 .max_cpus = 1, // XXX for now 610 .max_cpus = 1, // XXX for now
614 }; 611 };
hw/tosa.c
@@ -240,5 +240,4 @@ QEMUMachine tosapda_machine = { @@ -240,5 +240,4 @@ QEMUMachine tosapda_machine = {
240 .name = "tosa", 240 .name = "tosa",
241 .desc = "Tosa PDA (PXA255)", 241 .desc = "Tosa PDA (PXA255)",
242 .init = tosa_init, 242 .init = tosa_init,
243 - .ram_require = TOSA_RAM + TOSA_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED + TC6393XB_RAM,  
244 }; 243 };