Commit 190cd0215b1667d41db4ca2f04f0e1fa8c75027c
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
Showing
31 changed files
with
0 additions
and
63 deletions
hw/an5206.c
hw/axis_dev88.c
hw/boards.h
hw/etraxfs.c
hw/gumstix.c
... | ... | @@ -113,12 +113,10 @@ QEMUMachine connex_machine = { |
113 | 113 | .name = "connex", |
114 | 114 | .desc = "Gumstix Connex (PXA255)", |
115 | 115 | .init = connex_init, |
116 | - .ram_require = (0x05000000 + PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED, | |
117 | 116 | }; |
118 | 117 | |
119 | 118 | QEMUMachine verdex_machine = { |
120 | 119 | .name = "verdex", |
121 | 120 | .desc = "Gumstix Verdex (PXA270)", |
122 | 121 | .init = verdex_init, |
123 | - .ram_require = (0x12000000 + PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED, | |
124 | 122 | }; | ... | ... |
hw/integratorcp.c
hw/mainstone.c
... | ... | @@ -139,6 +139,4 @@ QEMUMachine mainstone2_machine = { |
139 | 139 | .name = "mainstone", |
140 | 140 | .desc = "Mainstone II (PXA27x)", |
141 | 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
hw/mips_jazz.c
... | ... | @@ -292,7 +292,6 @@ QEMUMachine mips_magnum_machine = { |
292 | 292 | .name = "magnum", |
293 | 293 | .desc = "MIPS Magnum", |
294 | 294 | .init = mips_magnum_init, |
295 | - .ram_require = MAGNUM_BIOS_SIZE + VGA_RAM_SIZE, | |
296 | 295 | .use_scsi = 1, |
297 | 296 | }; |
298 | 297 | |
... | ... | @@ -300,6 +299,5 @@ QEMUMachine mips_pica61_machine = { |
300 | 299 | .name = "pica61", |
301 | 300 | .desc = "Acer Pica 61", |
302 | 301 | .init = mips_pica61_init, |
303 | - .ram_require = MAGNUM_BIOS_SIZE + VGA_RAM_SIZE, | |
304 | 302 | .use_scsi = 1, |
305 | 303 | }; | ... | ... |
hw/mips_malta.c
hw/mips_mipssim.c
hw/mips_r4k.c
hw/musicpal.c
... | ... | @@ -1594,6 +1594,4 @@ QEMUMachine musicpal_machine = { |
1594 | 1594 | .name = "musicpal", |
1595 | 1595 | .desc = "Marvell 88w8618 / MusicPal (ARM926EJ-S)", |
1596 | 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 | 1407 | .name = "n800", |
1408 | 1408 | .desc = "Nokia N800 tablet aka. RX-34 (OMAP2420)", |
1409 | 1409 | .init = n800_init, |
1410 | - .ram_require = (0x08000000 + 0x00018000 + OMAP242X_SRAM_SIZE) | | |
1411 | - RAMSIZE_FIXED, | |
1412 | 1410 | }; |
1413 | 1411 | |
1414 | 1412 | QEMUMachine n810_machine = { |
1415 | 1413 | .name = "n810", |
1416 | 1414 | .desc = "Nokia N810 tablet aka. RX-44 (OMAP2420)", |
1417 | 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 | 227 | .name = "sx1", |
228 | 228 | .desc = "Siemens SX1 (OMAP310) V2", |
229 | 229 | .init = sx1_init_v2, |
230 | - .ram_require = total_ram_v2 | RAMSIZE_FIXED, | |
231 | 230 | }; |
232 | 231 | |
233 | 232 | QEMUMachine sx1_machine_v1 = { |
234 | 233 | .name = "sx1-v1", |
235 | 234 | .desc = "Siemens SX1 (OMAP310) V1", |
236 | 235 | .init = sx1_init_v1, |
237 | - .ram_require = total_ram_v1 | RAMSIZE_FIXED, | |
238 | 236 | }; | ... | ... |
hw/palm.c
hw/pc.c
... | ... | @@ -1137,7 +1137,6 @@ QEMUMachine pc_machine = { |
1137 | 1137 | .name = "pc", |
1138 | 1138 | .desc = "Standard PC", |
1139 | 1139 | .init = pc_init_pci, |
1140 | - .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, | |
1141 | 1140 | .max_cpus = 255, |
1142 | 1141 | }; |
1143 | 1142 | |
... | ... | @@ -1145,6 +1144,5 @@ QEMUMachine isapc_machine = { |
1145 | 1144 | .name = "isapc", |
1146 | 1145 | .desc = "ISA-only PC", |
1147 | 1146 | .init = pc_init_isa, |
1148 | - .ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE, | |
1149 | 1147 | .max_cpus = 1, |
1150 | 1148 | }; | ... | ... |
hw/ppc405_boards.c
... | ... | @@ -349,7 +349,6 @@ QEMUMachine ref405ep_machine = { |
349 | 349 | .name = "ref405ep", |
350 | 350 | .desc = "ref405ep", |
351 | 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 | 629 | "taihu", |
631 | 630 | "taihu", |
632 | 631 | taihu_405ep_init, |
633 | - (128 * 1024 * 1024 + 4096 + BIOS_SIZE + 32 * 1024 * 1024) | RAMSIZE_FIXED, | |
634 | 632 | }; | ... | ... |
hw/ppc440_bamboo.c
hw/ppc_newworld.c
hw/ppc_oldworld.c
hw/ppc_prep.c
hw/ppce500_mpc8544ds.c
hw/r2d.c
hw/realview.c
hw/shix.c
hw/spitz.c
... | ... | @@ -1003,26 +1003,22 @@ QEMUMachine akitapda_machine = { |
1003 | 1003 | .name = "akita", |
1004 | 1004 | .desc = "Akita PDA (PXA270)", |
1005 | 1005 | .init = akita_init, |
1006 | - .ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED, | |
1007 | 1006 | }; |
1008 | 1007 | |
1009 | 1008 | QEMUMachine spitzpda_machine = { |
1010 | 1009 | .name = "spitz", |
1011 | 1010 | .desc = "Spitz PDA (PXA270)", |
1012 | 1011 | .init = spitz_init, |
1013 | - .ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED, | |
1014 | 1012 | }; |
1015 | 1013 | |
1016 | 1014 | QEMUMachine borzoipda_machine = { |
1017 | 1015 | .name = "borzoi", |
1018 | 1016 | .desc = "Borzoi PDA (PXA270)", |
1019 | 1017 | .init = borzoi_init, |
1020 | - .ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED, | |
1021 | 1018 | }; |
1022 | 1019 | |
1023 | 1020 | QEMUMachine terrierpda_machine = { |
1024 | 1021 | .name = "terrier", |
1025 | 1022 | .desc = "Terrier PDA (PXA270)", |
1026 | 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 | 1398 | .name = "lm3s811evb", |
1399 | 1399 | .desc = "Stellaris LM3S811EVB", |
1400 | 1400 | .init = lm3s811evb_init, |
1401 | - .ram_require = (64 * 1024 + 8 * 1024) | RAMSIZE_FIXED, | |
1402 | 1401 | }; |
1403 | 1402 | |
1404 | 1403 | QEMUMachine lm3s6965evb_machine = { |
1405 | 1404 | .name = "lm3s6965evb", |
1406 | 1405 | .desc = "Stellaris LM3S6965EVB", |
1407 | 1406 | .init = lm3s6965evb_init, |
1408 | - .ram_require = (256 * 1024 + 64 * 1024) | RAMSIZE_FIXED, | |
1409 | 1407 | }; | ... | ... |
hw/sun4m.c
... | ... | @@ -83,9 +83,6 @@ |
83 | 83 | #define CFG_ADDR 0xd00000510ULL |
84 | 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 | 86 | #define MAX_CPUS 16 |
90 | 87 | #define MAX_PILS 16 |
91 | 88 | |
... | ... | @@ -1028,7 +1025,6 @@ QEMUMachine ss5_machine = { |
1028 | 1025 | .name = "SS-5", |
1029 | 1026 | .desc = "Sun4m platform, SPARCstation 5", |
1030 | 1027 | .init = ss5_init, |
1031 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1032 | 1028 | .use_scsi = 1, |
1033 | 1029 | }; |
1034 | 1030 | |
... | ... | @@ -1036,7 +1032,6 @@ QEMUMachine ss10_machine = { |
1036 | 1032 | .name = "SS-10", |
1037 | 1033 | .desc = "Sun4m platform, SPARCstation 10", |
1038 | 1034 | .init = ss10_init, |
1039 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1040 | 1035 | .use_scsi = 1, |
1041 | 1036 | .max_cpus = 4, |
1042 | 1037 | }; |
... | ... | @@ -1045,7 +1040,6 @@ QEMUMachine ss600mp_machine = { |
1045 | 1040 | .name = "SS-600MP", |
1046 | 1041 | .desc = "Sun4m platform, SPARCserver 600MP", |
1047 | 1042 | .init = ss600mp_init, |
1048 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1049 | 1043 | .use_scsi = 1, |
1050 | 1044 | .max_cpus = 4, |
1051 | 1045 | }; |
... | ... | @@ -1054,7 +1048,6 @@ QEMUMachine ss20_machine = { |
1054 | 1048 | .name = "SS-20", |
1055 | 1049 | .desc = "Sun4m platform, SPARCstation 20", |
1056 | 1050 | .init = ss20_init, |
1057 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1058 | 1051 | .use_scsi = 1, |
1059 | 1052 | .max_cpus = 4, |
1060 | 1053 | }; |
... | ... | @@ -1063,7 +1056,6 @@ QEMUMachine voyager_machine = { |
1063 | 1056 | .name = "Voyager", |
1064 | 1057 | .desc = "Sun4m platform, SPARCstation Voyager", |
1065 | 1058 | .init = vger_init, |
1066 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1067 | 1059 | .use_scsi = 1, |
1068 | 1060 | }; |
1069 | 1061 | |
... | ... | @@ -1071,7 +1063,6 @@ QEMUMachine ss_lx_machine = { |
1071 | 1063 | .name = "LX", |
1072 | 1064 | .desc = "Sun4m platform, SPARCstation LX", |
1073 | 1065 | .init = ss_lx_init, |
1074 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1075 | 1066 | .use_scsi = 1, |
1076 | 1067 | }; |
1077 | 1068 | |
... | ... | @@ -1079,7 +1070,6 @@ QEMUMachine ss4_machine = { |
1079 | 1070 | .name = "SS-4", |
1080 | 1071 | .desc = "Sun4m platform, SPARCstation 4", |
1081 | 1072 | .init = ss4_init, |
1082 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1083 | 1073 | .use_scsi = 1, |
1084 | 1074 | }; |
1085 | 1075 | |
... | ... | @@ -1087,7 +1077,6 @@ QEMUMachine scls_machine = { |
1087 | 1077 | .name = "SPARCClassic", |
1088 | 1078 | .desc = "Sun4m platform, SPARCClassic", |
1089 | 1079 | .init = scls_init, |
1090 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1091 | 1080 | .use_scsi = 1, |
1092 | 1081 | }; |
1093 | 1082 | |
... | ... | @@ -1095,7 +1084,6 @@ QEMUMachine sbook_machine = { |
1095 | 1084 | .name = "SPARCbook", |
1096 | 1085 | .desc = "Sun4m platform, SPARCbook", |
1097 | 1086 | .init = sbook_init, |
1098 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1099 | 1087 | .use_scsi = 1, |
1100 | 1088 | }; |
1101 | 1089 | |
... | ... | @@ -1348,7 +1336,6 @@ QEMUMachine ss1000_machine = { |
1348 | 1336 | .name = "SS-1000", |
1349 | 1337 | .desc = "Sun4d platform, SPARCserver 1000", |
1350 | 1338 | .init = ss1000_init, |
1351 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1352 | 1339 | .use_scsi = 1, |
1353 | 1340 | .max_cpus = 8, |
1354 | 1341 | }; |
... | ... | @@ -1357,7 +1344,6 @@ QEMUMachine ss2000_machine = { |
1357 | 1344 | .name = "SS-2000", |
1358 | 1345 | .desc = "Sun4d platform, SPARCcenter 2000", |
1359 | 1346 | .init = ss2000_init, |
1360 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1361 | 1347 | .use_scsi = 1, |
1362 | 1348 | .max_cpus = 20, |
1363 | 1349 | }; |
... | ... | @@ -1566,6 +1552,5 @@ QEMUMachine ss2_machine = { |
1566 | 1552 | .name = "SS-2", |
1567 | 1553 | .desc = "Sun4c platform, SPARCstation 2", |
1568 | 1554 | .init = ss2_init, |
1569 | - .ram_require = PROM_SIZE_MAX + TCX_SIZE, | |
1570 | 1555 | .use_scsi = 1, |
1571 | 1556 | }; | ... | ... |
hw/sun4u.c
... | ... | @@ -593,7 +593,6 @@ QEMUMachine sun4u_machine = { |
593 | 593 | .name = "sun4u", |
594 | 594 | .desc = "Sun4u platform", |
595 | 595 | .init = sun4u_init, |
596 | - .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE, | |
597 | 596 | .max_cpus = 1, // XXX for now |
598 | 597 | }; |
599 | 598 | |
... | ... | @@ -601,7 +600,6 @@ QEMUMachine sun4v_machine = { |
601 | 600 | .name = "sun4v", |
602 | 601 | .desc = "Sun4v platform", |
603 | 602 | .init = sun4v_init, |
604 | - .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE, | |
605 | 603 | .max_cpus = 1, // XXX for now |
606 | 604 | }; |
607 | 605 | |
... | ... | @@ -609,6 +607,5 @@ QEMUMachine niagara_machine = { |
609 | 607 | .name = "Niagara", |
610 | 608 | .desc = "Sun4v platform, Niagara", |
611 | 609 | .init = niagara_init, |
612 | - .ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE, | |
613 | 610 | .max_cpus = 1, // XXX for now |
614 | 611 | }; | ... | ... |