Revision f32fc648 cpu-exec.c

b/cpu-exec.c
627 627
                   jump. */
628 628
                {
629 629
                    if (T0 != 0 &&
630
#if USE_KQEMU
631
                        (env->kqemu_enabled != 2) &&
632
#endif
630 633
                        tb->page_addr[1] == -1
631 634
#if defined(TARGET_I386) && defined(USE_CODE_COPY)
632 635
                    && (tb->cflags & CF_CODE_COPY) == 
......
756 759
                    T0 = 0;
757 760
                }
758 761
#endif
762
#if defined(USE_KQEMU)
763
#define MIN_CYCLE_BEFORE_SWITCH (100 * 1000)
764
                if (kqemu_is_ok(env) &&
765
                    (cpu_get_time_fast() - env->last_io_time) >= MIN_CYCLE_BEFORE_SWITCH) {
766
                    cpu_loop_exit();
767
                }
768
#endif
759 769
            }
760 770
        } else {
761 771
            env_to_regs();

Also available in: Unified diff