VirtualBox

Changeset 56258 in vbox


Ignore:
Timestamp:
Jun 5, 2015 11:50:26 AM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
100830
Message:

IEM: Don't handle rIP specially in 16-bit mode.

File:
1 edited

Legend:

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

    r56061 r56258  
    49014901    pCtx->eflags.Bits.u1RF = 0;
    49024902
     4903    /* NB: Must be kept in sync with HM (xxxAdvanceGuestRip). */
    49034904    switch (pIemCpu->enmCpuMode)
    49044905    {
     4906        /** @todo investigate if EIP or RIP is really incremented. */
    49054907        case IEMMODE_16BIT:
    4906             Assert(pCtx->rip <= UINT16_MAX);
    4907             pCtx->eip += cbInstr;
    4908             pCtx->eip &= UINT32_C(0xffff);
    4909             break;
    4910 
    49114908        case IEMMODE_32BIT:
    49124909            pCtx->eip += cbInstr;
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