VirtualBox

Changeset 38326 in vbox for trunk/include/VBox/vmm/em.h


Ignore:
Timestamp:
Aug 5, 2011 2:35:08 PM (13 years ago)
Author:
vboxsync
Message:

EM,REM: Make the EM execution scheduling policies apply to HM as well.

File:
1 edited

Legend:

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

    r38325 r38326  
    129129#define EMIsRawRing0Enabled(pVM) (!(pVM)->fRecompileSupervisor)
    130130
     131/**
     132 * Checks if execution with hardware assisted virtualization is enabled.
     133 *
     134 * @returns true if enabled.
     135 * @returns false if disabled.
     136 * @param   pVM         The VM to operate on.
     137 */
     138#define EMIsHwVirtExecutionEnabled(pVM) (!(pVM)->fRecompileSupervisor && !(pVM)->fRecompileSupervisor)
     139
    131140VMMDECL(void)           EMSetInhibitInterruptsPC(PVMCPU pVCpu, RTGCUINTPTR PC);
    132141VMMDECL(RTGCUINTPTR)    EMGetInhibitInterruptsPC(PVMCPU pVCpu);
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