mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
target/i386: Moved int_ctl into CPUX86State structure
Moved int_ctl into the CPUX86State structure. It removes some unnecessary stores and loads, and prepares for tracking the vIRQ state even when it is masked due to vGIF. Signed-off-by: Lara Lazier <laramglazier@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
900eeca579
commit
e3126a5c92
6 changed files with 41 additions and 38 deletions
|
@ -1578,6 +1578,7 @@ typedef struct CPUX86State {
|
|||
uint64_t nested_cr3;
|
||||
uint32_t nested_pg_mode;
|
||||
uint8_t v_tpr;
|
||||
uint32_t int_ctl;
|
||||
|
||||
/* KVM states, automatically cleared on reset */
|
||||
uint8_t nmi_injected;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue