VirtualBox

Ignore:
Timestamp:
Jun 24, 2012 3:44:03 PM (12 years ago)
Author:
vboxsync
Message:

CPUM: Combined the visible and hidden selector register data into one structure. Preparing for lazily resolving+caching of hidden registers in raw-mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMRC/CPUMRC.cpp

    r41783 r41906  
    9595
    9696            pGstCtxCore->eip        = *pEsp++;
    97             pGstCtxCore->cs         = (RTSEL)*pEsp++;
     97            pGstCtxCore->cs.Sel     = (RTSEL)*pEsp++;
    9898            pGstCtxCore->eflags.u32 = *pEsp++;
    9999            pGstCtxCore->esp        = *pEsp++;
    100             pGstCtxCore->ss         = (RTSEL)*pEsp++;
     100            pGstCtxCore->ss.Sel     = (RTSEL)*pEsp++;
    101101            if (pGstCtxCore->eflags.Bits.u1VM)
    102102            {
    103                 pGstCtxCore->es    = (RTSEL)*pEsp++;
    104                 pGstCtxCore->ds    = (RTSEL)*pEsp++;
    105                 pGstCtxCore->fs    = (RTSEL)*pEsp++;
    106                 pGstCtxCore->gs    = (RTSEL)*pEsp++;
     103                pGstCtxCore->es.Sel = (RTSEL)*pEsp++;
     104                pGstCtxCore->ds.Sel = (RTSEL)*pEsp++;
     105                pGstCtxCore->fs.Sel = (RTSEL)*pEsp++;
     106                pGstCtxCore->gs.Sel = (RTSEL)*pEsp++;
    107107            }
    108108
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