Changeset 28648 in vbox
- Timestamp:
- Apr 23, 2010 2:10:07 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60508
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r28643 r28648 3107 3107 #ifdef LOG_ENABLED 3108 3108 Log(("cRefs=%d iFirstPresent=%d cPresent=%d\n", cRefs, pPage->iFirstPresent, pPage->cPresent)); 3109 Log(("Found %RX64 expected %RX64\n", pPT->a[iPte].u & (X86_PTE_PAE_PG_MASK | X86_PTE_P), u64)); 3109 3110 for (unsigned i = 0; i < RT_ELEMENTS(pPT->a); i++) 3110 3111 if ((pPT->a[i].u & (X86_PTE_PAE_PG_MASK | X86_PTE_P)) == u64) … … 3127 3128 STAM_COUNTER_INC(&pPool->StatTrackFlushEntry); 3128 3129 pPT->a[iPte].u = 0; 3129 cRefs--;3130 3130 3131 3131 /* Update the counter as we're removing references. */ … … 3153 3153 { 3154 3154 Assert(HWACCMIsNestedPagingActive(pVM)); 3155 Assert(cRefs == 1);3156 3155 3157 3156 const uint64_t u64 = PGM_PAGE_GET_HCPHYS(pPhysPage) | X86_PDE4M_P | X86_PDE4M_PS; … … 3163 3162 STAM_COUNTER_INC(&pPool->StatTrackFlushEntry); 3164 3163 pPD->a[iPte].u = 0; 3165 cRefs--;3166 3164 3167 3165 /* Update the counter as we're removing references. */ … … 3189 3187 { 3190 3188 Assert(HWACCMIsNestedPagingActive(pVM)); 3191 Assert(cRefs == 1);3192 3189 3193 3190 const uint64_t u64 = PGM_PAGE_GET_HCPHYS(pPhysPage) | X86_PDE4M_P | X86_PDE4M_PS; … … 3199 3196 STAM_COUNTER_INC(&pPool->StatTrackFlushEntry); 3200 3197 pPD->a[iPte].u = 0; 3201 cRefs--;3202 3198 3203 3199 /* Update the counter as we're removing references. */
Note:
See TracChangeset
for help on using the changeset viewer.