Changeset 31800 in vbox
- Timestamp:
- Aug 19, 2010 6:15:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMRZ/PGMRZDynMap.cpp
r31775 r31800 1949 1949 uint32_t cEntries = pSet->cEntries; 1950 1950 AssertReturnVoid(cEntries != PGMMAPSET_CLOSED); 1951 Assert(pSet->iSubset == UINT32_MAX); 1951 1952 #ifdef IN_RC 1952 1953 if (RT_ELEMENTS(pSet->aEntries) > MM_HYPER_DYNAMIC_SIZE / PAGE_SIZE) … … 2097 2098 STAM_COUNTER_INC(&pVCpu->pgm.s.CTX_SUFF(pStats)->StatRZDynMapSubsets); 2098 2099 2100 AssertMsg(iPrevSubset <= pSet->iSubset || iPrevSubset == UINT32_MAX, ("iPrevSubset=%#x iSubset=%#x\n", iPrevSubset, pSet->iSubset)); 2099 2101 return iPrevSubset; 2100 2102 } … … 2113 2115 LogFlow(("PGMRZDynMapPopAutoSubset: pVCpu=%p iPrevSubset=%u iSubset=%u cEntries=%u\n", pVCpu, iPrevSubset, pSet->iSubset, cEntries)); 2114 2116 AssertReturnVoid(cEntries != PGMMAPSET_CLOSED); 2115 Assert ReturnVoid(pSet->iSubset >= iPrevSubset || iPrevSubset == UINT32_MAX);2117 AssertMsgReturnVoid(pSet->iSubset >= iPrevSubset || iPrevSubset == UINT32_MAX, ("iPrevSubset=%u iSubset=%u cEntries=%u\n", iPrevSubset, pSet->iSubset, cEntries)); 2116 2118 #ifdef IN_RC 2117 2119 if (RT_ELEMENTS(pSet->aEntries) > MM_HYPER_DYNAMIC_SIZE / PAGE_SIZE) … … 2125 2127 AssertMsg(cEntries < PGMMAPSET_MAX_FILL, ("%u\n", cEntries)); 2126 2128 pgmDynMapFlushSubset(pSet); 2129 Assert(pSet->cEntries >= iPrevSubset || iPrevSubset == UINT32_MAX); 2127 2130 } 2128 2131 pSet->iSubset = iPrevSubset; … … 2372 2375 { 2373 2376 STAM_COUNTER_INC(&pVCpu->pgm.s.CTX_SUFF(pStats)->StatRZDynMapSetSearchMisses); 2377 #if 0 /* this is very bogus */ 2374 2378 if (pSet->iSubset < pSet->cEntries) 2375 2379 { … … 2379 2383 pgmDynMapFlushSubset(pSet); 2380 2384 } 2385 #endif 2381 2386 2382 2387 if (RT_UNLIKELY(pSet->cEntries >= RT_ELEMENTS(pSet->aEntries)))
Note:
See TracChangeset
for help on using the changeset viewer.