VirtualBox

Changeset 61010 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
May 17, 2016 6:07:49 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
107268
Message:

iemCImpl_retn: Use iemRegAddToRspEx which takes a 16-bit addend instead of iemRegAddToRsp which only takes a 8-bit one. (Found by verifier booting xpsp3, encountered a 'retn 204h' instruction.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h

    r60881 r61010  
    25252525    }
    25262526
     2527    /* Apply cbPop */
     2528    if (cbPop)
     2529        iemRegAddToRspEx(pIemCpu, pCtx, &NewRsp, cbPop);
     2530
    25272531    /* Commit it. */
    25282532    pCtx->rip = NewRip.u;
    25292533    pCtx->rsp = NewRsp.u;
    2530     if (cbPop)
    2531         iemRegAddToRsp(pIemCpu, pCtx, cbPop);
    25322534    pCtx->eflags.Bits.u1RF = 0;
    25332535
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