VirtualBox

Changeset 16865 in vbox


Ignore:
Timestamp:
Feb 17, 2009 4:52:24 PM (16 years ago)
Author:
vboxsync
Message:

VBOX_WITH_PGMPOOL_PAGING_ONLY: updates

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PGM.cpp

    r16859 r16865  
    11571157    pVM->pgm.s.enmHostMode      = SUPPAGINGMODE_INVALID;
    11581158    pVM->pgm.s.GCPhysCR3        = NIL_RTGCPHYS;
     1159#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    11591160    pVM->pgm.s.GCPhysGstCR3Monitored = NIL_RTGCPHYS;
     1161#endif
    11601162    pVM->pgm.s.fA20Enabled      = true;
    11611163    pVM->pgm.s.GCPhys4MBPSEMask = RT_BIT_64(32) - 1; /* default; checked later */
  • trunk/src/VBox/VMM/PGMInternal.h

    r16840 r16865  
    5757 * Enable to use the PGM pool for all levels in the paging chain in all paging modes.
    5858 */
    59 //#define VBOX_WITH_PGMPOOL_PAGING_ONLY
     59#define VBOX_WITH_PGMPOOL_PAGING_ONLY
    6060
    6161/**
     
    21752175    uint32_t                        u32Alignment;
    21762176#endif
     2177#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    21772178    /** The physical address of the currently monitored guest CR3 page.
    21782179     * When this value is NIL_RTGCPHYS no page is being monitored. */
    21792180    RTGCPHYS                        GCPhysGstCR3Monitored;
    2180 
     2181#endif
    21812182    /** @name 32-bit Guest Paging.
    21822183     * @{ */
  • trunk/src/VBox/VMM/VMMAll/PGMAll.cpp

    r16733 r16865  
    722722        pVM->pgm.s.fSyncFlags &= ~PGM_SYNC_MONITOR_CR3;
    723723        Assert(!pVM->pgm.s.fMappingsFixed);
     724#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    724725        Assert(pVM->pgm.s.GCPhysCR3 == pVM->pgm.s.GCPhysGstCR3Monitored);
    725 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    726726        rc = PGM_GST_PFN(MonitorCR3, pVM)(pVM, pVM->pgm.s.GCPhysCR3);
    727727#endif
     
    18511851            pVM->pgm.s.fSyncFlags &= ~PGM_SYNC_MONITOR_CR3;
    18521852            Assert(!pVM->pgm.s.fMappingsFixed);
     1853#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    18531854            Assert(pVM->pgm.s.GCPhysCR3 == pVM->pgm.s.GCPhysGstCR3Monitored);
    1854 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    18551855            rc = PGM_GST_PFN(MonitorCR3, pVM)(pVM, pVM->pgm.s.GCPhysCR3);
    18561856#endif
  • trunk/src/VBox/VMM/testcase/tstVMStructGC.cpp

    r16317 r16865  
    413413    GEN_CHECK_OFF(PGM, GCPhysCR3);
    414414    GEN_CHECK_OFF(PGM, GCPtrCR3Mapping);
     415#ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    415416    GEN_CHECK_OFF(PGM, GCPhysGstCR3Monitored);
     417#endif
    416418    GEN_CHECK_OFF(PGM, pGst32BitPdR3);
    417419#ifndef VBOX_WITH_2X_4GB_ADDR_SPACE
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