VirtualBox

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


Ignore:
Timestamp:
Aug 9, 2011 1:37:41 PM (13 years ago)
Author:
vboxsync
Message:

Don't issue instructions rescheduling to RAW or HWACCM mode when recompilation is forced.

File:
1 edited

Legend:

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

    r38349 r38378  
    140140 * @param   pVM         The VM to operate on.
    141141 */
    142 #define EMIsHwVirtExecutionEnabled(pVM) (!(pVM)->fRecompileSupervisor && !(pVM)->fRecompileSupervisor)
     142#define EMIsHwVirtExecutionEnabled(pVM) (!(pVM)->fRecompileSupervisor && !(pVM)->fRecompileUser)
     143
     144/**
     145 * Checks if execution of supervisor code should be done in the
     146 * recompiler or not.
     147 *
     148 * @returns true if enabled.
     149 * @returns false if disabled.
     150 * @param   pVM         The VM to operate on.
     151 */
     152#define EMIsSupervisorCodeRecompiled(pVM) ((pVM)->fRecompileSupervisor)
    143153
    144154VMMDECL(void)           EMSetInhibitInterruptsPC(PVMCPU pVCpu, RTGCUINTPTR PC);
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