Changeset 51896 in vbox for trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
- Timestamp:
- Jul 7, 2014 6:17:59 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r51757 r51896 5586 5586 fOffsettedTsc = TMCpuTickCanUseRealTSC(pVCpu, &pVCpu->hm.s.vmx.u64TSCOffset, &fParavirtTsc); 5587 5587 5588 #if 1 5589 if (fParavirtTsc) 5590 { 5588 5591 #if 0 5589 if (fParavirtTsc)5590 {5591 5592 uint64_t const u64CurTsc = ASMReadTSC(); 5592 5593 uint64_t const u64LastTick = TMCpuTickGetLastSeen(pVCpu); … … 5598 5599 5599 5600 Assert(u64CurTsc + pVCpu->hm.s.vmx.u64TSCOffset >= u64LastTick); 5601 #endif 5600 5602 rc = GIMR0UpdateParavirtTsc(pVM, pVCpu->hm.s.vmx.u64TSCOffset); 5601 5603 AssertRC(rc); … … 5608 5610 } 5609 5611 else 5610 #endif 5611 5612 #else 5612 5613 if (fParavirtTsc) 5613 5614 STAM_COUNTER_INC(&pVCpu->hm.s.StatTscParavirt); 5615 #endif 5614 5616 if (fOffsettedTsc) 5615 5617 { … … 7303 7305 u32IntInfo |= (VMX_EXIT_INTERRUPTION_INFO_TYPE_NMI << VMX_EXIT_INTERRUPTION_INFO_TYPE_SHIFT); 7304 7306 7305 hmR0VmxSetPendingEvent(pVCpu, u32IntInfo, 0 /* cbInstr */, 0 /* u32ErrCode */, 0 /* GCPtrFaultAddres */);7307 hmR0VmxSetPendingEvent(pVCpu, u32IntInfo, 0 /* cbInstr */, 0 /* u32ErrCode */, 0 /* GCPtrFaultAddress */); 7306 7308 VMCPU_FF_CLEAR(pVCpu, VMCPU_FF_INTERRUPT_NMI); 7307 7309 }
Note:
See TracChangeset
for help on using the changeset viewer.