static void cpu_exec_step(CPUState *cpu)

{

    CPUClass *cc = CPU_GET_CLASS(cpu);

    TranslationBlock *tb;

    target_ulong cs_base, pc;

    uint32_t flags;

    uint32_t cflags = 1 | CF_IGNORE_ICOUNT;



    if (sigsetjmp(cpu->jmp_env, 0) == 0) {

        tb = tb_lookup__cpu_state(cpu, &pc, &cs_base, &flags,

                                  cflags & CF_HASH_MASK);

        if (tb == NULL) {

            mmap_lock();

            tb_lock();

            tb = tb_gen_code(cpu, pc, cs_base, flags, cflags);

            tb_unlock();

            mmap_unlock();

        }



        cc->cpu_exec_enter(cpu);

        /* execute the generated code */

        trace_exec_tb(tb, pc);

        cpu_tb_exec(cpu, tb);

        cc->cpu_exec_exit(cpu);

    } else {

        /* We may have exited due to another problem here, so we need

         * to reset any tb_locks we may have taken but didn't release.

         * The mmap_lock is dropped by tb_gen_code if it runs out of

         * memory.

         */

#ifndef CONFIG_SOFTMMU

        tcg_debug_assert(!have_mmap_lock());

#endif

        tb_lock_reset();

    }

}

static void cpu_exec_step(CPUState *cpu)

{

    CPUClass *cc = CPU_GET_CLASS(cpu);

    TranslationBlock *tb;

    target_ulong cs_base, pc;

    uint32_t flags;

    uint32_t cflags = 1 | CF_IGNORE_ICOUNT;



    if (sigsetjmp(cpu->jmp_env, 0) == 0) {

        tb = tb_lookup__cpu_state(cpu, &pc, &cs_base, &flags,

                                  cflags & CF_HASH_MASK);

        if (tb == NULL) {

            mmap_lock();

            tb_lock();

            tb = tb_gen_code(cpu, pc, cs_base, flags, cflags);

            tb_unlock();

            mmap_unlock();

        }



        cc->cpu_exec_enter(cpu);

        

        trace_exec_tb(tb, pc);

        cpu_tb_exec(cpu, tb);

        cc->cpu_exec_exit(cpu);

    } else {

        









#ifndef CONFIG_SOFTMMU

        tcg_debug_assert(!have_mmap_lock());

#endif

        tb_lock_reset();

    }

}

static void FUNC_0(CPUState *VAR_0)

{

    CPUClass *cc = CPU_GET_CLASS(VAR_0);

    TranslationBlock *tb;

    target_ulong cs_base, pc;

    uint32_t flags;

    uint32_t cflags = 1 | CF_IGNORE_ICOUNT;



    if (sigsetjmp(VAR_0->jmp_env, 0) == 0) {

        tb = tb_lookup__cpu_state(VAR_0, &pc, &cs_base, &flags,

                                  cflags & CF_HASH_MASK);

        if (tb == NULL) {

            mmap_lock();

            tb_lock();

            tb = tb_gen_code(VAR_0, pc, cs_base, flags, cflags);

            tb_unlock();

            mmap_unlock();

        }



        cc->cpu_exec_enter(VAR_0);

        

        trace_exec_tb(tb, pc);

        cpu_tb_exec(VAR_0, tb);

        cc->cpu_exec_exit(VAR_0);

    } else {

        









#ifndef CONFIG_SOFTMMU

        tcg_debug_assert(!have_mmap_lock());

#endif

        tb_lock_reset();

    }

}

static void FUNC_0(CPUState *VAR_0)
{ CPUClass *cc = CPU_GET_CLASS(VAR_0); TranslationBlock *tb; target_ulong cs_base, pc; uint32_t flags; uint32_t cflags = 1 | CF_IGNORE_ICOUNT; if (sigsetjmp(VAR_0->jmp_env, 0) == 0) { tb = tb_lookup__cpu_state(VAR_0, &pc, &cs_base, &flags,
cflags & CF_HASH_MASK); if (tb == NULL) { mmap_lock(); tb_lock(); tb = tb_gen_code(VAR_0, pc, cs_base, flags, cflags); tb_unlock(); mmap_unlock(); } cc->cpu_exec_enter(VAR_0); trace_exec_tb(tb, pc); cpu_tb_exec(VAR_0, tb); cc->cpu_exec_exit(VAR_0); } else { #ifndef CONFIG_SOFTMMU
tcg_debug_assert(!have_mmap_lock()); #endif
tb_lock_reset(); } }