VirtualBox

Changeset 14404 in vbox


Ignore:
Timestamp:
Nov 20, 2008 12:20:49 PM (16 years ago)
Author:
vboxsync
Message:

PGMR0DynMap: Disabled the init/term code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/PGMR0DynMap.cpp

    r14378 r14404  
    165165VMMR0DECL(int) PGMR0DynMapInit(void)
    166166{
     167#ifndef DEBUG_bird
     168    return VINF_SUCCESS;
     169#else
    167170    Assert(!g_pPGMR0DynMap);
    168171
     
    211214    RTMemFree(pThis);
    212215    return rc;
     216#endif
    213217}
    214218
     
    219223VMMR0DECL(void) PGMR0DynMapTerm(void)
    220224{
     225#ifdef DEBUG_bird
    221226    /*
    222227     * Destroy the cache.
     
    247252        RTMemFree(pThis);
    248253    }
     254#endif
    249255}
    250256
     
    258264VMMR0DECL(int) PGMR0DynMapInitVM(PVM pVM)
    259265{
     266#ifndef DEBUG_bird
     267    return VINF_SUCCESS;
     268#else
    260269    /*
    261270     * Initialize the auto sets.
     
    301310
    302311    return rc;
     312#endif
    303313}
    304314
     
    311321VMMR0DECL(void) PGMR0DynMapTermVM(PVM pVM)
    312322{
     323#ifdef DEBUG_bird
    313324    /*
    314325     * Return immediately if we're not using the cache.
     
    376387
    377388    RTSemFastMutexRelease(pThis->hInitLock);
     389#endif
    378390}
    379391
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