VirtualBox

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


Ignore:
Timestamp:
Sep 12, 2018 5:18:25 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124981
Message:

VMM/EM: Added EMMonitorWaitClear to clear address-range monitoring for MONITOR/MWAIT, for upcoming use with nested VMX.

File:
1 edited

Legend:

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

    r72895 r74204  
    189189}
    190190
     191
     192/**
     193 * Clears any address-range monitoring that is active.
     194 *
     195 * @param   pVCpu   The cross context virtual CPU structure of the calling EMT.
     196 */
     197VMM_INT_DECL(void) EMMonitorWaitClear(PVMCPU pVCpu)
     198{
     199    LogFlowFunc(("Clearing MWAIT\n"));
     200    pVCpu->em.s.MWait.fWait &= ~(EMMWAIT_FLAG_ACTIVE | EMMWAIT_FLAG_BREAKIRQIF0);
     201}
    191202
    192203
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