Changeset 17133 in vbox for trunk/src/VBox
- Timestamp:
- Feb 25, 2009 2:10:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r17129 r17133 922 922 { 923 923 LogFlow(("pgmPoolIsActiveRootPage found CR3 root\n")); 924 pPage->cModifications = 1; /* reset counter (can't use 0, or else it will be reinserted in the modified list) */ 924 if (pPage->cModifications) 925 pPage->cModifications = 1; /* reset counter (can't use 0, or else it will be reinserted in the modified list) */ 925 926 return true; 926 927 } … … 950 951 Assert(pPdpt->a[i].n.u1Present); 951 952 LogFlow(("pgmPoolIsActiveRootPage found PAE PDPE root\n")); 952 pPage->cModifications = 1; /* reset counter (can't use 0, or else it will be reinserted in the modified list) */ 953 if (pPage->cModifications) 954 pPage->cModifications = 1; /* reset counter (can't use 0, or else it will be reinserted in the modified list) */ 953 955 return true; 954 956 }
Note:
See TracChangeset
for help on using the changeset viewer.