Changeset 8914 in vbox for trunk/src/VBox/VMM
- Timestamp:
- May 19, 2008 12:05:35 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp
r8901 r8914 789 789 STAM_PROFILE_ADV_START(&pVM->hwaccm.s.StatInGC, x); 790 790 791 if (!pVM->hwaccm.s.svm.fResumeVM) 792 { 793 if (pVM->hwaccm.s.svm.idLastCpu != pCpu->idCpu) 794 { 795 /* Force a TLB flush on VM entry. */ 796 pVM->hwaccm.s.svm.fForceTLBFlush = true; 797 } 798 pVM->hwaccm.s.svm.idLastCpu = pCpu->idCpu; 799 } 800 791 801 /* Make sure we flush the TLB when required. */ 792 802 if ( pVM->hwaccm.s.svm.fForceTLBFlush … … 802 812 } 803 813 else 804 {805 814 pVMCB->ctrl.TLBCtrl.n.u1TLBFlush = pVM->hwaccm.s.svm.fForceTLBFlush; 806 }807 815 808 816 AssertMsg(pCpu->uCurrentASID >= 1 && pCpu->uCurrentASID < pVM->hwaccm.s.svm.u32MaxASID, ("cpu%d uCurrentASID = %x\n", pCpu->idCpu, pCpu->uCurrentASID)); … … 1141 1149 #ifdef VBOX_STRICT 1142 1150 if (rc != VINF_EM_RAW_EMULATE_INSTR) 1143 Log (("PGMTrap0eHandler failed with %d\n", rc));1151 LogFlow(("PGMTrap0eHandler failed with %d\n", rc)); 1144 1152 #endif 1145 1153 /* Need to go back to the recompiler to emulate the instruction. */ … … 1207 1215 break; 1208 1216 } 1209 Log(("Trap %x at %VGv \n", vector, pCtx->eip));1217 Log(("Trap %x at %VGv esi=%x\n", vector, pCtx->eip, pCtx->esi)); 1210 1218 SVMR0InjectEvent(pVM, pVMCB, pCtx, &Event); 1211 1219 … … 1651 1659 1652 1660 LogFlow(("SVMR0Enter cpu%d last=%d asid=%d\n", pCpu->idCpu, pVM->hwaccm.s.svm.idLastCpu, pCpu->uCurrentASID)); 1653 if (pVM->hwaccm.s.svm.idLastCpu != pCpu->idCpu)1654 {1655 /* Force a TLB flush on VM entry. */1656 pVM->hwaccm.s.svm.fForceTLBFlush = true;1657 }1658 pVM->hwaccm.s.svm.idLastCpu = pCpu->idCpu;1659 1660 1661 pVM->hwaccm.s.svm.fResumeVM = false; 1661 1662
Note:
See TracChangeset
for help on using the changeset viewer.