VirtualBox

Changeset 17483 in vbox for trunk/src/VBox/VMM/PGMInternal.h


Ignore:
Timestamp:
Mar 6, 2009 3:59:52 PM (16 years ago)
Author:
vboxsync
Message:

Cleaned up nested paging init and removed obsolete structure members.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGMInternal.h

    r17479 r17483  
    23442344    /** @} */
    23452345
     2346# ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    23462347    /** @name Shadow paging
    23472348     * @{ */
    23482349    /** The root page table - R3 Ptr. */
    23492350    R3PTRTYPE(void *)               pShwRootR3;
    2350 # ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
     2351#  ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
    23512352    /** The root page table - R0 Ptr. */
    23522353    R0PTRTYPE(void *)               pShwRootR0;
    2353 # endif
     2354#  endif
    23542355    /** The root page table - RC Ptr. */
    23552356    RCPTRTYPE(void *)               pShwRootRC;
    2356 # if HC_ARCH_BITS == 64
     2357#  if HC_ARCH_BITS == 64
    23572358    uint32_t                        u32Padding1; /**< alignment padding. */
    2358 # endif
     2359#  endif
    23592360    /** The Physical Address (HC) of the current active shadow CR3. */
    23602361    RTHCPHYS                        HCPhysShwCR3;
     2362# endif
    23612363    /** Pointer to the page of the current active CR3 - R3 Ptr. */
    23622364    R3PTRTYPE(PPGMPOOLPAGE)         pShwPageCR3R3;
     
    30643066int             pgmR0DynMapHCPageCommon(PVM pVM, PPGMMAPSET pSet, RTHCPHYS HCPhys, void **ppv);
    30653067#endif
    3066 #if defined(IN_RC) || defined(VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0)
     3068#if !defined(VBOX_WITH_PGMPOOL_PAGING_ONLY) && (defined(IN_RC) || defined(VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0))
    30673069void           *pgmPoolMapPageFallback(PPGM pPGM, PPGMPOOLPAGE pPage);
    30683070#endif
     
    35233525        return pv;
    35243526    }
     3527#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
     3528    AssertFatalMsg(("pgmPoolMapPageInlined invalid page index %x\n", pPage->idx));
     3529#else
    35253530    return pgmPoolMapPageFallback(pPGM, pPage);
     3531#endif
    35263532}
    35273533
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