Resume CPU for writing PC
This commit is contained in:
parent
ed90e98d81
commit
8fb4b45f57
@ -99,6 +99,12 @@ static int tcg_cpu_exec(struct uc_struct *uc)
|
||||
if (uc->quit_request) {
|
||||
// reset stop_request
|
||||
uc->stop_request = false;
|
||||
|
||||
// resume cpu
|
||||
cpu->halted = 0;
|
||||
cpu->exit_request = 0;
|
||||
cpu->exception_index = -1;
|
||||
cpu_resume(cpu);
|
||||
} else if (uc->stop_request) {
|
||||
//printf(">>> got STOP request!!!\n");
|
||||
finish = true;
|
||||
|
Loading…
Reference in New Issue
Block a user