VirtualBox

Changeset 38324 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Aug 5, 2011 2:02:53 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73340
Message:

FE/Qt,FE/BFE,MachineDebugger,EM: Added execution scheduling options to the Qt GUI and reworked the main/VMM interface.

File:
1 edited

Legend:

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

    r37702 r38324  
    5151    /** Hardware accelerated raw-mode execution. */
    5252    EMSTATE_HWACC,
    53     /** PARAV function. */
    54     EMSTATE_PARAV,
    5553    /** Recompiled mode execution. */
    5654    EMSTATE_REM,
     
    212210 * execution modes at once should the need arise.
    213211 */
    214 typedef enum EMRAWMODE
     212typedef enum EMEXECPOLICY
    215213{
    216     /** No raw execution. */
    217     EMRAW_NONE = 0,
    218     /** Enable Only ring-3 raw execution. */
    219     EMRAW_RING3_ENABLE,
    220     /** Only ring-3 raw execution. */
    221     EMRAW_RING3_DISABLE,
    222     /** Enable raw ring-0 execution. */
    223     EMRAW_RING0_ENABLE,
    224     /** Disable raw ring-0 execution. */
    225     EMRAW_RING0_DISABLE,
    226     EMRAW_END
    227 } EMRAWMODE;
    228 
    229 VMMR3DECL(int)      EMR3RawSetMode(PVM pVM, EMRAWMODE enmMode);
     214    /** The customary invalid zero entry. */
     215    EMEXECPOLICY_INVALID = 0,
     216    /** Whether to recompile ring-0 code or execute it in raw/hm. */
     217    EMEXECPOLICY_RECOMPILE_RING0,
     218    /** Whether to recompile ring-3 code or execute it in raw/hm. */
     219    EMEXECPOLICY_RECOMPILE_RING3,
     220    /** End of valid value (not included). */
     221    EMEXECPOLICY_END,
     222    /** The customary 32-bit type blowup. */
     223    EMEXECPOLICY_32BIT_HACK = 0x7fffffff
     224} EMEXECPOLICY;
     225
     226VMMR3DECL(int)      EMR3SetExecutionPolicy(PVM pVM, EMEXECPOLICY enmPolicy, bool fEnforce);
    230227/** @} */
    231228#endif /* IN_RING3 */
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