Changeset 38080 in vbox
- Timestamp:
- Jul 20, 2011 1:02:03 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp
r37942 r38080 4248 4248 VM_FF_CLEAR(pVM, VM_FF_PGM_NO_MEMORY); 4249 4249 4250 #ifdef VBOX_STRICT 4251 bool fOk = true; 4252 uint32_t i; 4253 for (i = iClear; i < pVM->pgm.s.cHandyPages; i++) 4254 if ( pVM->pgm.s.aHandyPages[i].idPage == NIL_GMM_PAGEID 4255 || pVM->pgm.s.aHandyPages[i].idSharedPage != NIL_GMM_PAGEID 4256 || (pVM->pgm.s.aHandyPages[i].HCPhysGCPhys & PAGE_OFFSET_MASK)) 4257 break; 4258 if (i != pVM->pgm.s.cHandyPages) 4259 { 4260 RTAssertMsg1Weak(NULL, __LINE__, __FILE__, __FUNCTION__); 4261 RTAssertMsg2Weak("i=%d iClear=%d cHandyPages=%d\n", i, iClear, pVM->pgm.s.cHandyPages); 4262 for (uint32_t j = iClear; j < pVM->pgm.s.cHandyPages; j++) 4263 RTAssertMsg2Add(("%03d: idPage=%d HCPhysGCPhys=%RHp idSharedPage=%d%\n", j, 4264 pVM->pgm.s.aHandyPages[j].idPage, 4265 pVM->pgm.s.aHandyPages[j].HCPhysGCPhys, 4266 pVM->pgm.s.aHandyPages[j].idSharedPage, 4267 j == i ? " <---" : "")); 4268 RTAssertPanic(); 4269 } 4270 #endif 4250 4271 /* 4251 4272 * Clear the pages.
Note:
See TracChangeset
for help on using the changeset viewer.