Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKwxD-0001Ov-Fy for qemu-devel@nongnu.org; Wed, 16 Dec 2009 11:42:23 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKwx8-0001C7-O8 for qemu-devel@nongnu.org; Wed, 16 Dec 2009 11:42:22 -0500 Received: from [199.232.76.173] (port=43267 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKwx8-0001Ad-7M for qemu-devel@nongnu.org; Wed, 16 Dec 2009 11:42:18 -0500 Received: from mail-gx0-f223.google.com ([209.85.217.223]:42333) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NKwx7-0007aN-La for qemu-devel@nongnu.org; Wed, 16 Dec 2009 11:42:17 -0500 Received: by gxk23 with SMTP id 23so1231352gxk.2 for ; Wed, 16 Dec 2009 08:42:16 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: From: Artyom Tarasenko Date: Wed, 16 Dec 2009 17:41:56 +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. I gathered a little how-to here: http://tyom.blogspot.com/2009/12/solaris-under-qemu-how-to.html If the patches will made it into 0.12, I think it's worth to mention OBP and kadb boot support as a new feature. What do you think? Actually the shell-boot is also pretty close. We just need to fix the NF-bit handling in MMU. I'm experimenting with a real SS-20 to understand how it is supposed to work. (the MCC manual doesn't describe it clear enough, as you have pointed out before). -- Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/