Changeset 17288 in vbox for trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
- Timestamp:
- Mar 3, 2009 2:51:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r17285 r17288 1829 1829 * Make shadow PTE entry. 1830 1830 */ 1831 const RTHCPHYS HCPhys = pPage->HCPhys; /** @todo PAGE FLAGS */1832 1831 SHWPTE PteDst; 1833 1832 PteDst.u = (PdeSrc.u & ~(X86_PTE_PAE_PG_MASK | X86_PTE_AVL_MASK | X86_PTE_PAT | X86_PTE_PCD | X86_PTE_PWT)) 1834 | (HCPhys & X86_PTE_PAE_PG_MASK);1833 | PGM_PAGE_GET_HCPHYS(pPage); 1835 1834 if (PGM_PAGE_HAS_ACTIVE_HANDLERS(pPage)) 1836 1835 { … … 1843 1842 # ifdef PGMPOOL_WITH_USER_TRACKING 1844 1843 if (PteDst.n.u1Present && !pPTDst->a[iPTDst].n.u1Present) 1845 PGM_BTH_NAME(SyncPageWorkerTrackAddref)(pVM, pShwPage, HCPhys >> MM_RAM_FLAGS_IDX_SHIFT, pPage, iPTDst);1844 PGM_BTH_NAME(SyncPageWorkerTrackAddref)(pVM, pShwPage, PGM_PAGE_GET_TRACKING(pPage), pPage, iPTDst); 1846 1845 # endif 1847 1846 pPTDst->a[iPTDst] = PteDst; … … 2741 2740 # ifdef PGMPOOL_WITH_USER_TRACKING 2742 2741 if (PteDst.n.u1Present) 2743 PGM_BTH_NAME(SyncPageWorkerTrackAddref)(pVM, pShwPage, pPage->HCPhys >> MM_RAM_FLAGS_IDX_SHIFT, pPage, iPTDst); /** @todo PAGE FLAGS */2742 PGM_BTH_NAME(SyncPageWorkerTrackAddref)(pVM, pShwPage, PGM_PAGE_GET_TRACKING(pPage), pPage, iPTDst); 2744 2743 # endif 2745 2744 /* commit it */
Note:
See TracChangeset
for help on using the changeset viewer.