Changeset 38324 in vbox for trunk/include/VBox/vmm
- Timestamp:
- Aug 5, 2011 2:02:53 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 73340
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/em.h
r37702 r38324 51 51 /** Hardware accelerated raw-mode execution. */ 52 52 EMSTATE_HWACC, 53 /** PARAV function. */54 EMSTATE_PARAV,55 53 /** Recompiled mode execution. */ 56 54 EMSTATE_REM, … … 212 210 * execution modes at once should the need arise. 213 211 */ 214 typedef enum EM RAWMODE212 typedef enum EMEXECPOLICY 215 213 { 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 226 VMMR3DECL(int) EMR3SetExecutionPolicy(PVM pVM, EMEXECPOLICY enmPolicy, bool fEnforce); 230 227 /** @} */ 231 228 #endif /* IN_RING3 */
Note:
See TracChangeset
for help on using the changeset viewer.