From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HRS86-0002ka-4W for qemu-devel@nongnu.org; Wed, 14 Mar 2007 07:58:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HRS85-0002kO-1Q for qemu-devel@nongnu.org; Wed, 14 Mar 2007 07:58:53 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HRS84-0002kL-TM for qemu-devel@nongnu.org; Wed, 14 Mar 2007 06:58:52 -0500 Received: from khepri.openbios.org ([80.190.231.112]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HRS7B-0000Ar-PD for qemu-devel@nongnu.org; Wed, 14 Mar 2007 07:57:58 -0400 Received: from stepan by khepri.openbios.org with local (Exim 4.66) (envelope-from ) id 1HRS70-0002Pf-RM for qemu-devel@nongnu.org; Wed, 14 Mar 2007 12:57:46 +0100 Date: Wed, 14 Mar 2007 12:57:46 +0100 From: Stefan Reinauer Message-ID: <20070314115746.GA7525@coresystems.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH] vgabios and PCI data. 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 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit attached patch to vgabios-0.6a adds the pci data structure to vga-cirrus.bin This is needed to boot LinuxBIOSv3 with VGA enabled on Qemu It seems the vgabios project has stalled, so I am sending this patch to this list as well. Can you update the vga-cirrus.bin image to include this pci data structure? -- coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br. Tel.: +49 761 7668825 • Fax: +49 761 7664613 Email: info@coresystems.de • http://www.coresystems.de/ --SLDf9lqlvOQaIe6s Content-Type: text/x-patch; charset=us-ascii Content-Disposition: attachment; filename="vgabios-0.6a-pcidata.diff" --- vgabios-0.6a/vgabios.c 2006-07-10 09:47:51.000000000 +0200 +++ vgabios-0.6a.pci/vgabios.c 2007-03-12 17:08:06.000000000 +0100 @@ -149,16 +149,35 @@ jmp vgabios_init_func -vgabios_name: -.ascii "Plex86/Bochs VGABios" -.ascii " " -.byte 0x00 +.byte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 + +.word pci_data // Info from Bart Oldeman .org 0x1e .ascii "IBM" .byte 0x00 +vgabios_name: +.ascii "Plex86/Bochs VGABios" +.ascii " " +.byte 0x00 + + +// PCI data structure by Stefan Reinauer +pci_data: +.ascii "PCIR" // signature +.word 0x1013, 0x00b8 // vendor, device +.word 0x0000 // vpd +.word 0x0018 // pci data structure len +.byte 0x00 // pci data structure revision +.byte 0x00, 0x00, 0x03 // class code +.word 0x46 // image length +.word 0x0001 // image revision +.byte 0x00 // code type: x86 +.byte 0x80 // flags: last image in rom +.word 0x0000 // reserved + vgabios_version: #ifndef VGABIOS_VERS .ascii "current-cvs" --SLDf9lqlvOQaIe6s--