|
@@ -941,8 +941,16 @@ void mips_malta_init (ram_addr_t ram_size, int vga_ram_size,
|
|
|
network_init(pci_bus);
|
|
|
|
|
|
/* Optional PCI video card */
|
|
|
- pci_cirrus_vga_init(pci_bus, phys_ram_base + ram_size,
|
|
|
+ if (cirrus_vga_enabled) {
|
|
|
+ pci_cirrus_vga_init(pci_bus, phys_ram_base + ram_size,
|
|
|
+ ram_size, vga_ram_size);
|
|
|
+ } else if (vmsvga_enabled) {
|
|
|
+ pci_vmsvga_init(pci_bus, phys_ram_base + ram_size,
|
|
|
ram_size, vga_ram_size);
|
|
|
+ } else if (std_vga_enabled) {
|
|
|
+ pci_vga_init(pci_bus, phys_ram_base + ram_size,
|
|
|
+ ram_size, vga_ram_size, 0, 0);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
QEMUMachine mips_malta_machine = {
|