Changeset 45733 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Apr 25, 2013 2:49:24 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 85290
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r45732 r45733 3407 3407 } 3408 3408 #endif 3409 rc =hmR0VmxWriteSegmentReg(pVCpu, VMX_VMCS16_GUEST_FIELD_CS, VMX_VMCS32_GUEST_CS_LIMIT, VMX_VMCS_GUEST_CS_BASE,3409 rc = hmR0VmxWriteSegmentReg(pVCpu, VMX_VMCS16_GUEST_FIELD_CS, VMX_VMCS32_GUEST_CS_LIMIT, VMX_VMCS_GUEST_CS_BASE, 3410 3410 VMX_VMCS32_GUEST_CS_ACCESS_RIGHTS, &pMixedCtx->cs, pMixedCtx); 3411 3411 rc |= hmR0VmxWriteSegmentReg(pVCpu, VMX_VMCS16_GUEST_FIELD_SS, VMX_VMCS32_GUEST_SS_LIMIT, VMX_VMCS_GUEST_SS_BASE, … … 4618 4618 4619 4619 /* See Intel spec. 30.7.1.1 "Reflecting Exceptions to Guest Software". */ 4620 VMXREFLECTXCPT enmReflect 4620 VMXREFLECTXCPT enmReflect = VMXREFLECTXCPT_NONE; 4621 4621 if (uIntType == VMX_IDT_VECTORING_INFO_TYPE_HW_XCPT) 4622 4622 { 4623 4623 enmReflect = VMXREFLECTXCPT_XCPT; 4624 #if 04624 #ifdef VBOX_STRICT 4625 4625 if ( hmR0VmxIsContributoryXcpt(uIdtVector) 4626 4626 && uExitVector == X86_XCPT_PF) … … 6212 6212 6213 6213 /* Inject. */ 6214 rc 6214 rc = VMXWriteVmcs32(VMX_VMCS32_CTRL_ENTRY_INTERRUPTION_INFO, u32IntrInfo); 6215 6215 if (VMX_EXIT_INTERRUPTION_INFO_ERROR_CODE_IS_VALID(u32IntrInfo)) 6216 6216 rc |= VMXWriteVmcs32(VMX_VMCS32_CTRL_ENTRY_EXCEPTION_ERRCODE, u32ErrCode); … … 8281 8281 8282 8282 #if 0 8283 rc = hmR0VmxSaveGuestState(pVCpu, pMixedCtx); /** @todo Can we do better? */8283 rc |= hmR0VmxSaveGuestState(pVCpu, pMixedCtx); /** @todo Can we do better? */ 8284 8284 #else 8285 8285 /* Aggressive state sync. for now. */
Note:
See TracChangeset
for help on using the changeset viewer.