617 |
tb_reset_jump_recursive2(tb, 1); |
tb_reset_jump_recursive2(tb, 1); |
618 |
} |
} |
619 |
|
|
620 |
void cpu_interrupt(CPUState *env) |
/* mask must never be zero */ |
621 |
|
void cpu_interrupt(CPUState *env, int mask) |
622 |
{ |
{ |
623 |
TranslationBlock *tb; |
TranslationBlock *tb; |
624 |
|
|
625 |
env->interrupt_request = 1; |
env->interrupt_request |= mask; |
626 |
/* if the cpu is currently executing code, we must unlink it and |
/* if the cpu is currently executing code, we must unlink it and |
627 |
all the potentially executing TB */ |
all the potentially executing TB */ |
628 |
tb = env->current_tb; |
tb = env->current_tb; |