Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fdyp6-0007bm-UF for qemu-devel@nongnu.org; Wed, 10 May 2006 20:14:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fdyp4-0007Zx-Um for qemu-devel@nongnu.org; Wed, 10 May 2006 20:14:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fdyp4-0007Zn-Ob for qemu-devel@nongnu.org; Wed, 10 May 2006 20:14:30 -0400 Received: from [68.230.240.33] (helo=eastrmmtao06.cox.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FdyqS-0003vV-Sr for qemu-devel@nongnu.org; Wed, 10 May 2006 20:15:57 -0400 Message-ID: <20631093.1147306467627.JavaMail.root@eastrmwml05.mgt.cox.net> Date: Wed, 10 May 2006 20:14:27 -0400 From: Ben Taylor Subject: Re: [Qemu-devel] PATCH: fix bgr color mapping on qemu on Solaris/SPARC MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Reply-To: sol10x86@cox.net, 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 ---- Fabrice Bellard wrote: > In order to stop the release of incomplete BGR patches, I am > implementing a more complete patch. I am just adding depth = 32 with BGR > instead of RGB. If other pixel formats are wanted, you should signal it now. I added an "int bgr;" to the displaystruct in vl.h, but that is now causing a core dump upon starting qemu with the rest of your patch. here's the back trace: #0 0x00033204 in console_show_cursor (s=0x11f95bd8, show=301554760) at vl.h:692 #1 0x0003373c in console_puts (chr=0x36, buf=0x140c18 "QEMU 0.8.1 monitor - type 'help' for more information\n", len=54) at /export/src/qemu/May10-V2/qemu-solaris/console.c:825 #2 0x00024eb8 in qemu_chr_write (s=0x36, buf=0x140c18 "QEMU 0.8.1 monitor - type 'help' for more information\n", len=54) at /export/src/qemu/May10-V2/qemu-solaris/vl.c:1096 #3 0x0002d208 in term_flush () at /export/src/qemu/May10-V2/qemu-solaris/monitor.c:72 #4 0x0002d27c in term_puts (str=0xffbfb78e "") at /export/src/qemu/May10-V2/qemu-solaris/monitor.c:88 #5 0x0002d2d0 in term_vprintf (fmt=0xfcd68 "QEMU %s monitor - type 'help' for more information\n", ap=0xffbfc820) at /export/src/qemu/May10-V2/qemu-solaris/monitor.c:96 #6 0x0002d304 in term_printf (fmt=0xfcd68 "QEMU %s monitor - type 'help' for more information\n") at /export/src/qemu/May10-V2/qemu-solaris/monitor.c:103 #7 0x00030470 in monitor_init (hd=0x11f82f38, show_banner=1) at /export/src/qemu/May10-V2/qemu-solaris/monitor.c:2288 #8 0x00029804 in main (argc=7, argv=0xffbff33c) at /export/src/qemu/May10-V2/qemu-solaris/vl.c:5658 Ideas? Ben