- Timestamp:
- Oct 14, 2021 4:10:44 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllHandler.cpp
r91247 r91733 1153 1153 if (pCur->cAliasedPages) 1154 1154 { 1155 PPGMPAGE pPage = &pRam->aPages[(pCur->Core.Key - pRam->GCPhys) >> PAGE_SHIFT]; 1156 uint32_t cLeft = pCur->cPages; 1155 PPGMPAGE pPage = &pRam->aPages[(pCur->Core.Key - pRam->GCPhys) >> PAGE_SHIFT]; 1156 RTGCPHYS GCPhysPage = pCur->Core.Key; 1157 uint32_t cLeft = pCur->cPages; 1157 1158 while (cLeft-- > 0) 1158 1159 { … … 1161 1162 { 1162 1163 Assert(pCur->cAliasedPages > 0); 1163 pgmHandlerPhysicalResetAliasedPage(pVM, pPage, pRam->GCPhys + ((RTGCPHYS)cLeft << PAGE_SHIFT), 1164 false /*fDoAccounting*/); 1164 pgmHandlerPhysicalResetAliasedPage(pVM, pPage, GCPhysPage, false /*fDoAccounting*/); 1165 1165 --pCur->cAliasedPages; 1166 1166 #ifndef VBOX_STRICT … … 1170 1170 } 1171 1171 Assert(PGM_PAGE_GET_TYPE(pPage) == PGMPAGETYPE_MMIO); 1172 GCPhysPage += PAGE_SIZE; 1172 1173 pPage++; 1173 1174 }
Note:
See TracChangeset
for help on using the changeset viewer.