VirtualBox

Changeset 97185 in vbox for trunk/include


Ignore:
Timestamp:
Oct 17, 2022 10:30:50 PM (2 years ago)
Author:
vboxsync
Message:

VMM/CPUM,HMVMX,IEM: Use the individual CPUMCTX_INHIBIT_SHADOW_SS and CPUMCTX_INHIBIT_SHADOW_STI flags with IEM (only setting), VT-x and NEM/kvm. [gcc build fix] bugref:9941

File:
1 edited

Legend:

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

    r97184 r97185  
    21242124    else
    21252125    {
    2126         pCtx->fInhibit |= (fInhibitedBySs  ? CPUMCTX_INHIBIT_SHADOW_SS  : 0)
    2127                        |  (fInhibitedBySti ? CPUMCTX_INHIBIT_SHADOW_STI : 0);
     2126        pCtx->fInhibit |= (fInhibitedBySs  ? CPUMCTX_INHIBIT_SHADOW_SS  : (uint8_t)0)
     2127                       |  (fInhibitedBySti ? CPUMCTX_INHIBIT_SHADOW_STI : (uint8_t)0);
    21282128        pCtx->uRipInhibitInt = rip;
    21292129    }
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