Changeset 71910 in vbox for trunk/src/VBox/VMM/include/HMInternal.h
- Timestamp:
- Apr 19, 2018 8:54:23 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/include/HMInternal.h
r71529 r71910 173 173 #define HM_CHANGED_GUEST_SYSENTER_ESP_MSR RT_BIT(15) 174 174 #define HM_CHANGED_GUEST_EFER_MSR RT_BIT(16) 175 #define HM_CHANGED_GUEST_LAZY_MSRS RT_BIT(17) /* Shared */ /** @todo Move this to VT-x specific? */ 176 #define HM_CHANGED_GUEST_XCPT_INTERCEPTS RT_BIT(18) 175 #define HM_CHANGED_GUEST_APIC_STATE RT_BIT(17) 176 #define HM_CHANGED_GUEST_HWVIRT RT_BIT(18) 177 /* Logically common VMM state. */ 178 #define HM_CHANGED_VMM_GUEST_XCPT_INTERCEPTS RT_BIT(19) 179 #define HM_CHANGED_VMM_GUEST_LAZY_MSRS RT_BIT(20) 177 180 /* VT-x specific state. */ 178 #define HM_CHANGED_VMX_GUEST_AUTO_MSRS RT_BIT(19) 179 #define HM_CHANGED_VMX_GUEST_ACTIVITY_STATE RT_BIT(20) 180 #define HM_CHANGED_VMX_GUEST_APIC_STATE RT_BIT(21) 181 #define HM_CHANGED_VMX_ENTRY_CTLS RT_BIT(22) 182 #define HM_CHANGED_VMX_EXIT_CTLS RT_BIT(23) 181 #define HM_CHANGED_VMX_GUEST_AUTO_MSRS RT_BIT(21) 182 #define HM_CHANGED_VMX_GUEST_ACTIVITY_STATE RT_BIT(22) 183 #define HM_CHANGED_VMX_ENTRY_CTLS RT_BIT(23) 184 #define HM_CHANGED_VMX_EXIT_CTLS RT_BIT(24) 183 185 /* AMD-V specific state. */ 184 #define HM_CHANGED_SVM_ GUEST_APIC_STATE RT_BIT(19)185 #define HM_CHANGED_SVM_RESERVED 1 RT_BIT(20)186 #define HM_CHANGED_SVM_RESERVED 2 RT_BIT(21)187 #define HM_CHANGED_SVM_RESERVED 3 RT_BIT(22)188 #define HM_CHANGED_SVM_RESERVED4 RT_BIT(23) 189 190 #define HM_CHANGED_ALL_GUEST ( HM_CHANGED_GUEST_CR0\191 | HM_CHANGED_GUEST_CR 3\192 | HM_CHANGED_GUEST_ CR4\193 | HM_CHANGED_GUEST_ GDTR\194 | HM_CHANGED_GUEST_ IDTR\195 | HM_CHANGED_GUEST_ LDTR\196 | HM_CHANGED_GUEST_ TR\197 | HM_CHANGED_GUEST_ SEGMENT_REGS\198 | HM_CHANGED_GUEST_ DEBUG\199 | HM_CHANGED_GUEST_R IP\200 | HM_CHANGED_GUEST_R SP\201 | HM_CHANGED_GUEST_ RFLAGS\202 | HM_CHANGED_GUEST_ CR2\203 | HM_CHANGED_GUEST_SYSENTER_ CS_MSR \204 | HM_CHANGED_GUEST_SYSENTER_E IP_MSR\205 | HM_CHANGED_GUEST_ SYSENTER_ESP_MSR\206 | HM_CHANGED_GUEST_ EFER_MSR\207 | HM_CHANGED_GUEST_ LAZY_MSRS\208 | HM_CHANGED_ GUEST_XCPT_INTERCEPTS\209 | HM_CHANGED_VM X_GUEST_AUTO_MSRS\210 | HM_CHANGED_VMX_GUEST_A CTIVITY_STATE\211 | HM_CHANGED_VMX_GUEST_A PIC_STATE\212 | HM_CHANGED_VMX_ENTRY_CTLS \186 #define HM_CHANGED_SVM_RESERVED1 RT_BIT(21) 187 #define HM_CHANGED_SVM_RESERVED2 RT_BIT(22) 188 #define HM_CHANGED_SVM_RESERVED3 RT_BIT(23) 189 #define HM_CHANGED_SVM_RESERVED4 RT_BIT(24) 190 191 #define HM_CHANGED_ALL_GUEST ( HM_CHANGED_GUEST_CR0 \ 192 | HM_CHANGED_GUEST_CR3 \ 193 | HM_CHANGED_GUEST_CR4 \ 194 | HM_CHANGED_GUEST_GDTR \ 195 | HM_CHANGED_GUEST_IDTR \ 196 | HM_CHANGED_GUEST_LDTR \ 197 | HM_CHANGED_GUEST_TR \ 198 | HM_CHANGED_GUEST_SEGMENT_REGS \ 199 | HM_CHANGED_GUEST_DEBUG \ 200 | HM_CHANGED_GUEST_RIP \ 201 | HM_CHANGED_GUEST_RSP \ 202 | HM_CHANGED_GUEST_RFLAGS \ 203 | HM_CHANGED_GUEST_CR2 \ 204 | HM_CHANGED_GUEST_SYSENTER_CS_MSR \ 205 | HM_CHANGED_GUEST_SYSENTER_EIP_MSR \ 206 | HM_CHANGED_GUEST_SYSENTER_ESP_MSR \ 207 | HM_CHANGED_GUEST_EFER_MSR \ 208 | HM_CHANGED_GUEST_APIC_STATE \ 209 | HM_CHANGED_GUEST_HWVIRT \ 210 | HM_CHANGED_VMM_GUEST_XCPT_INTERCEPTS \ 211 | HM_CHANGED_VMM_GUEST_LAZY_MSRS \ 212 | HM_CHANGED_VMX_GUEST_AUTO_MSRS \ 213 | HM_CHANGED_VMX_GUEST_ACTIVITY_STATE \ 214 | HM_CHANGED_VMX_ENTRY_CTLS \ 213 215 | HM_CHANGED_VMX_EXIT_CTLS) 214 216 215 #define HM_CHANGED_HOST_CONTEXT RT_BIT(2 4)217 #define HM_CHANGED_HOST_CONTEXT RT_BIT(25) 216 218 217 219 /* Bits shared between host and guest. */ 218 #define HM_CHANGED_HOST_GUEST_SHARED_STATE ( HM_CHANGED_GUEST_CR0 219 | HM_CHANGED_GUEST_DEBUG 220 | HM_CHANGED_ GUEST_LAZY_MSRS)220 #define HM_CHANGED_HOST_GUEST_SHARED_STATE ( HM_CHANGED_GUEST_CR0 \ 221 | HM_CHANGED_GUEST_DEBUG \ 222 | HM_CHANGED_VMM_GUEST_LAZY_MSRS) 221 223 /** @} */ 222 224
Note:
See TracChangeset
for help on using the changeset viewer.