void tb_check_watchpoint(CPUState *cpu)

{

    TranslationBlock *tb;



    tb = tb_find_pc(cpu->mem_io_pc);

    if (!tb) {

        cpu_abort(cpu, "check_watchpoint: could not find TB for pc=%p",

                  (void *)cpu->mem_io_pc);

    }

    cpu_restore_state_from_tb(cpu, tb, cpu->mem_io_pc);

    tb_phys_invalidate(tb, -1);

}

void tb_check_watchpoint(CPUState *cpu)

{

    TranslationBlock *tb;



    tb = tb_find_pc(cpu->mem_io_pc);

    if (!tb) {

        cpu_abort(cpu, "check_watchpoint: could not find TB for pc=%p",

                  (void *)cpu->mem_io_pc);

    }

    cpu_restore_state_from_tb(cpu, tb, cpu->mem_io_pc);

    tb_phys_invalidate(tb, -1);

}

void FUNC_0(CPUState *VAR_0)

{

    TranslationBlock *tb;



    tb = tb_find_pc(VAR_0->mem_io_pc);

    if (!tb) {

        cpu_abort(VAR_0, "check_watchpoint: could not find TB for pc=%p",

                  (void *)VAR_0->mem_io_pc);

    }

    cpu_restore_state_from_tb(VAR_0, tb, VAR_0->mem_io_pc);

    tb_phys_invalidate(tb, -1);

}

void FUNC_0(CPUState *VAR_0)
{ TranslationBlock *tb; tb = tb_find_pc(VAR_0->mem_io_pc); if (!tb) { cpu_abort(VAR_0, "check_watchpoint: could not find TB for pc=%p",
(void *)VAR_0->mem_io_pc); } cpu_restore_state_from_tb(VAR_0, tb, VAR_0->mem_io_pc); tb_phys_invalidate(tb, -1); }