VirtualBox

Changeset 45558 in vbox for trunk/src


Ignore:
Timestamp:
Apr 15, 2013 8:09:57 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85046
Message:

VMM/VMMR0: bits.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r45557 r45558  
    49654965 * guest-CPU context.
    49664966 */
    4967 static int hmR0VmxSaveGuestGprs(PVMCPU pVCpu, PCPUMCTX pMixedCtx)
     4967static int hmR0VmxSaveGuestRipRspRflags(PVMCPU pVCpu, PCPUMCTX pMixedCtx)
    49684968{
    49694969    int rc = hmR0VmxSaveGuestRip(pVCpu, pMixedCtx);
     
    54345434    VMMRZCallRing3Disable(pVCpu);
    54355435
    5436     int rc = hmR0VmxSaveGuestGprs(pVCpu, pMixedCtx);
    5437     AssertLogRelMsgRCReturn(rc, ("hmR0VmxSaveGuestGprs failed! rc=%Rrc (pVCpu=%p)\n", rc, pVCpu), rc);
     5436    int rc = hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx);
     5437    AssertLogRelMsgRCReturn(rc, ("hmR0VmxSaveGuestRipRspRflags failed! rc=%Rrc (pVCpu=%p)\n", rc, pVCpu), rc);
    54385438
    54395439    rc = hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx);
     
    61976197            /* Save the required guest state bits from the VMCS. */
    61986198            rc  = hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx);
    6199             rc |= hmR0VmxSaveGuestGprs(pVCpu, pMixedCtx);
     6199            rc |= hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx);
    62006200            AssertRCReturn(rc, rc);
    62016201
     
    77727772            rc = hmR0VmxSaveGuestState(pVCpu, pMixedCtx);
    77737773#else
    7774             rc  = hmR0VmxSaveGuestGprs(pVCpu, pMixedCtx);
     7774            rc  = hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx);
    77757775            rc |= hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx);
    77767776            rc |= hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx);
     
    81348134#else
    81358135    /* Aggressive state sync. for now. */
    8136     rc  = hmR0VmxSaveGuestGprs(pVCpu, pMixedCtx);
     8136    rc  = hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx);
    81378137    rc |= hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx);
    81388138    rc |= hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx);
     
    82898289#else
    82908290    /* Aggressive state sync. for now. */
    8291     rc |= hmR0VmxSaveGuestGprs(pVCpu, pMixedCtx);
     8291    rc |= hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx);
    82928292    rc |= hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx);
    82938293    rc |= hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx);
     
    83418341#else
    83428342    /* Aggressive state sync. for now. */
    8343     rc |= hmR0VmxSaveGuestGprs(pVCpu, pMixedCtx);
     8343    rc |= hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx);
    83448344    rc |= hmR0VmxSaveGuestControlRegs(pVCpu, pMixedCtx);
    83458345    rc |= hmR0VmxSaveGuestSegmentRegs(pVCpu, pMixedCtx);
Note: See TracChangeset for help on using the changeset viewer.

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