From patchwork Tue Jan 5 23:19:33 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Igor V. Kovalenko" X-Patchwork-Id: 42236 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DB9EDB6EF0 for ; Wed, 6 Jan 2010 12:02:54 +1100 (EST) Received: from localhost ([127.0.0.1]:50712 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSKIW-0007rK-39 for incoming@patchwork.ozlabs.org; Tue, 05 Jan 2010 20:02:52 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSIgf-0007Xa-4f for qemu-devel@nongnu.org; Tue, 05 Jan 2010 18:19:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSIga-0007Q8-4j for qemu-devel@nongnu.org; Tue, 05 Jan 2010 18:19:40 -0500 Received: from [199.232.76.173] (port=35316 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSIgZ-0007Pd-P0 for qemu-devel@nongnu.org; Tue, 05 Jan 2010 18:19:35 -0500 Received: from mail-fx0-f222.google.com ([209.85.220.222]:54407) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSIgZ-0008JO-5W for qemu-devel@nongnu.org; Tue, 05 Jan 2010 18:19:35 -0500 Received: by mail-fx0-f222.google.com with SMTP id 22so19469351fxm.2 for ; Tue, 05 Jan 2010 15:19:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:subject:to:from:date :message-id:in-reply-to:references:user-agent:mime-version :content-type:content-transfer-encoding; bh=EPvmfTiblQJQ6bx6skW3wclQKPE0FBh4Ql31S4tx1aI=; b=gbaW053PD4p+XL7J6yzMIAVFDRJIEKK+lZqBM9aqCrvPboTW00LlCD96mLUyzsmw9/ Ady2C6bfpRBMIEhgYSrLg5uSGBIE/FddcVyD+Auexzx+N5fJy5fta/h4NvRNpV83O2n/ xF1xhc2MaPAZSE/cnqXmKLgi7Eg7PRodxdHE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:to:from:date:message-id:in-reply-to:references:user-agent :mime-version:content-type:content-transfer-encoding; b=fwgFBwrbWTkpID7VM49eTZL5sSTzvL+FKgysRotP3WCGkWdX0KYvQRx6a1UlLXlOBq yMunEyauMO3Tz/7xagRbuekeV5bvbHGOJMR3Mhliyt8lCgntr3CdCzEo7r667qpxen6z P/kVkwTzFYu72RYL9fZ7uf2W6mN8TpSWxTzFY= Received: by 10.223.95.72 with SMTP id c8mr568851fan.73.1262733574676; Tue, 05 Jan 2010 15:19:34 -0800 (PST) Received: from skyserv (host-87-255-14-75.bigtelecom.ru [87.255.14.75]) by mx.google.com with ESMTPS id 15sm6697183fxm.2.2010.01.05.15.19.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 05 Jan 2010 15:19:34 -0800 (PST) Received: from localhost ([127.0.0.1] helo=[192.168.1.2]) by skyserv with esmtp (Exim 4.71) (envelope-from ) id 1NSIgX-0001lT-EY for qemu-devel@nongnu.org; Wed, 06 Jan 2010 02:19:33 +0300 To: qemu-devel@nongnu.org From: "Igor V. Kovalenko" Date: Wed, 06 Jan 2010 02:19:33 +0300 Message-ID: <20100105231933.6526.79032.stgit@skyserv> In-Reply-To: <20100105231558.6526.44483.stgit@skyserv> References: <20100105231558.6526.44483.stgit@skyserv> User-Agent: StGit/0.15 MIME-Version: 1.0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: [Qemu-devel] [PATCH 6/9] sparc64: clear exception_index with -1 value X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Igor V. Kovalenko Signed-off-by: Igor V. Kovalenko --- target-sparc/op_helper.c | 2 +- 1 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) env->tbr |= ((env->tl > 1) ? 1 << 14 : 0) | (intno << 5); env->pc = env->tbr; env->npc = env->pc + 4; - env->exception_index = 0; + env->exception_index = -1; } #else #ifdef DEBUG_PCALL