VirtualBox

Changeset 52859 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 25, 2014 11:55:18 AM (10 years ago)
Author:
vboxsync
Message:

IEM: Inter-ring RETF stack fix.

File:
1 edited

Legend:

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

    r52465 r52859  
    15891589        if (enmEffOpSize == IEMMODE_16BIT)
    15901590        {
    1591             uNewOuterRsp = uPtrFrame.pu16[0];
    1592             uNewOuterSs  = uPtrFrame.pu16[1];
     1591            uNewOuterRsp = uPtrStack.pu16[0];
     1592            uNewOuterSs  = uPtrStack.pu16[1];
    15931593        }
    15941594        else if (enmEffOpSize == IEMMODE_32BIT)
    15951595        {
    1596             uNewOuterRsp = uPtrFrame.pu32[0];
    1597             uNewOuterSs  = uPtrFrame.pu16[2];
     1596            uNewOuterRsp = uPtrStack.pu32[0];
     1597            uNewOuterSs  = uPtrStack.pu16[2];
    15981598        }
    15991599        else
    16001600        {
    1601             uNewOuterRsp = uPtrFrame.pu64[0];
    1602             uNewOuterSs  = uPtrFrame.pu16[4];
     1601            uNewOuterRsp = uPtrStack.pu64[0];
     1602            uNewOuterSs  = uPtrStack.pu16[4];
    16031603        }
    16041604
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