Changeset 15671 in vbox for trunk/src/VBox
- Timestamp:
- Dec 18, 2008 7:09:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r15284 r15671 238 238 if (u16) 239 239 { 240 # ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 241 /* Start a subset here because pgmPoolTrackFlushGCPhysPTsSlow and pgmPoolTrackFlushGCPhysPTs 242 will/may kill the pool otherwise. */ 243 PVMCPU pVCpu = VMMGetCpu(pVM); 244 uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pVCpu); 245 # endif 246 240 247 if ((u16 >> (MM_RAM_FLAGS_CREFS_SHIFT - MM_RAM_FLAGS_IDX_SHIFT)) != MM_RAM_FLAGS_CREFS_PHYSEXT) 241 248 pgmPoolTrackFlushGCPhysPT(pVM, … … 248 255 rc = pgmPoolTrackFlushGCPhysPTsSlow(pVM, pPage); 249 256 fFlushTLBs = true; 257 258 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 259 PGMDynMapPopAutoSubset(pVCpu, iPrevSubset); 260 #endif 250 261 } 262 251 263 #elif defined(PGMPOOL_WITH_CACHE) 264 # ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 265 /* Start a subset here because pgmPoolTrackFlushGCPhysPTsSlow kill the pool otherwise. */ 266 PVMCPU pVCpu = VMMGetCpu(pVM); 267 uint32_t iPrevSubset = PGMDynMapPushAutoSubset(pVCpu); 268 # endif 269 252 270 rc = pgmPoolTrackFlushGCPhysPTsSlow(pVM, pPage); 253 271 fFlushTLBs = true; 272 273 # ifdef VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 274 PGMDynMapPopAutoSubset(pVCpu, iPrevSubset); 275 # endif 254 276 #endif 255 277 }
Note:
See TracChangeset
for help on using the changeset viewer.