From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSfKG-0006Xh-Lg for qemu-devel@nongnu.org; Wed, 06 Jan 2010 18:30:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSfKC-0006Vf-PJ for qemu-devel@nongnu.org; Wed, 06 Jan 2010 18:30:04 -0500 Received: from [199.232.76.173] (port=56608 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSfKC-0006VZ-KI for qemu-devel@nongnu.org; Wed, 06 Jan 2010 18:30:00 -0500 Received: from mail-gx0-f212.google.com ([209.85.217.212]:43054) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSfKB-0000ZQ-FZ for qemu-devel@nongnu.org; Wed, 06 Jan 2010 18:29:59 -0500 Received: by gxk4 with SMTP id 4so18221986gxk.17 for ; Wed, 06 Jan 2010 15:29:58 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <20100105231558.6526.44483.stgit@skyserv> <20100105231933.6526.79032.stgit@skyserv> From: Artyom Tarasenko Date: Thu, 7 Jan 2010 00:29:37 +0100 Message-ID: Subject: Re: [Qemu-devel] [PATCH 6/9] sparc64: clear exception_index with -1 value Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org What's the effect of the patch? Don't we need it for sparc32 too? The code looks similar. 2010/1/6 Blue Swirl : > Thanks, applied. > > On Tue, Jan 5, 2010 at 11:19 PM, Igor V. Kovalenko > wrote: >> From: Igor V. Kovalenko >> >> Signed-off-by: Igor V. Kovalenko >> --- >> =A0target-sparc/op_helper.c | =A0 =A02 +- >> =A01 files changed, 1 insertions(+), 1 deletions(-) >> >> diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c >> index b1978cb..94f1c7a 100644 >> --- a/target-sparc/op_helper.c >> +++ b/target-sparc/op_helper.c >> @@ -3535,7 +3535,7 @@ void do_interrupt(CPUState *env) >> =A0 =A0 env->tbr |=3D ((env->tl > 1) ? 1 << 14 : 0) | (intno << 5); >> =A0 =A0 env->pc =3D env->tbr; >> =A0 =A0 env->npc =3D env->pc + 4; >> - =A0 =A0env->exception_index =3D 0; >> + =A0 =A0env->exception_index =3D -1; >> =A0} >> =A0#else >> =A0#ifdef DEBUG_PCALL >> >> >> >> > > > --=20 Regards, Artyom Tarasenko solaris/sparc under qemu blog: http://tyom.blogspot.com/