Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HXMSz-0005Tl-DZ for qemu-devel@nongnu.org; Fri, 30 Mar 2007 15:08:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HXMSx-0005Gn-7z for qemu-devel@nongnu.org; Fri, 30 Mar 2007 15:08:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HXMSx-0005Fq-07 for qemu-devel@nongnu.org; Fri, 30 Mar 2007 14:08:51 -0500 Received: from eastrmmtao107.cox.net ([68.230.240.59]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HXMQD-00035S-Mo for qemu-devel@nongnu.org; Fri, 30 Mar 2007 15:06:01 -0400 Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao107.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070330190600.GXR6651.eastrmmtao107.cox.net@eastrmimpo02.cox.net> for ; Fri, 30 Mar 2007 15:06:00 -0400 Message-ID: <16210675.1175281558987.JavaMail.root@eastrmwml05.mgt.cox.net> Date: Fri, 30 Mar 2007 15:05:58 -0400 From: Ben Taylor MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_5628_18076874.1175281558961" Subject: [Qemu-devel] PATCH: Solaris kqemu.c 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 ------=_Part_5628_18076874.1175281558961 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit This patch further isolates the functions needed for kqemu.c by Solaris. The original include has the unintended side effect of screwing up the mips targets on Solaris 9/x86 because there are some defines that get included via sys/modctl.h that change how the CPU structure in the mips-target/cpu.h file is processed. (Bascially, the PC variable name gets changed to 14, which completely botches the compile). Kudos to Juergen Keil for another smart fix. ------=_Part_5628_18076874.1175281558961 Content-Type: application/octet-stream; name=qemu-kqemu.c-diff Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=qemu-kqemu.c-diff --- qemu.ORIG/kqemu.c 2007-03-25 11:14:07.000000000 -0500 +++ qemu/kqemu.c 2007-03-30 10:59:28.876896000 -0500 @@ -27,7 +27,7 @@ #include #endif #ifdef HOST_SOLARIS -#include +#include #endif #include #include ------=_Part_5628_18076874.1175281558961--