Changeset 32392 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Sep 10, 2010 12:06:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r32390 r32392 1426 1426 PVM pVM = pPool->CTX_SUFF(pVM); 1427 1427 1428 if ((pPage->GCPhys & PAGE_OFFSET_MASK) == 0x800) 1429 { 1430 /* Go to the 2nd half of the 32-bit PT. */ 1431 pGstPT = (PCX86PT)&pGstPT->a[512]; 1432 } 1433 1428 1434 #ifdef VBOX_STRICT 1429 1435 for (unsigned i = 0; i < RT_MIN(RT_ELEMENTS(pShwPT->a), pPage->iFirstPresent); i++) … … 1561 1567 unsigned cChanged = 0; 1562 1568 1569 if ((pPage->GCPhys & PAGE_OFFSET_MASK) == 0x800) 1570 { 1571 /* Go to the 2nd half of the 32-bit PT. */ 1572 pGstPT = (PCX86PT)&pGstPT->a[512]; 1573 pOldGstPT = (PCX86PT)&pOldGstPT->a[512]; 1574 } 1563 1575 #ifdef VBOX_STRICT 1564 1576 for (unsigned i = 0; i < RT_MIN(RT_ELEMENTS(pShwPT->a), pPage->iFirstPresent); i++) … … 1744 1756 */ 1745 1757 void *pvGst; 1746 int rc = PGM_GCPHYS_2_PTR(pVM, pPage->GCPhys , &pvGst); AssertReleaseRC(rc);1758 int rc = PGM_GCPHYS_2_PTR(pVM, pPage->GCPhys & PAGE_BASE_GC_MASK, &pvGst); AssertReleaseRC(rc); 1747 1759 memcpy(&pPool->aDirtyPages[idxFree].aPage[0], pvGst, PAGE_SIZE); 1748 1760 #ifdef VBOX_STRICT
Note:
See TracChangeset
for help on using the changeset viewer.