Changeset 50749 in vbox
- Timestamp:
- Mar 12, 2014 3:00:05 PM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 92759
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r50739 r50749 2040 2040 pVCpu->hm.s.uCurrentAsid = pCpu->uCurrentAsid; 2041 2041 if (pCpu->fFlushAsidBeforeUse) 2042 hmR0VmxFlushVpid(pVM, pVCpu, pVM->hm.s.vmx.enmFlushVpid, 0 /* GCPtr */); 2042 { 2043 if (pVM->hm.s.vmx.enmFlushVpid == VMX_FLUSH_VPID_SINGLE_CONTEXT) 2044 hmR0VmxFlushVpid(pVM, pVCpu, VMX_FLUSH_VPID_SINGLE_CONTEXT, 0 /* GCPtr */); 2045 else if (pVM->hm.s.vmx.enmFlushVpid == VMX_FLUSH_VPID_ALL_CONTEXTS) 2046 { 2047 hmR0VmxFlushVpid(pVM, pVCpu, VMX_FLUSH_VPID_ALL_CONTEXTS, 0 /* GCPtr */); 2048 pCpu->fFlushAsidBeforeUse = false; 2049 } 2050 else 2051 { 2052 /* hmR0VmxSetupTaggedTlb() ensures we never get here. Paranoia. */ 2053 AssertMsgFailed(("Unsupported VPID-flush context type.\n")); 2054 } 2055 } 2043 2056 } 2044 2057 /** @todo We never set VMCPU_FF_TLB_SHOOTDOWN anywhere. See hmQueueInvlPage()
Note:
See TracChangeset
for help on using the changeset viewer.