Changeset 25551 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Dec 21, 2009 5:22:45 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56227
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r25547 r25551 908 908 rc = rc2; 909 909 910 #ifdef IN_RC911 /* See use in pgmPoolAccessHandlerSimple(). */912 PGM_INVL_VCPU_TLBS(pVCpu);913 #endif914 910 LogFlow(("pgmPoolAccessHandlerPT: returns %Rrc (flushed)\n", rc)); 915 911 return rc; … … 981 977 pRegFrame->rip += pDis->opsize; 982 978 983 #ifdef IN_RC984 /* See use in pgmPoolAccessHandlerSimple(). */985 PGM_INVL_VCPU_TLBS(pVCpu);986 #endif987 988 979 LogFlow(("pgmPoolAccessHandlerSTOSD: returns\n")); 989 980 return VINF_SUCCESS; … … 1070 1061 } 1071 1062 } 1072 #endif1073 1074 #ifdef IN_RC1075 /*1076 * Quick hack, with logging enabled we're getting stale1077 * code TLBs but no data TLB for EIP and crash in EMInterpretDisasOne.1078 * Flushing here is BAD and expensive, I think EMInterpretDisasOne will1079 * have to be fixed to support this. But that'll have to wait till next week.1080 *1081 * An alternative is to keep track of the changed PTEs together with the1082 * GCPhys from the guest PT. This may proove expensive though.1083 *1084 * At the moment, it's VITAL that it's done AFTER the instruction interpreting1085 * because we need the stale TLBs in some cases (XP boot). This MUST be fixed properly!1086 */1087 PGM_INVL_VCPU_TLBS(pVCpu);1088 1063 #endif 1089 1064
Note:
See TracChangeset
for help on using the changeset viewer.