VirtualBox

Changeset 28793 in vbox


Ignore:
Timestamp:
Apr 27, 2010 7:21:16 AM (15 years ago)
Author:
vboxsync
Message:

#ifdef VBOX_WITH_PAGE_SHARING

File:
1 edited

Legend:

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

    r28434 r28793  
    5252                                         unsigned cRegions, VMMDEVSHAREDREGIONDESC *pRegions)
    5353{
     54#ifdef VBOX_WITH_PAGE_SHARING
    5455    return GMMR3RegisterSharedModule(pVM, pszModuleName, pszVersion, GCBaseAddr, cbModule, cRegions, pRegions);
     56#else
     57    return VERR_NOT_IMPLEMENTED;
     58#endif
    5559}
    5660
     
    6872VMMR3DECL(int) PGMR3SharedModuleUnregister(PVM pVM, char *pszModuleName, char *pszVersion, RTGCPTR GCBaseAddr, uint32_t cbModule)
    6973{
     74#ifdef VBOX_WITH_PAGE_SHARING
    7075    return GMMR3UnregisterSharedModule(pVM, pszModuleName, pszVersion, GCBaseAddr, cbModule);
     76#else
     77    return VERR_NOT_IMPLEMENTED;
     78#endif
    7179}
    7280
     
    8088VMMR3DECL(int) PGMR3SharedModuleCheck(PVM pVM)
    8189{
     90#ifdef VBOX_WITH_PAGE_SHARING
    8291    return GMMR3CheckSharedModules(pVM);
     92#else
     93    return VERR_NOT_IMPLEMENTED;
     94#endif
    8395}
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