Changeset 64911 in vbox
- Timestamp:
- Dec 16, 2016 2:02:09 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 112321
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGMPhys.cpp
r64399 r64911 2597 2597 const size_t cbRange = RT_OFFSETOF(PGMREGMMIORANGE, RamRange.aPages[cPagesTrackedByChunk]); 2598 2598 PPGMREGMMIORANGE pNew = NULL; 2599 if ( cPagesTrackedByChunk > cPagesLeft 2599 if ( cPagesTrackedByChunk > cPagesLeft /**< @todo r=klaus the first part of the condition is guaranteed false due to RT_MIN above */ 2600 2600 || cbRange >= _1M) 2601 2601 { … … 2705 2705 *ppNext = pNew; 2706 2706 ASMCompilerBarrier(); 2707 cPagesLeft -= cPagesTrackedByChunk; 2707 2708 ppNext = &pNew->pNextR3; 2708 2709 } 2710 Assert(cPagesLeft == 0); 2709 2711 2710 2712 if (RT_SUCCESS(rc)) … … 3491 3493 } 3492 3494 3493 /* 3495 /* 3494 3496 * We're good, set the flags and invalid the mapping TLB. 3495 3497 */
Note:
See TracChangeset
for help on using the changeset viewer.