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
This commit is contained in:
parent
a0b753dfd3
commit
190cd0215b
@ -88,5 +88,4 @@ QEMUMachine an5206_machine = {
|
||||
.name = "an5206",
|
||||
.desc = "Arnewsh 5206",
|
||||
.init = an5206_init,
|
||||
.ram_require = 512,
|
||||
};
|
||||
|
@ -366,5 +366,4 @@ QEMUMachine axisdev88_machine = {
|
||||
.name = "axis-dev88",
|
||||
.desc = "AXIS devboard 88",
|
||||
.init = axisdev88_init,
|
||||
.ram_require = 0x8000000,
|
||||
};
|
||||
|
@ -14,8 +14,6 @@ typedef struct QEMUMachine {
|
||||
const char *name;
|
||||
const char *desc;
|
||||
QEMUMachineInitFunc *init;
|
||||
#define RAMSIZE_FIXED (1 << 0)
|
||||
ram_addr_t ram_require;
|
||||
int use_scsi;
|
||||
int max_cpus;
|
||||
struct QEMUMachine *next;
|
||||
|
@ -157,5 +157,4 @@ QEMUMachine bareetraxfs_machine = {
|
||||
.name = "bareetraxfs",
|
||||
.desc = "Bare ETRAX FS board",
|
||||
.init = bareetraxfs_init,
|
||||
.ram_require = 0x8000000,
|
||||
};
|
||||
|
@ -113,12 +113,10 @@ QEMUMachine connex_machine = {
|
||||
.name = "connex",
|
||||
.desc = "Gumstix Connex (PXA255)",
|
||||
.init = connex_init,
|
||||
.ram_require = (0x05000000 + PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED,
|
||||
};
|
||||
|
||||
QEMUMachine verdex_machine = {
|
||||
.name = "verdex",
|
||||
.desc = "Gumstix Verdex (PXA270)",
|
||||
.init = verdex_init,
|
||||
.ram_require = (0x12000000 + PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED,
|
||||
};
|
||||
|
@ -510,5 +510,4 @@ QEMUMachine integratorcp_machine = {
|
||||
.name = "integratorcp",
|
||||
.desc = "ARM Integrator/CP (ARM926EJ-S)",
|
||||
.init = integratorcp_init,
|
||||
.ram_require = 0x100000,
|
||||
};
|
||||
|
@ -139,6 +139,4 @@ QEMUMachine mainstone2_machine = {
|
||||
.name = "mainstone",
|
||||
.desc = "Mainstone II (PXA27x)",
|
||||
.init = mainstone_init,
|
||||
.ram_require = (MAINSTONE_RAM + MAINSTONE_ROM + 2 * MAINSTONE_FLASH +
|
||||
PXA2XX_INTERNAL_SIZE) | RAMSIZE_FIXED,
|
||||
};
|
||||
|
@ -294,5 +294,4 @@ QEMUMachine mcf5208evb_machine = {
|
||||
.name = "mcf5208evb",
|
||||
.desc = "MCF5206EVB",
|
||||
.init = mcf5208evb_init,
|
||||
.ram_require = 16384,
|
||||
};
|
||||
|
@ -292,7 +292,6 @@ QEMUMachine mips_magnum_machine = {
|
||||
.name = "magnum",
|
||||
.desc = "MIPS Magnum",
|
||||
.init = mips_magnum_init,
|
||||
.ram_require = MAGNUM_BIOS_SIZE + VGA_RAM_SIZE,
|
||||
.use_scsi = 1,
|
||||
};
|
||||
|
||||
@ -300,6 +299,5 @@ QEMUMachine mips_pica61_machine = {
|
||||
.name = "pica61",
|
||||
.desc = "Acer Pica 61",
|
||||
.init = mips_pica61_init,
|
||||
.ram_require = MAGNUM_BIOS_SIZE + VGA_RAM_SIZE,
|
||||
.use_scsi = 1,
|
||||
};
|
||||
|
@ -958,5 +958,4 @@ QEMUMachine mips_malta_machine = {
|
||||
.name = "malta",
|
||||
.desc = "MIPS Malta Core LV",
|
||||
.init = mips_malta_init,
|
||||
.ram_require = VGA_RAM_SIZE + BIOS_SIZE,
|
||||
};
|
||||
|
@ -187,5 +187,4 @@ QEMUMachine mips_mipssim_machine = {
|
||||
.name = "mipssim",
|
||||
.desc = "MIPS MIPSsim platform",
|
||||
.init = mips_mipssim_init,
|
||||
.ram_require = BIOS_SIZE + VGA_RAM_SIZE /* unused */,
|
||||
};
|
||||
|
@ -284,5 +284,4 @@ QEMUMachine mips_machine = {
|
||||
.name = "mips",
|
||||
.desc = "mips r4k platform",
|
||||
.init = mips_r4k_init,
|
||||
.ram_require = VGA_RAM_SIZE + BIOS_SIZE,
|
||||
};
|
||||
|
@ -1594,6 +1594,4 @@ QEMUMachine musicpal_machine = {
|
||||
.name = "musicpal",
|
||||
.desc = "Marvell 88w8618 / MusicPal (ARM926EJ-S)",
|
||||
.init = musicpal_init,
|
||||
.ram_require = MP_RAM_DEFAULT_SIZE + MP_SRAM_SIZE +
|
||||
MP_FLASH_SIZE_MAX + RAMSIZE_FIXED,
|
||||
};
|
||||
|
@ -1407,14 +1407,10 @@ QEMUMachine n800_machine = {
|
||||
.name = "n800",
|
||||
.desc = "Nokia N800 tablet aka. RX-34 (OMAP2420)",
|
||||
.init = n800_init,
|
||||
.ram_require = (0x08000000 + 0x00018000 + OMAP242X_SRAM_SIZE) |
|
||||
RAMSIZE_FIXED,
|
||||
};
|
||||
|
||||
QEMUMachine n810_machine = {
|
||||
.name = "n810",
|
||||
.desc = "Nokia N810 tablet aka. RX-44 (OMAP2420)",
|
||||
.init = n810_init,
|
||||
.ram_require = (0x08000000 + 0x00018000 + OMAP242X_SRAM_SIZE) |
|
||||
RAMSIZE_FIXED,
|
||||
};
|
||||
|
@ -227,12 +227,10 @@ QEMUMachine sx1_machine_v2 = {
|
||||
.name = "sx1",
|
||||
.desc = "Siemens SX1 (OMAP310) V2",
|
||||
.init = sx1_init_v2,
|
||||
.ram_require = total_ram_v2 | RAMSIZE_FIXED,
|
||||
};
|
||||
|
||||
QEMUMachine sx1_machine_v1 = {
|
||||
.name = "sx1-v1",
|
||||
.desc = "Siemens SX1 (OMAP310) V1",
|
||||
.init = sx1_init_v1,
|
||||
.ram_require = total_ram_v1 | RAMSIZE_FIXED,
|
||||
};
|
||||
|
@ -285,6 +285,4 @@ QEMUMachine palmte_machine = {
|
||||
.name = "cheetah",
|
||||
.desc = "Palm Tungsten|E aka. Cheetah PDA (OMAP310)",
|
||||
.init = palmte_init,
|
||||
.ram_require = (0x02000000 + 0x00800000 + OMAP15XX_SRAM_SIZE) |
|
||||
RAMSIZE_FIXED,
|
||||
};
|
||||
|
2
hw/pc.c
2
hw/pc.c
@ -1137,7 +1137,6 @@ QEMUMachine pc_machine = {
|
||||
.name = "pc",
|
||||
.desc = "Standard PC",
|
||||
.init = pc_init_pci,
|
||||
.ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE,
|
||||
.max_cpus = 255,
|
||||
};
|
||||
|
||||
@ -1145,6 +1144,5 @@ QEMUMachine isapc_machine = {
|
||||
.name = "isapc",
|
||||
.desc = "ISA-only PC",
|
||||
.init = pc_init_isa,
|
||||
.ram_require = VGA_RAM_SIZE + PC_MAX_BIOS_SIZE,
|
||||
.max_cpus = 1,
|
||||
};
|
||||
|
@ -349,7 +349,6 @@ QEMUMachine ref405ep_machine = {
|
||||
.name = "ref405ep",
|
||||
.desc = "ref405ep",
|
||||
.init = ref405ep_init,
|
||||
.ram_require = (128 * 1024 * 1024 + 4096 + 512 * 1024 + BIOS_SIZE) | RAMSIZE_FIXED,
|
||||
};
|
||||
|
||||
/*****************************************************************************/
|
||||
@ -630,5 +629,4 @@ QEMUMachine taihu_machine = {
|
||||
"taihu",
|
||||
"taihu",
|
||||
taihu_405ep_init,
|
||||
(128 * 1024 * 1024 + 4096 + BIOS_SIZE + 32 * 1024 * 1024) | RAMSIZE_FIXED,
|
||||
};
|
||||
|
@ -190,5 +190,4 @@ QEMUMachine bamboo_machine = {
|
||||
.name = "bamboo",
|
||||
.desc = "bamboo",
|
||||
.init = bamboo_init,
|
||||
.ram_require = 8<<20 | RAMSIZE_FIXED,
|
||||
};
|
||||
|
@ -357,6 +357,5 @@ QEMUMachine core99_machine = {
|
||||
.name = "mac99",
|
||||
.desc = "Mac99 based PowerMAC",
|
||||
.init = ppc_core99_init,
|
||||
.ram_require = BIOS_SIZE + VGA_BIOS_SIZE + VGA_RAM_SIZE,
|
||||
.max_cpus = MAX_CPUS,
|
||||
};
|
||||
|
@ -388,6 +388,5 @@ QEMUMachine heathrow_machine = {
|
||||
.name = "g3beige",
|
||||
.desc = "Heathrow based PowerMAC",
|
||||
.init = ppc_heathrow_init,
|
||||
.ram_require = BIOS_SIZE + VGA_BIOS_SIZE + VGA_RAM_SIZE,
|
||||
.max_cpus = MAX_CPUS,
|
||||
};
|
||||
|
@ -764,6 +764,5 @@ QEMUMachine prep_machine = {
|
||||
.name = "prep",
|
||||
.desc = "PowerPC PREP platform",
|
||||
.init = ppc_prep_init,
|
||||
.ram_require = BIOS_SIZE + VGA_RAM_SIZE,
|
||||
.max_cpus = MAX_CPUS,
|
||||
};
|
||||
|
@ -286,5 +286,4 @@ QEMUMachine mpc8544ds_machine = {
|
||||
.name = "mpc8544ds",
|
||||
.desc = "mpc8544ds",
|
||||
.init = mpc8544ds_init,
|
||||
.ram_require = RAM_SIZES_ALIGN | RAMSIZE_FIXED,
|
||||
};
|
||||
|
1
hw/r2d.c
1
hw/r2d.c
@ -262,5 +262,4 @@ QEMUMachine r2d_machine = {
|
||||
.name = "r2d",
|
||||
.desc = "r2d-plus board",
|
||||
.init = r2d_init,
|
||||
.ram_require = (SDRAM_SIZE + SM501_VRAM_SIZE) | RAMSIZE_FIXED,
|
||||
};
|
||||
|
@ -204,6 +204,5 @@ QEMUMachine realview_machine = {
|
||||
.name = "realview",
|
||||
.desc = "ARM RealView Emulation Baseboard (ARM926EJ-S)",
|
||||
.init = realview_init,
|
||||
.ram_require = 0x1000,
|
||||
.use_scsi = 1,
|
||||
};
|
||||
|
@ -92,5 +92,4 @@ QEMUMachine shix_machine = {
|
||||
.name = "shix",
|
||||
.desc = "shix card",
|
||||
.init = shix_init,
|
||||
.ram_require = (0x00004000 + 0x01000000 + 0x01000000) | RAMSIZE_FIXED,
|
||||
};
|
||||
|
@ -1003,26 +1003,22 @@ QEMUMachine akitapda_machine = {
|
||||
.name = "akita",
|
||||
.desc = "Akita PDA (PXA270)",
|
||||
.init = akita_init,
|
||||
.ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,
|
||||
};
|
||||
|
||||
QEMUMachine spitzpda_machine = {
|
||||
.name = "spitz",
|
||||
.desc = "Spitz PDA (PXA270)",
|
||||
.init = spitz_init,
|
||||
.ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,
|
||||
};
|
||||
|
||||
QEMUMachine borzoipda_machine = {
|
||||
.name = "borzoi",
|
||||
.desc = "Borzoi PDA (PXA270)",
|
||||
.init = borzoi_init,
|
||||
.ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,
|
||||
};
|
||||
|
||||
QEMUMachine terrierpda_machine = {
|
||||
.name = "terrier",
|
||||
.desc = "Terrier PDA (PXA270)",
|
||||
.init = terrier_init,
|
||||
.ram_require = SPITZ_RAM + SPITZ_ROM + PXA2XX_INTERNAL_SIZE + RAMSIZE_FIXED,
|
||||
};
|
||||
|
@ -1398,12 +1398,10 @@ QEMUMachine lm3s811evb_machine = {
|
||||
.name = "lm3s811evb",
|
||||
.desc = "Stellaris LM3S811EVB",
|
||||
.init = lm3s811evb_init,
|
||||
.ram_require = (64 * 1024 + 8 * 1024) | RAMSIZE_FIXED,
|
||||
};
|
||||
|
||||
QEMUMachine lm3s6965evb_machine = {
|
||||
.name = "lm3s6965evb",
|
||||
.desc = "Stellaris LM3S6965EVB",
|
||||
.init = lm3s6965evb_init,
|
||||
.ram_require = (256 * 1024 + 64 * 1024) | RAMSIZE_FIXED,
|
||||
};
|
||||
|
15
hw/sun4m.c
15
hw/sun4m.c
@ -83,9 +83,6 @@
|
||||
#define CFG_ADDR 0xd00000510ULL
|
||||
#define FW_CFG_SUN4M_DEPTH (FW_CFG_ARCH_LOCAL + 0x00)
|
||||
|
||||
// Control plane, 8-bit and 24-bit planes
|
||||
#define TCX_SIZE (9 * 1024 * 1024)
|
||||
|
||||
#define MAX_CPUS 16
|
||||
#define MAX_PILS 16
|
||||
|
||||
@ -1028,7 +1025,6 @@ QEMUMachine ss5_machine = {
|
||||
.name = "SS-5",
|
||||
.desc = "Sun4m platform, SPARCstation 5",
|
||||
.init = ss5_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
};
|
||||
|
||||
@ -1036,7 +1032,6 @@ QEMUMachine ss10_machine = {
|
||||
.name = "SS-10",
|
||||
.desc = "Sun4m platform, SPARCstation 10",
|
||||
.init = ss10_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
.max_cpus = 4,
|
||||
};
|
||||
@ -1045,7 +1040,6 @@ QEMUMachine ss600mp_machine = {
|
||||
.name = "SS-600MP",
|
||||
.desc = "Sun4m platform, SPARCserver 600MP",
|
||||
.init = ss600mp_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
.max_cpus = 4,
|
||||
};
|
||||
@ -1054,7 +1048,6 @@ QEMUMachine ss20_machine = {
|
||||
.name = "SS-20",
|
||||
.desc = "Sun4m platform, SPARCstation 20",
|
||||
.init = ss20_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
.max_cpus = 4,
|
||||
};
|
||||
@ -1063,7 +1056,6 @@ QEMUMachine voyager_machine = {
|
||||
.name = "Voyager",
|
||||
.desc = "Sun4m platform, SPARCstation Voyager",
|
||||
.init = vger_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
};
|
||||
|
||||
@ -1071,7 +1063,6 @@ QEMUMachine ss_lx_machine = {
|
||||
.name = "LX",
|
||||
.desc = "Sun4m platform, SPARCstation LX",
|
||||
.init = ss_lx_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
};
|
||||
|
||||
@ -1079,7 +1070,6 @@ QEMUMachine ss4_machine = {
|
||||
.name = "SS-4",
|
||||
.desc = "Sun4m platform, SPARCstation 4",
|
||||
.init = ss4_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
};
|
||||
|
||||
@ -1087,7 +1077,6 @@ QEMUMachine scls_machine = {
|
||||
.name = "SPARCClassic",
|
||||
.desc = "Sun4m platform, SPARCClassic",
|
||||
.init = scls_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
};
|
||||
|
||||
@ -1095,7 +1084,6 @@ QEMUMachine sbook_machine = {
|
||||
.name = "SPARCbook",
|
||||
.desc = "Sun4m platform, SPARCbook",
|
||||
.init = sbook_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
};
|
||||
|
||||
@ -1348,7 +1336,6 @@ QEMUMachine ss1000_machine = {
|
||||
.name = "SS-1000",
|
||||
.desc = "Sun4d platform, SPARCserver 1000",
|
||||
.init = ss1000_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
.max_cpus = 8,
|
||||
};
|
||||
@ -1357,7 +1344,6 @@ QEMUMachine ss2000_machine = {
|
||||
.name = "SS-2000",
|
||||
.desc = "Sun4d platform, SPARCcenter 2000",
|
||||
.init = ss2000_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
.max_cpus = 20,
|
||||
};
|
||||
@ -1566,6 +1552,5 @@ QEMUMachine ss2_machine = {
|
||||
.name = "SS-2",
|
||||
.desc = "Sun4c platform, SPARCstation 2",
|
||||
.init = ss2_init,
|
||||
.ram_require = PROM_SIZE_MAX + TCX_SIZE,
|
||||
.use_scsi = 1,
|
||||
};
|
||||
|
@ -593,7 +593,6 @@ QEMUMachine sun4u_machine = {
|
||||
.name = "sun4u",
|
||||
.desc = "Sun4u platform",
|
||||
.init = sun4u_init,
|
||||
.ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE,
|
||||
.max_cpus = 1, // XXX for now
|
||||
};
|
||||
|
||||
@ -601,7 +600,6 @@ QEMUMachine sun4v_machine = {
|
||||
.name = "sun4v",
|
||||
.desc = "Sun4v platform",
|
||||
.init = sun4v_init,
|
||||
.ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE,
|
||||
.max_cpus = 1, // XXX for now
|
||||
};
|
||||
|
||||
@ -609,6 +607,5 @@ QEMUMachine niagara_machine = {
|
||||
.name = "Niagara",
|
||||
.desc = "Sun4v platform, Niagara",
|
||||
.init = niagara_init,
|
||||
.ram_require = PROM_SIZE_MAX + VGA_RAM_SIZE,
|
||||
.max_cpus = 1, // XXX for now
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user