* [Qemu-devel] [6200] CRIS: NMI wakes up the core.
@ 2009-01-07 12:35 Edgar E. Iglesias
0 siblings, 0 replies; only message in thread
From: Edgar E. Iglesias @ 2009-01-07 12:35 UTC (permalink / raw)
To: qemu-devel
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 <edgar.iglesias@gmail.com>
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:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-07 12:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-07 12:35 [Qemu-devel] [6200] CRIS: NMI wakes up the core Edgar E. Iglesias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).