Revision 21b20814
b/cpu-exec.c | ||
---|---|---|
420 | 420 |
#if defined(TARGET_I386) |
421 | 421 |
&& env->hflags & HF_GIF_MASK |
422 | 422 |
#endif |
423 |
&& !(env->singlestep_enabled & SSTEP_NOIRQ)) {
|
|
423 |
&& likely(!(env->singlestep_enabled & SSTEP_NOIRQ))) {
|
|
424 | 424 |
if (interrupt_request & CPU_INTERRUPT_DEBUG) { |
425 | 425 |
env->interrupt_request &= ~CPU_INTERRUPT_DEBUG; |
426 | 426 |
env->exception_index = EXCP_DEBUG; |
b/vl.c | ||
---|---|---|
7032 | 7032 |
qemu_aio_poll(); |
7033 | 7033 |
|
7034 | 7034 |
if (vm_running) { |
7035 |
if (!(cur_cpu->singlestep_enabled & SSTEP_NOTIMER))
|
|
7035 |
if (likely(!(cur_cpu->singlestep_enabled & SSTEP_NOTIMER)))
|
|
7036 | 7036 |
qemu_run_timers(&active_timers[QEMU_TIMER_VIRTUAL], |
7037 | 7037 |
qemu_get_clock(vm_clock)); |
7038 | 7038 |
/* run dma transfers, if any */ |
... | ... | |
7040 | 7040 |
} |
7041 | 7041 |
|
7042 | 7042 |
/* real time timers */ |
7043 |
if (!(cur_cpu->singlestep_enabled & SSTEP_NOTIMER)) |
|
7044 | 7043 |
qemu_run_timers(&active_timers[QEMU_TIMER_REALTIME], |
7045 | 7044 |
qemu_get_clock(rt_clock)); |
7046 | 7045 |
|
Also available in: Unified diff