Changeset 80024 in vbox for trunk/include/VBox/vmm/em.h
- Timestamp:
- Jul 28, 2019 1:30:53 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/em.h
r78712 r80024 128 128 /** @} */ 129 129 130 131 /**132 * Checks if raw ring-3 execute mode is enabled.133 *134 * @returns true if enabled.135 * @returns false if disabled.136 * @param pVM The cross context VM structure.137 */138 #define EMIsRawRing3Enabled(pVM) (!(pVM)->fRecompileUser)139 140 /**141 * Checks if raw ring-0 execute mode is enabled.142 *143 * @returns true if enabled.144 * @returns false if disabled.145 * @param pVM The cross context VM structure.146 */147 #define EMIsRawRing0Enabled(pVM) (!(pVM)->fRecompileSupervisor)148 149 #ifdef VBOX_WITH_RAW_RING1150 /**151 * Checks if raw ring-1 execute mode is enabled.152 *153 * @returns true if enabled.154 * @returns false if disabled.155 * @param pVM The cross context VM structure.156 */157 # define EMIsRawRing1Enabled(pVM) ((pVM)->fRawRing1Enabled)158 #else159 # define EMIsRawRing1Enabled(pVM) false160 #endif161 162 /**163 * Checks if execution with hardware assisted virtualization is enabled.164 *165 * @returns true if enabled.166 * @returns false if disabled.167 * @param pVM The cross context VM structure.168 */169 #define EMIsHwVirtExecutionEnabled(pVM) (!(pVM)->fRecompileSupervisor && !(pVM)->fRecompileUser)170 171 /**172 * Checks if execution of supervisor code should be done in the173 * recompiler or not.174 *175 * @returns true if enabled.176 * @returns false if disabled.177 * @param pVM The cross context VM structure.178 */179 #define EMIsSupervisorCodeRecompiled(pVM) ((pVM)->fRecompileSupervisor)180 181 130 VMMDECL(void) EMSetInhibitInterruptsPC(PVMCPU pVCpu, RTGCUINTPTR PC); 182 131 VMMDECL(RTGCUINTPTR) EMGetInhibitInterruptsPC(PVMCPU pVCpu);
Note:
See TracChangeset
for help on using the changeset viewer.