VirtualBox

Changeset 16619 in vbox for trunk/src


Ignore:
Timestamp:
Feb 10, 2009 10:51:42 AM (16 years ago)
Author:
vboxsync
Message:

VBOX_WITH_PGMPOOL_PAGING_ONLY: call right MapCR3

File:
1 edited

Legend:

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

    r16317 r16619  
    231231     * Map and monitor CR3
    232232     */
     233#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
     234    int rc = PGM_BTH_PFN(MapCR3, pVM)(pVM, GCPhysCR3);
     235#else
    233236    int rc = PGM_BTH_NAME(MapCR3)(pVM, GCPhysCR3);
    234 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
    235237    if (RT_SUCCESS(rc) && !pVM->pgm.s.fMappingsFixed)
    236238        rc = PGM_GST_NAME(MonitorCR3)(pVM, GCPhysCR3);
     
    264266    int rc;
    265267
    266 #ifndef VBOX_WITH_PGMPOOL_PAGING_ONLY
     268#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
     269    rc = PGM_BTH_PFN(UnmapCR3, pVM)(pVM);
     270#else
    267271    rc = PGM_GST_NAME(UnmonitorCR3)(pVM);
    268272    if (RT_SUCCESS(rc))
    269 #endif
    270273        rc = PGM_BTH_NAME(UnmapCR3)(pVM);
     274#endif
    271275    return rc;
    272276}
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