Changeset 23471 in vbox for trunk/src/VBox/VMM/PGMPhys.cpp
- Timestamp:
- Oct 1, 2009 11:47:11 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMPhys.cpp
r23460 r23471 454 454 pMap->cRefs++; 455 455 456 # ifdef PGM_PAGE_WITH_LOCKS457 456 unsigned cLocks = PGM_PAGE_GET_WRITE_LOCKS(pPage); 458 457 if (RT_LIKELY(cLocks < PGM_PAGE_MAX_LOCKS - 1)) … … 465 464 pMap->cRefs++; /* Extra ref to prevent it from going away. */ 466 465 } 467 # endif468 466 469 467 *ppv = (void *)((uintptr_t)pTlbe->pv | (GCPhys & PAGE_OFFSET_MASK)); … … 530 528 pMap->cRefs++; 531 529 532 # ifdef PGM_PAGE_WITH_LOCKS533 530 unsigned cLocks = PGM_PAGE_GET_READ_LOCKS(pPage); 534 531 if (RT_LIKELY(cLocks < PGM_PAGE_MAX_LOCKS - 1)) … … 541 538 pMap->cRefs++; /* Extra ref to prevent it from going away. */ 542 539 } 543 # endif544 540 545 541 *ppv = (void *)((uintptr_t)pTlbe->pv | (GCPhys & PAGE_OFFSET_MASK));
Note:
See TracChangeset
for help on using the changeset viewer.