VirtualBox

Changeset 56081 in vbox for trunk/src


Ignore:
Timestamp:
May 26, 2015 2:40:22 PM (10 years ago)
Author:
vboxsync
Message:

HMSVMR0/IOIO: fUpdateRipAlready

File:
1 edited

Legend:

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

    r56080 r56081  
    47774777
    47784778    VBOXSTRICTRC rcStrict;
     4779    bool fUpdateRipAlready = false;
    47794780    if (IoExitInfo.n.u1STR)
    47804781    {
     
    48234824            rcStrict = IEMExecOne(pVCpu);
    48244825        }
     4826        fUpdateRipAlready = true;
    48254827
    48264828#else
     
    48844886    {
    48854887        /* AMD-V saves the RIP of the instruction following the IO instruction in EXITINFO2. */
    4886         pCtx->rip = pVmcb->ctrl.u64ExitInfo2;
     4888        if (!fUpdateRipAlready)
     4889            pCtx->rip = pVmcb->ctrl.u64ExitInfo2;
    48874890
    48884891        /*
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