VirtualBox

Changeset 56628 in vbox for trunk/src/VBox/VMM/VMMR3/EM.cpp


Ignore:
Timestamp:
Jun 24, 2015 7:44:56 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
101262
Message:

IEM: Postpone INS memory writes to ring-3 if we hit an access handler. We cannot redo the read, that will only mess things us. This introduces a new per-cpu forced flag, VMCPU_FF_IEM, that must cause immediate return to ring-3 where it will be serviced ASAP. IEM will try return VINF_EM_RAW_TO_R3 as well to help make sure we get back to ring-3.

File:
1 edited

Legend:

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

    r56064 r56628  
    15751575    }
    15761576
     1577    /* IEM has pending work (typically memory write after INS instruction). */
     1578    if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_IEM))
     1579        rc = VBOXSTRICTRC_TODO(IEMR3DoPendingAction(pVCpu, rc));
     1580
    15771581#ifdef VBOX_WITH_RAW_MODE
    15781582    if (VMCPU_FF_IS_PENDING(pVCpu, VMCPU_FF_CSAM_PENDING_ACTION))
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