Revision 69b5cae1
b/target-cris/exec.h | ||
---|---|---|
46 | 46 |
static inline int cpu_halted(CPUState *env) { |
47 | 47 |
if (!env->halted) |
48 | 48 |
return 0; |
49 |
if (env->interrupt_request & CPU_INTERRUPT_HARD) { |
|
49 |
|
|
50 |
/* IRQ, NMI and GURU execeptions wakes us up. */ |
|
51 |
if (env->interrupt_request |
|
52 |
& (CPU_INTERRUPT_HARD | CPU_INTERRUPT_NMI)) { |
|
50 | 53 |
env->halted = 0; |
51 | 54 |
return 0; |
52 | 55 |
} |
Also available in: Unified diff