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) 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 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> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 6/9] sparc64: clear exception_index with -1 value List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@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