VirtualBox

Changeset 74204 in vbox


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.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/include/VBox/vmm/em.h

    r72895 r74204  
    183183VMM_INT_DECL(bool)              EMMonitorWaitShouldContinue(PVMCPU pVCpu, PCPUMCTX pCtx);
    184184VMM_INT_DECL(int)               EMMonitorWaitPrepare(PVMCPU pVCpu, uint64_t rax, uint64_t rcx, uint64_t rdx, RTGCPHYS GCPhys);
     185VMM_INT_DECL(void)              EMMonitorWaitClear(PVMCPU pVCpu);
    185186VMM_INT_DECL(bool)              EMMonitorIsArmed(PVMCPU pVCpu);
    186187VMM_INT_DECL(int)               EMMonitorWaitPerform(PVMCPU pVCpu, uint64_t rax, uint64_t rcx);
  • TabularUnified 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