VirtualBox

Ignore:
Timestamp:
Mar 3, 2009 2:51:57 PM (16 years ago)
Author:
vboxsync
Message:

PGM: Some MM_RAM_FLAGS_IDX_SHIFT cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllBth.h

    r17285 r17288  
    18291829                     * Make shadow PTE entry.
    18301830                     */
    1831                     const RTHCPHYS HCPhys = pPage->HCPhys; /** @todo PAGE FLAGS */
    18321831                    SHWPTE PteDst;
    18331832                    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);
    18351834                    if (PGM_PAGE_HAS_ACTIVE_HANDLERS(pPage))
    18361835                    {
     
    18431842# ifdef PGMPOOL_WITH_USER_TRACKING
    18441843                    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);
    18461845# endif
    18471846                    pPTDst->a[iPTDst] = PteDst;
     
    27412740# ifdef PGMPOOL_WITH_USER_TRACKING
    27422741                        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);
    27442743# endif
    27452744                        /* commit it */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette