Changeset 8101 in vbox
- Timestamp:
- Apr 17, 2008 2:23:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r8090 r8101 154 154 int pgmPoolMonitorChainFlush(PPGMPOOL pPool, PPGMPOOLPAGE pPage) 155 155 { 156 LogFlow(("pgmPoolMonitorChainFlush: Flush page %VGp type=%d\n", pPage->GCPhys, pPage->enmKind)); 157 156 158 /* 157 159 * Find the list head. … … 717 719 else if (rc == VERR_EM_INTERPRETER) 718 720 { 719 # ifdef IN_GC 720 if (PATMIsPatchGCAddr(pVM, (RTGCPTR)(RTGCUINTPTR)pCpu->opaddr)) 721 { 722 /* We're not able to handle this in ring-3, so fix the interpreter! */ 723 /** @note Should be fine. There's no need to flush the whole thing. */ 724 #ifndef DEBUG_sandervl 725 AssertMsgFailed(("pgmPoolAccessHandlerPTWorker: Interpretation failed for patch code %04x:%RGv - opcode=%d\n", 726 pRegFrame->cs, (RTGCPTR)pRegFrame->eip, pCpu->pCurInstr->opcode)); 727 #endif 728 STAM_COUNTER_INC(&pPool->StatMonitorGCIntrFailPatch1); 729 rc = pgmPoolMonitorChainFlush(pPool, pPage); 730 } 731 else 732 # endif 733 { 734 rc = VINF_EM_RAW_EMULATE_INSTR; 735 STAM_COUNTER_INC(&pPool->CTXMID(StatMonitor,EmulateInstr)); 736 } 721 LogFlow(("pgmPoolAccessHandlerPTWorker: Interpretation failed for patch code %04x:%RGv - opcode=%d\n", 722 pRegFrame->cs, (RTGCPTR)pRegFrame->eip, pCpu->pCurInstr->opcode)); 723 rc = VINF_EM_RAW_EMULATE_INSTR; 724 STAM_COUNTER_INC(&pPool->CTXMID(StatMonitor,EmulateInstr)); 737 725 } 738 726
Note:
See TracChangeset
for help on using the changeset viewer.