From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYOqW-0003dp-MW for qemu-devel@nongnu.org; Wed, 27 Aug 2008 13:30:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYOqV-0003dS-8v for qemu-devel@nongnu.org; Wed, 27 Aug 2008 13:30:16 -0400 Received: from [199.232.76.173] (port=49860 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYOqV-0003dO-1q for qemu-devel@nongnu.org; Wed, 27 Aug 2008 13:30:15 -0400 Received: from csl.cornell.edu ([128.84.224.10]:4214 helo=vlsi.csl.cornell.edu) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KYOqU-0006cU-MS for qemu-devel@nongnu.org; Wed, 27 Aug 2008 13:30:14 -0400 Received: from stanley.csl.cornell.edu (stanley.csl.cornell.edu [128.84.224.15]) by vlsi.csl.cornell.edu (8.13.4/8.13.4) with ESMTP id m7RHU8IE072057 for ; Wed, 27 Aug 2008 13:30:13 -0400 (EDT) Date: Wed, 27 Aug 2008 13:30:08 -0400 (EDT) From: Vince Weaver Subject: Re: [Qemu-devel] linux-user exception handling In-Reply-To: Message-ID: <20080827132255.U54074@stanley.csl.cornell.edu> References: <20080825162105.T45325@stanley.csl.cornell.edu> <20080827125223.H53558@stanley.csl.cornell.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: 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 On Wed, 27 Aug 2008, Blue Swirl wrote: > > How is that possible, because V9 class CPUs do not have "wim"? I am running v8plus binaries, which are a horrible mix of v8 and v9 code. But you are right, "wim" was deleted for v9. The reason I did the code the way I did was because the restore_window() function was updating the register (even on sparc64). So I guess the real fix is to implement proper save_window() and restore_window(), and also flush_window(). Then make sure that "ta 3" on v9 calls the proper flush_window() code. As a temporary workaround though the patch I posted seems to work. Vince