Revision eda48c34 cpu-exec.c
b/cpu-exec.c | ||
---|---|---|
208 | 208 |
uint8_t *tc_ptr; |
209 | 209 |
unsigned long next_tb; |
210 | 210 |
|
211 |
if (cpu_halted(env1) == EXCP_HALTED) |
|
212 |
return EXCP_HALTED; |
|
211 |
if (env1->halted) { |
|
212 |
if (!cpu_has_work(env1)) { |
|
213 |
return EXCP_HALTED; |
|
214 |
} |
|
215 |
|
|
216 |
env1->halted = 0; |
|
217 |
} |
|
213 | 218 |
|
214 | 219 |
cpu_single_env = env1; |
215 | 220 |
|
Also available in: Unified diff