
committed by
Nguyen Anh Quynh

parent
b93ca7f565
commit
ae6ea3b91d
@ -11113,7 +11113,7 @@ void gen_intermediate_code_internal_a64(ARMCPU *cpu,
|
|||||||
// imitate WFI instruction to halt emulation
|
// imitate WFI instruction to halt emulation
|
||||||
gen_tb_start(tcg_ctx);
|
gen_tb_start(tcg_ctx);
|
||||||
dc->is_jmp = DISAS_WFI;
|
dc->is_jmp = DISAS_WFI;
|
||||||
goto done_generating;
|
goto tb_end;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Unicorn: trace this block on request
|
// Unicorn: trace this block on request
|
||||||
@ -11209,6 +11209,7 @@ void gen_intermediate_code_internal_a64(ARMCPU *cpu,
|
|||||||
// gen_io_end();
|
// gen_io_end();
|
||||||
//}
|
//}
|
||||||
|
|
||||||
|
tb_end:
|
||||||
if (unlikely(cs->singlestep_enabled || dc->ss_active)
|
if (unlikely(cs->singlestep_enabled || dc->ss_active)
|
||||||
&& dc->is_jmp != DISAS_EXC) {
|
&& dc->is_jmp != DISAS_EXC) {
|
||||||
/* Note that this means single stepping WFI doesn't halt the CPU.
|
/* Note that this means single stepping WFI doesn't halt the CPU.
|
||||||
|
Reference in New Issue
Block a user