- Timestamp:
- Mar 6, 2009 1:59:51 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/TRPM.cpp
r16478 r17428 1320 1320 * (This function checks for not-present pages.) 1321 1321 */ 1322 PVBOXIDTE pIDTE; 1323 int rc = PGMPhysGCPtr2R3Ptr(pVM, GCPtrIDTE, (void **)&pIDTE); 1322 PCVBOXIDTE pIDTE; 1323 PGMPAGEMAPLOCK Lock; 1324 int rc = PGMPhysGCPtr2CCPtrReadOnly(pVM, GCPtrIDTE, (const void **)&pIDTE, &Lock); 1324 1325 if (RT_SUCCESS(rc)) 1325 1326 { … … 1334 1335 RTRCPTR GCPtrHandler = VBOXIDTE_OFFSET(*pIDTE); 1335 1336 if (GCPtr == GCPtrHandler) 1337 { 1338 PGMPhysReleasePageMappingLock(pVM, &Lock); 1336 1339 return true; 1340 } 1337 1341 } 1338 1342 … … 1348 1352 pIDTE++; 1349 1353 } 1354 PGMPhysReleasePageMappingLock(pVM, &Lock); 1350 1355 } 1351 1356 else
Note:
See TracChangeset
for help on using the changeset viewer.