Changeset 13025 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Oct 7, 2008 7:28:54 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/HWACCMAll.cpp
r12989 r13025 53 53 VMMDECL(int) HWACCMInvalidatePage(PVM pVM, RTGCPTR GCVirt) 54 54 { 55 /** @todo Intel for nested paging */56 55 #ifdef IN_RING0 57 if (pVM->hwaccm.s.svm.fSupported) 58 return SVMR0InvalidatePage(pVM, GCVirt); 56 if (pVM->hwaccm.s.vmx.fSupported) 57 return VMXR0InvalidatePage(pVM, GCVirt); 58 59 Assert(pVM->hwaccm.s.svm.fSupported); 60 return SVMR0InvalidatePage(pVM, GCVirt); 59 61 #endif 60 62 … … 70 72 VMMDECL(int) HWACCMFlushTLB(PVM pVM) 71 73 { 72 /** @todo Intel for nested paging */ 73 if (pVM->hwaccm.s.svm.fSupported) 74 { 75 LogFlow(("HWACCMFlushTLB\n")); 76 pVM->hwaccm.s.svm.fForceTLBFlush = true; 77 STAM_COUNTER_INC(&pVM->hwaccm.s.StatFlushTLBManual); 78 } 74 LogFlow(("HWACCMFlushTLB\n")); 75 76 pVM->hwaccm.s.fForceTLBFlush = true; 77 STAM_COUNTER_INC(&pVM->hwaccm.s.StatFlushTLBManual); 79 78 return VINF_SUCCESS; 80 79 } … … 121 120 122 121 #ifdef IN_RING0 123 /** @todo Intel for nested paging */124 if (pVM->hwaccm.s.svm.fSupported)125 { 126 SVMR0InvalidatePhysPage(pVM, GCPhys);127 }122 if (pVM->hwaccm.s.vmx.fSupported) 123 return VMXR0InvalidatePhysPage(pVM, GCPhys); 124 125 Assert(pVM->hwaccm.s.svm.fSupported); 126 SVMR0InvalidatePhysPage(pVM, GCPhys); 128 127 #else 129 128 HWACCMFlushTLB(pVM);
Note:
See TracChangeset
for help on using the changeset viewer.