Changeset 23471 in vbox for trunk/src/VBox/VMM/VMMAll
- Timestamp:
- Oct 1, 2009 11:47:11 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 53085
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPhys.cpp
r23460 r23471 1070 1070 pMap->cRefs++; 1071 1071 1072 # ifdef PGM_PAGE_WITH_LOCKS1073 1072 unsigned cLocks = PGM_PAGE_GET_WRITE_LOCKS(pPage); 1074 1073 if (RT_LIKELY(cLocks < PGM_PAGE_MAX_LOCKS - 1)) … … 1081 1080 pMap->cRefs++; /* Extra ref to prevent it from going away. */ 1082 1081 } 1083 # endif1084 1082 1085 1083 *ppv = (void *)((uintptr_t)pTlbe->pv | (GCPhys & PAGE_OFFSET_MASK)); … … 1170 1168 pMap->cRefs++; 1171 1169 1172 # ifdef PGM_PAGE_WITH_LOCKS1173 1170 unsigned cLocks = PGM_PAGE_GET_READ_LOCKS(pPage); 1174 1171 if (RT_LIKELY(cLocks < PGM_PAGE_MAX_LOCKS - 1)) … … 1181 1178 pMap->cRefs++; /* Extra ref to prevent it from going away. */ 1182 1179 } 1183 # endif1184 1180 1185 1181 *ppv = (void *)((uintptr_t)pTlbe->pv | (GCPhys & PAGE_OFFSET_MASK)); … … 1292 1288 1293 1289 pgmLock(pVM); 1294 # ifdef PGM_PAGE_WITH_LOCKS1295 1290 if (fWriteLock) 1296 1291 { … … 1316 1311 PGM_PAGE_DEC_READ_LOCKS(pPage); 1317 1312 } 1318 #endif1319 1313 1320 1314 if (pMap)
Note:
See TracChangeset
for help on using the changeset viewer.