mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-21 06:13:54 +00:00
target-i386: Allow interrupt injection after STGI
We need to terminate the translation block after STGI so that pending interrupts can be injected. This fixes pending NMI injection for Jailhouse which uses "stgi; clgi" to open a brief injection window. Backports commit df2518aa587a0157bbfbc635fe47295629d9914a from qemu
This commit is contained in:
parent
7c01627388
commit
fab6f4cd3a
1 changed files with 2 additions and 1 deletions
|
|
@ -8074,8 +8074,9 @@ case 0x101:
|
|||
break;
|
||||
}
|
||||
gen_update_cc_op(s);
|
||||
gen_jmp_im(s, pc_start - s->cs_base);
|
||||
gen_helper_stgi(tcg_ctx, cpu_env);
|
||||
gen_jmp_im(s, s->pc - s->cs_base);
|
||||
gen_eob(s);
|
||||
break;
|
||||
|
||||
case 0xdd: /* CLGI */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue