Changeset 93901 in vbox for trunk/include/VBox/vmm/vm.h
- Timestamp:
- Feb 23, 2022 3:35:26 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/vm.h
r93650 r93901 1091 1091 1092 1092 /** 1093 * Checks whether raw-mode is used.1094 * 1095 * @retval true if eitheris used.1096 * @retval false if software virtualization (raw-mode) is used.1093 * Checks whether iem-executes-all-mode is used. 1094 * 1095 * @retval true if IEM is used. 1096 * @retval false if not. 1097 1097 * 1098 1098 * @param a_pVM The cross context VM structure. … … 1100 1100 * @internal 1101 1101 */ 1102 #ifdef VBOX_WITH_RAW_MODE 1103 # define VM_IS_RAW_MODE_ENABLED(a_pVM) ((a_pVM)->bMainExecutionEngine == VM_EXEC_ENGINE_RAW_MODE) 1104 #else 1105 # define VM_IS_RAW_MODE_ENABLED(a_pVM) (false) 1106 #endif 1102 #define VM_IS_EXEC_ENGINE_IEM(a_pVM) ((a_pVM)->bMainExecutionEngine == VM_EXEC_ENGINE_IEM) 1107 1103 1108 1104 /** … … 1113 1109 * 1114 1110 * @param a_pVM The cross context VM structure. 1115 * @sa VM_IS_ RAW_MODE_ENABLED, VM_IS_HM_ENABLED, VM_IS_NEM_ENABLED.1111 * @sa VM_IS_EXEC_ENGINE_IEM, VM_IS_HM_ENABLED, VM_IS_NEM_ENABLED. 1116 1112 * @internal 1117 1113 */ 1118 #define VM_IS_HM_OR_NEM_ENABLED(a_pVM) ((a_pVM)->bMainExecutionEngine != VM_EXEC_ENGINE_ RAW_MODE)1114 #define VM_IS_HM_OR_NEM_ENABLED(a_pVM) ((a_pVM)->bMainExecutionEngine != VM_EXEC_ENGINE_IEM) 1119 1115 1120 1116 /** … … 1125 1121 * 1126 1122 * @param a_pVM The cross context VM structure. 1127 * @sa VM_IS_NEM_ENABLED, VM_IS_ RAW_MODE_ENABLED, VM_IS_HM_OR_NEM_ENABLED.1123 * @sa VM_IS_NEM_ENABLED, VM_IS_EXEC_ENGINE_IEM, VM_IS_HM_OR_NEM_ENABLED. 1128 1124 * @internal 1129 1125 */ … … 1137 1133 * 1138 1134 * @param a_pVM The cross context VM structure. 1139 * @sa VM_IS_HM_ENABLED, VM_IS_ RAW_MODE_ENABLED, VM_IS_HM_OR_NEM_ENABLED.1135 * @sa VM_IS_HM_ENABLED, VM_IS_EXEC_ENGINE_IEM, VM_IS_HM_OR_NEM_ENABLED. 1140 1136 * @internal 1141 1137 */
Note:
See TracChangeset
for help on using the changeset viewer.