Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LKXcs-0007n9-F2 for qemu-devel@nongnu.org; Wed, 07 Jan 2009 07:35:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LKXcr-0007mR-JO for qemu-devel@nongnu.org; Wed, 07 Jan 2009 07:35:09 -0500 Received: from [199.232.76.173] (port=50566 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKXcr-0007mG-Dl for qemu-devel@nongnu.org; Wed, 07 Jan 2009 07:35:09 -0500 Received: from savannah.gnu.org ([199.232.41.3]:34823 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LKXcr-0006RR-6h for qemu-devel@nongnu.org; Wed, 07 Jan 2009 07:35:09 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LKXcq-0005Ya-KS for qemu-devel@nongnu.org; Wed, 07 Jan 2009 12:35:08 +0000 Received: from edgar_igl by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LKXcq-0005YW-CB for qemu-devel@nongnu.org; Wed, 07 Jan 2009 12:35:08 +0000 MIME-Version: 1.0 Errors-To: edgar_igl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: "Edgar E. Iglesias" Message-Id: Date: Wed, 07 Jan 2009 12:35:08 +0000 Subject: [Qemu-devel] [6200] CRIS: NMI wakes up the core. 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 Revision: 6200 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6200 Author: edgar_igl Date: 2009-01-07 12:35:08 +0000 (Wed, 07 Jan 2009) Log Message: ----------- CRIS: NMI wakes up the core. Signed-off-by: Edgar E. Iglesias Modified Paths: -------------- trunk/target-cris/translate.c Modified: trunk/target-cris/translate.c =================================================================== --- trunk/target-cris/translate.c 2009-01-07 12:27:46 UTC (rev 6199) +++ trunk/target-cris/translate.c 2009-01-07 12:35:08 UTC (rev 6200) @@ -2979,8 +2979,12 @@ { cris_cc_mask(dc, 0); - if (dc->op2 == 15) /* ignore halt. */ + if (dc->op2 == 15) { + t_gen_mov_env_TN(halted, tcg_const_tl(1)); + tcg_gen_movi_tl(env_pc, dc->pc + 2); + t_gen_raise_exception(EXCP_HLT); return 2; + } switch (dc->op2 & 7) { case 2: