Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWB0D-0004CJ-85 for qemu-devel@nongnu.org; Sun, 08 Feb 2009 09:51:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWB0C-0004Bx-Ml for qemu-devel@nongnu.org; Sun, 08 Feb 2009 09:51:20 -0500 Received: from [199.232.76.173] (port=48202 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWB0C-0004Bq-Ik for qemu-devel@nongnu.org; Sun, 08 Feb 2009 09:51:20 -0500 Received: from savannah.gnu.org ([199.232.41.3]:37379 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWB0C-0007lO-7D for qemu-devel@nongnu.org; Sun, 08 Feb 2009 09:51:20 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LWB0B-0005Jz-Mp for qemu-devel@nongnu.org; Sun, 08 Feb 2009 14:51:19 +0000 Received: from aurel32 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LWB0B-0005Jv-Eu for qemu-devel@nongnu.org; Sun, 08 Feb 2009 14:51:19 +0000 MIME-Version: 1.0 Errors-To: aurel32 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Aurelien Jarno Message-Id: Date: Sun, 08 Feb 2009 14:51:19 +0000 Subject: [Qemu-devel] [6557] Additional VGA options for MIPS Malta Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 6557 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6557 Author: aurel32 Date: 2009-02-08 14:51:19 +0000 (Sun, 08 Feb 2009) Log Message: ----------- Additional VGA options for MIPS Malta Support all kinds of pci vga cards (including none) Signed-off-by: Stefan Weil Signed-off-by: Aurelien Jarno Modified Paths: -------------- trunk/Makefile.target trunk/hw/mips_malta.c trunk/qemu-doc.texi Modified: trunk/Makefile.target =================================================================== --- trunk/Makefile.target 2009-02-08 14:46:17 UTC (rev 6556) +++ trunk/Makefile.target 2009-02-08 14:51:19 UTC (rev 6557) @@ -614,6 +614,7 @@ OBJS+= piix_pci.o parallel.o cirrus_vga.o pcspk.o $(SOUND_HW) OBJS+= mipsnet.o OBJS+= pflash_cfi01.o +OBJS+= vmware_vga.o CPPFLAGS += -DHAS_AUDIO -DHAS_AUDIO_CHOICE endif ifeq ($(TARGET_BASE_ARCH), cris) Modified: trunk/hw/mips_malta.c =================================================================== --- trunk/hw/mips_malta.c 2009-02-08 14:46:17 UTC (rev 6556) +++ trunk/hw/mips_malta.c 2009-02-08 14:51:19 UTC (rev 6557) @@ -941,8 +941,16 @@ 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 = { Modified: trunk/qemu-doc.texi =================================================================== --- trunk/qemu-doc.texi 2009-02-08 14:46:17 UTC (rev 6556) +++ trunk/qemu-doc.texi 2009-02-08 14:51:19 UTC (rev 6557) @@ -2700,7 +2700,7 @@ @item Malta FPGA serial device @item -Cirrus VGA graphics card +Cirrus (default) or any other PCI VGA graphics card @end itemize The ACER Pica emulation supports: