VirtualBox

Changeset 19749 in vbox


Ignore:
Timestamp:
May 15, 2009 4:13:17 PM (16 years ago)
Author:
vboxsync
Message:

Same applies to the rem instruction emulator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/EM.cpp

    r19747 r19749  
    953953        CPUMSetChangedFlags(pVCpu, CPUM_CHANGED_ALL);
    954954    }
    955 
    956955    pVM->em.s.idLastRemCpu = pVCpu->idCpu;
    957956
     
    14661465    Log(("EMINS: %04x:%RGv RSP=%RGv\n", pCtx->cs, (RTGCPTR)pCtx->rip, (RTGCPTR)pCtx->rsp));
    14671466    emR3RemLock(pVM);
     1467    /* Flush the recompiler TLB if the VCPU has changed. */
     1468    if (pVM->em.s.idLastRemCpu != pVCpu->idCpu)
     1469        CPUMSetChangedFlags(pVCpu, CPUM_CHANGED_ALL);
     1470    pVM->em.s.idLastRemCpu = pVCpu->idCpu;
     1471
    14681472    rc = REMR3EmulateInstruction(pVM, pVCpu);
    14691473    emR3RemUnlock(pVM);
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