Changeset 32035 in vbox for trunk/src/VBox/VMM/VMMRZ
- Timestamp:
- Aug 27, 2010 10:08:21 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMRZ/PGMRZDynMap.cpp
r32034 r32035 1010 1010 RTHCPHYS HCPhysPte = pThis->fLegacyMode 1011 1011 ? pThis->paPages[iPage].uPte.pLegacy->u & X86_PTE_PG_MASK 1012 : pThis->paPages[iPage].uPte.pPae->u & X86_PTE_PAE_PG_MASK ;1012 : pThis->paPages[iPage].uPte.pPae->u & X86_PTE_PAE_PG_MASK_FULL; 1013 1013 if (HCPhysPage != HCPhysPte) 1014 1014 { … … 1440 1440 X86PGPAEUINT uNew = (uOld & (X86_PTE_G | X86_PTE_PAT | X86_PTE_PCD | X86_PTE_PWT)) 1441 1441 | X86_PTE_P | X86_PTE_RW | X86_PTE_A | X86_PTE_D 1442 | (HCPhys & X86_PTE_PAE_PG_MASK );1442 | (HCPhys & X86_PTE_PAE_PG_MASK_FULL); 1443 1443 while (!ASMAtomicCmpXchgExU64(&paPages[iFreePage].uPte.pPae->u, uNew, uOld, &uOld)) 1444 1444 AssertMsgFailed(("uOld=%#llx uOld2=%#llx uNew=%#llx\n", uOld, uOld2, uNew)); … … 1624 1624 | (paSavedPTEs[iPage] & (X86_PTE_G | X86_PTE_PAT | X86_PTE_PCD | X86_PTE_PWT)) 1625 1625 #endif 1626 | (paPages[iPage].HCPhys & X86_PTE_PAE_PG_MASK );1626 | (paPages[iPage].HCPhys & X86_PTE_PAE_PG_MASK_FULL); 1627 1627 CHECK_RET(paPages[iPage].uPte.pLegacy->u == uPte, 1628 1628 ("#%u: %#x %#x", iPage, paPages[iPage].uPte.pLegacy->u, uPte)); … … 1664 1664 | (paSavedPTEs[iPage] & (X86_PTE_G | X86_PTE_PAT | X86_PTE_PCD | X86_PTE_PWT)) 1665 1665 #endif 1666 | (paPages[iPage].HCPhys & X86_PTE_PAE_PG_MASK );1666 | (paPages[iPage].HCPhys & X86_PTE_PAE_PG_MASK_FULL); 1667 1667 CHECK_RET(paPages[iPage].uPte.pPae->u == uPte, 1668 1668 ("#%u: %#llx %#llx", iPage, paPages[iPage].uPte.pLegacy->u, uPte));
Note:
See TracChangeset
for help on using the changeset viewer.