Changeset 24695 in vbox
- Timestamp:
- Nov 16, 2009 2:44:58 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
-
include/VBox/pgm.h (modified) (1 diff)
-
src/VBox/VMM/PGM.cpp (modified) (1 diff)
-
src/VBox/VMM/VMMAll/PGMAllPhys.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pgm.h
r24349 r24695 356 356 VMMDECL(int) PGMPhysGCPtr2GCPhys(PVMCPU pVCpu, RTGCPTR GCPtr, PRTGCPHYS pGCPhys); 357 357 VMMDECL(int) PGMPhysGCPtr2HCPhys(PVMCPU pVCpu, RTGCPTR GCPtr, PRTHCPHYS pHCPhys); 358 VMMDECL(void) PGMPhysInvalidatePageGCMapTLB(PVM pVM); 359 VMMDECL(void) PGMPhysInvalidatePageR0MapTLB(PVM pVM); 360 VMMDECL(void) PGMPhysInvalidatePageR3MapTLB(PVM pVM); 358 VMMDECL(void) PGMPhysInvalidatePageMapTLB(PVM pVM); 361 359 362 360 VMMDECL(int) PGMPhysGCPhys2CCPtr(PVM pVM, RTGCPHYS GCPhys, void **ppv, PPGMPAGEMAPLOCK pLock); -
trunk/src/VBox/VMM/PGM.cpp
r24542 r24695 1289 1289 1290 1290 PGMR3PhysChunkInvalidateTLB(pVM); 1291 PGMPhysInvalidatePageR3MapTLB(pVM); 1292 PGMPhysInvalidatePageR0MapTLB(pVM); 1293 PGMPhysInvalidatePageGCMapTLB(pVM); 1291 PGMPhysInvalidatePageMapTLB(pVM); 1294 1292 1295 1293 /* -
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r24647 r24695 192 192 193 193 /** 194 * Invalidates the GC page mapping TLB.194 * Invalidates the all page mapping TLBs. 195 195 * 196 196 * @param pVM The VM handle. 197 197 */ 198 VMMDECL(void) PGMPhysInvalidatePageGCMapTLB(PVM pVM) 199 { 200 /* later */ 201 NOREF(pVM); 202 } 203 204 #ifndef IN_RC 205 /** 206 * Invalidates the ring-0 page mapping TLB. 207 * 208 * @param pVM The VM handle. 209 */ 210 VMMDECL(void) PGMPhysInvalidatePageR0MapTLB(PVM pVM) 211 { 212 PGMPhysInvalidatePageR3MapTLB(pVM); 213 } 214 215 216 /** 217 * Invalidates the ring-3 page mapping TLB. 218 * 219 * @param pVM The VM handle. 220 */ 221 VMMDECL(void) PGMPhysInvalidatePageR3MapTLB(PVM pVM) 198 VMMDECL(void) PGMPhysInvalidatePageMapTLB(PVM pVM) 222 199 { 223 200 pgmLock(pVM); … … 229 206 pVM->pgm.s.PhysTlbHC.aEntries[i].pv = 0; 230 207 } 208 /* @todo clear the RC TLB whenever we add it. */ 231 209 pgmUnlock(pVM); 232 210 } 233 #endif /* ! IN_RC */234 211 235 212 /**
Note:
See TracChangeset
for help on using the changeset viewer.

