[6201] CRIS: NMI wakes up the core.
Revision: 6201
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6201 Author: edgar_igl Date: 2009-01-07 12:36:06 +0000 (Wed, 07 Jan 2009)
Log Message:
-----------
CRIS: NMI wakes up the core.
Signed-off-by Edgar E. Iglesias <[email protected]>
Modified Paths:
--------------
trunk/target-cris/exec.h
Modified: trunk/target-cris/exec.h
===================================================================
target-cris/exec.h +4 -1
@@ -46,7 +46,10 @@static inline int cpu_halted (CPUState *env) {if (!env->halted)return 0 ; -if (env->interrupt_request &CPU_INTERRUPT_HARD ) { + +/* IRQ, NMI and GURU execeptions wakes us up. */ +if (env->interrupt_request + & (CPU_INTERRUPT_HARD |CPU_INTERRUPT_NMI )) { env->halted =0 ;return 0 ; }