Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NEq64-0004u5-Pt for qemu-devel@nongnu.org; Sun, 29 Nov 2009 15:10:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NEq5z-0004td-A2 for qemu-devel@nongnu.org; Sun, 29 Nov 2009 15:10:15 -0500 Received: from [199.232.76.173] (port=40548 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEq5z-0004ta-47 for qemu-devel@nongnu.org; Sun, 29 Nov 2009 15:10:11 -0500 Received: from ol.freeshell.org ([192.94.73.20]:64515 helo=sdf.lonestar.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NEq5y-0000wm-JH for qemu-devel@nongnu.org; Sun, 29 Nov 2009 15:10:10 -0500 Date: Sun, 29 Nov 2009 20:09:26 +0000 (UTC) From: Palle Lyckegaard Subject: Re: [Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) host In-Reply-To: <31AD0DD4-C9DD-4E2D-B170-DD5509F856B3@web.de> Message-ID: References: <05379AA9-7848-4BFE-BA2D-D2B4799A0099@web.de> <31AD0DD4-C9DD-4E2D-B170-DD5509F856B3@web.de> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1383082748-1259525366=:13200" List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?ISO-8859-15?Q?Andreas_F=E4rber?= Cc: qemu-devel@nongnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1383082748-1259525366=:13200 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sun, 29 Nov 2009, Andreas F=E4rber wrote: > I.e. if unavoidable, instead of #define PSR_XXX 123 one might need to #de= fine=20 > TARGET_PSR_XXX 123 and change *all* uses of PSR_XXX to TARGET_PSR_XXX, so= =20 > that Sun's and QEMU's definitions can live side by side. If your approach= or=20 > #undef works correctly, that would seem less intrusive, therefore my=20 > question. > So far I've located only the definitions FSR_FCC1 and FPSR_FEF as being=20 differently defined in qemu and OpenSolaris SPARC. In order to be as little intrusive as possible I will rework my patch for= =20 the cpu.h file so - where the definitions in qemu and Solaris are equal: guard with an "if=20 !defined(CONFIG_SOLARIS)" - where the definitions in qemu and Solaris are not equal: add a TARGET_=20 prefix to the definitions /Palle --0-1383082748-1259525366=:13200--