From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N69Gc-0002zE-CB for qemu-devel@nongnu.org; Thu, 05 Nov 2009 15:49:14 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N69GX-0002wU-Kx for qemu-devel@nongnu.org; Thu, 05 Nov 2009 15:49:13 -0500 Received: from [199.232.76.173] (port=33684 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N69GX-0002wP-Hk for qemu-devel@nongnu.org; Thu, 05 Nov 2009 15:49:09 -0500 Received: from mail-yw0-f176.google.com ([209.85.211.176]:33980) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N69GX-00027p-8y for qemu-devel@nongnu.org; Thu, 05 Nov 2009 15:49:09 -0500 Received: by ywh6 with SMTP id 6so359406ywh.4 for ; Thu, 05 Nov 2009 12:49:08 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Artyom Tarasenko Date: Thu, 5 Nov 2009 21:48:48 +0100 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Subject: [Qemu-devel] Re: [PATCH] sparc32 fix carry flag handling (Solaris bootblk fix) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel 2009/11/4 Blue Swirl : > On Wed, Nov 4, 2009 at 1:58 AM, Artyom Tarasenko > wrote: >> The page 108 of the SPARC Version 8 Architecture Manual describes >> that addcc and addxcc shall compute carry flag the same way. >> The page 110 claims the same about subcc and subxcc instructions. >> This patch fixes carry computation in corner cases and removes redundant code. >> The most visible effect of the patch is enabling Solaris boot when using OBP. > > Thanks, applied. > > Could you describe the steps how to boot Solaris with OBP? I'm sure > there are a lot of people who'd like to test if their favorite Sparc > Solaris programs work on QEMU. Gonna do it, but need to clean up first. Currently it's still not possible with vanilla qemu. I have some more and less ugly hacks but not all of them are necessary. Need to sort out which are still needed. Artyom