VirtualBox

Changeset 97181 in vbox for trunk


Ignore:
Timestamp:
Oct 17, 2022 9:38:57 PM (2 years ago)
Author:
vboxsync
Message:

VMM/CPUM,EM,HM,IEM,++: Moved VMCPU_FF_INHIBIT_INTERRUPTS and VMCPU_FF_BLOCK_NMIS to CPUMCTX::fInhibit. Moved ldtr and tr up to the CPUMCTXCORE area in hope for better cache alignment of rip, rflags and crX register fields. [scm fix] bugref:9941

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/cpum.h

    r97179 r97181  
    19201920/**
    19211921 * Checks if we're in an "interrupt shadow", i.e. after a STI, POP SS or MOV SS.
    1922  * 
     1922 *
    19231923 * This also inhibit NMIs, except perhaps for nested guests.
    1924  * 
    1925  * @returns true if interrupts are inhibited by interrupt shadow, false if not. 
     1924 *
     1925 * @returns true if interrupts are inhibited by interrupt shadow, false if not.
    19261926 * @param   pCtx    Current guest CPU context.
    19271927 * @note    Requires pCtx->rip to be up to date.
     
    19411941 * Checks if we're in an "interrupt shadow", i.e. after a STI, POPF or MOV SS,
    19421942 * updating the state if stale.
    1943  * 
     1943 *
    19441944 * This also inhibit NMIs, except perhaps for nested guests.
    1945  * 
     1945 *
    19461946 * @returns true if interrupts are inhibited by interrupt shadow, false if not.
    19471947 * @param   pCtx    Current guest CPU context.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette