VirtualBox

Changeset 17061 in vbox


Ignore:
Timestamp:
Feb 24, 2009 12:48:23 PM (16 years ago)
Author:
vboxsync
Message:

Logging changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/PGMAllMap.cpp

    r17017 r17061  
    539539VMMDECL(int) PGMMapActivateAll(PVM pVM)
    540540{
     541#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
     542    /*
     543     * Can skip this if mappings are disabled.
     544     */
     545    if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))
     546#else
     547    /*
     548     * Can skip this if mappings are safely fixed.
     549     */
     550    if (pVM->pgm.s.fMappingsFixed)
     551#endif
     552        return VINF_SUCCESS;
     553
    541554    /* @note A log flush (in RC) can cause problems when called from MapCR3 (inconsistent state will trigger assertions). */
    542555    Log4(("PGMMapActivateAll fixed mappings=%d\n", pVM->pgm.s.fMappingsFixed));
    543 
    544 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    545     /*
    546      * Can skip this if mappings are disabled.
    547      */
    548     if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))
    549 #else
    550     /*
    551      * Can skip this if mappings are safely fixed.
    552      */
    553     if (pVM->pgm.s.fMappingsFixed)
    554 #endif
    555         return VINF_SUCCESS;
    556556
    557557#ifdef IN_RING0
     
    584584VMMDECL(int) PGMMapDeactivateAll(PVM pVM)
    585585{
     586#ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
     587    /*
     588     * Can skip this if mappings are disabled.
     589     */
     590    if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))
     591#else
     592    /*
     593     * Can skip this if mappings are safely fixed.
     594     */
     595    if (pVM->pgm.s.fMappingsFixed)
     596#endif
     597        return VINF_SUCCESS;
     598
    586599    Log(("PGMMapDeactivateAll fixed mappings=%d\n", pVM->pgm.s.fMappingsFixed));
    587 
    588 #ifdef VBOX_WITH_PGMPOOL_PAGING_ONLY
    589     /*
    590      * Can skip this if mappings are disabled.
    591      */
    592     if (!pgmMapAreMappingsEnabled(&pVM->pgm.s))
    593 #else
    594     /*
    595      * Can skip this if mappings are safely fixed.
    596      */
    597     if (pVM->pgm.s.fMappingsFixed)
    598 #endif
    599         return VINF_SUCCESS;
    600600
    601601#ifdef IN_RING0
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