Changeset 9988 in vbox
- Timestamp:
- Jun 27, 2008 11:17:47 AM (17 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r9897 r9988 570 570 571 571 /* 572 * Sysenter MSRs 572 * Sysenter MSRs (unconditional) 573 573 */ 574 if (pVM->hwaccm.s.fContextUseFlags & HWACCM_CHANGED_GUEST_SYSENTER_MSR) 575 { 576 pVMCB->guest.u64SysEnterCS = pCtx->SysEnter.cs; 577 pVMCB->guest.u64SysEnterEIP = pCtx->SysEnter.eip; 578 pVMCB->guest.u64SysEnterESP = pCtx->SysEnter.esp; 579 } 574 pVMCB->guest.u64SysEnterCS = pCtx->SysEnter.cs; 575 pVMCB->guest.u64SysEnterEIP = pCtx->SysEnter.eip; 576 pVMCB->guest.u64SysEnterESP = pCtx->SysEnter.esp; 580 577 581 578 /* Control registers */ -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r9964 r9988 753 753 754 754 /* 755 * Sysenter MSRs 755 * Sysenter MSRs (unconditional) 756 756 */ 757 if (pVM->hwaccm.s.fContextUseFlags & HWACCM_CHANGED_GUEST_SYSENTER_MSR) 758 { 759 rc = VMXWriteVMCS(VMX_VMCS_GUEST_SYSENTER_CS, pCtx->SysEnter.cs); 760 rc |= VMXWriteVMCS(VMX_VMCS_GUEST_SYSENTER_EIP, pCtx->SysEnter.eip); 761 rc |= VMXWriteVMCS(VMX_VMCS_GUEST_SYSENTER_ESP, pCtx->SysEnter.esp); 762 AssertRC(rc); 763 } 757 rc = VMXWriteVMCS(VMX_VMCS_GUEST_SYSENTER_CS, pCtx->SysEnter.cs); 758 rc |= VMXWriteVMCS(VMX_VMCS_GUEST_SYSENTER_EIP, pCtx->SysEnter.eip); 759 rc |= VMXWriteVMCS(VMX_VMCS_GUEST_SYSENTER_ESP, pCtx->SysEnter.esp); 760 AssertRC(rc); 764 761 765 762 /* Control registers */
Note:
See TracChangeset
for help on using the changeset viewer.