Changeset 13565 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Oct 24, 2008 5:48:59 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38439
- Location:
- trunk/src/VBox/VMM/VMMAll
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/EMAll.cpp
r13561 r13565 83 83 { 84 84 return pVM->em.s.enmState; 85 }86 87 88 /**89 * Flushes the REM translation blocks the next time we execute code there.90 *91 * @param pVM The VM handle.92 *93 * @todo This doesn't belong here, it should go in REMAll.cpp!94 */95 VMMDECL(void) EMFlushREMTBs(PVM pVM)96 {97 LogFlow(("EMFlushREMTBs\n"));98 pVM->em.s.fREMFlushTBs = true;99 85 } 100 86 -
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r13186 r13565 20 20 */ 21 21 22 /******************************************************************************* 23 * Defined Constants And Macros * 24 *******************************************************************************/ 22 25 /** @def PGM_IGNORE_RAM_FLAGS_RESERVED 23 26 * Don't respect the MM_RAM_FLAGS_RESERVED flag when converting to HC addresses. … … 263 266 AssertFatalFailed(); 264 267 } 265 266 268 267 269 … … 1126 1128 pCache->Entry[iCacheIndex].pbR3 = pbR3; 1127 1129 } 1128 #endif 1130 #endif /* IN_RING3 */ 1129 1131 1130 1132 /** … … 1216 1218 void *pvSrc = PGMRAMRANGE_GETHCPTR(pRam, off) 1217 1219 1218 /* * @noteDangerous assumption that HC handlers don't do anything that really requires an EMT lock! */1220 /* Note! Dangerous assumption that HC handlers don't do anything that really requires an EMT lock! */ 1219 1221 rc = pNode->pfnHandlerR3(pVM, GCPhys, pvSrc, pvBuf, cb, PGMACCESSTYPE_READ, pNode->pvUserR3); 1220 1222 } … … 1264 1266 void *pvSrc = PGMRAMRANGE_GETHCPTR(pRam, off) 1265 1267 1266 /* Note :Dangerous assumption that HC handlers don't do anything that really requires an EMT lock! */1268 /* Note! Dangerous assumption that HC handlers don't do anything that really requires an EMT lock! */ 1267 1269 rc = pNode->pfnHandlerR3(pVM, (RTGCPTR)GCPtr, pvSrc, pvBuf, cb, PGMACCESSTYPE_READ, 0); 1268 1270 } … … 1385 1387 return; 1386 1388 } 1389 1387 1390 1388 1391 /** -
trunk/src/VBox/VMM/VMMAll/REMAll.cpp
r12989 r13565 34 34 #include <iprt/assert.h> 35 35 36 37 #ifndef IN_RING3 36 38 37 39 /** … … 157 159 } 158 160 161 #endif /* !IN_RING3 */ 162 163 /** 164 * Make REM flush all translation block upon the next call to REMR3State(). 165 * 166 * @param pVM Pointer to the shared VM structure. 167 */ 168 VMMDECL(void) REMFlushTBs(PVM pVM) 169 { 170 LogFlow(("REMFlushTBs: fFlushTBs=%RTbool fInREM=%RTbool fInStateSync=%RTbool\n", 171 pVM->rem.s.fFlushTBs, pVM->rem.s.fInREM, pVM->rem.s.fInStateSync)); 172 pVM->rem.s.fFlushTBs = true; 173 } 174
Note:
See TracChangeset
for help on using the changeset viewer.