VirtualBox

Changeset 24574 in vbox


Ignore:
Timestamp:
Nov 11, 2009 9:44:52 AM (15 years ago)
Author:
vboxsync
Message:

SSMStandalone.a/lib for linking with VBoxSVC.

Location:
trunk/src/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r24571 r24574  
    257257
    258258VBoxSVC_LIBS += \
    259         $(LIB_VMM) \
     259        $(PATH_LIB)/SSMStandalone$(VBOX_SUFF_LIB) \
    260260        $(LIB_DDU)
    261 VBoxSVC_LIBS.linux = \
    262         $(LIB_REM)
    263 VBoxSVC_LIBS.darwin = \
    264         $(LIB_REM)
    265261VBoxSVC_LIBS.solaris = \
    266262        adm \
  • trunk/src/VBox/VMM/Makefile.kmk

    r24061 r24574  
    230230#endif
    231231
     232
     233
     234#
     235# SSMStandalone.lib/a for linking with VBoxSVC and other executables.
     236#
     237LIBRARIES += SSMStandalone
     238SSMStandalone_TEMPLATE  = VBOXR3EXE
     239SSMStandalone_DEFS      = IN_VMM_R3 SSM_STANDALONE
     240SSMStandalone_SOURCES   = SSM.cpp
     241
     242
    232243if1of ($(VBOX_LDR_FMT32), pe lx)
    233244
  • trunk/src/VBox/VMM/SSM.cpp

    r24566 r24574  
    864864*   Internal Functions                                                         *
    865865*******************************************************************************/
     866#ifndef SSM_STANDALONE
    866867static int                  ssmR3LazyInit(PVM pVM);
    867868static DECLCALLBACK(int)    ssmR3SelfLiveExec(PVM pVM, PSSMHANDLE pSSM, uint32_t uPass);
     
    869870static DECLCALLBACK(int)    ssmR3SelfLoadExec(PVM pVM, PSSMHANDLE pSSM, uint32_t uVersion, uint32_t uPass);
    870871static int                  ssmR3Register(PVM pVM, const char *pszName, uint32_t uInstance, uint32_t uVersion, size_t cbGuess, const char *pszBefore, PSSMUNIT *ppUnit);
     872#endif
    871873
    872874static int                  ssmR3StrmWriteBuffers(PSSMSTRM pStrm);
     
    877879
    878880
     881#ifndef SSM_STANDALONE
    879882
    880883/**
     
    15681571    return ssmR3DeregisterByNameAndType(pVM, pszName, SSMUNITTYPE_EXTERNAL);
    15691572}
     1573
     1574#endif /* !SSM_STANDALONE */
    15701575
    15711576
     
    28992904}
    29002905
     2906#ifndef SSM_STANDALONE
    29012907
    29022908/**
     
    51585164}
    51595165
     5166#endif /* !SSM_STANDALONE */
    51605167
    51615168
     
    68416848}
    68426849
     6850#ifndef SSM_STANDALONE
    68436851
    68446852/**
     
    69416949}
    69426950
     6951#endif /* !SSM_STANDALONE */
    69436952
    69446953/**
     
    74817490}
    74827491
     7492#ifndef SSM_STANDALONE
    74837493
    74847494/**
     
    77077717}
    77087718
     7719#endif /* !SSM_STANDALONE */
     7720
    77097721
    77107722/**
     
    77427754}
    77437755
     7756#ifndef SSM_STANDALONE
    77447757
    77457758/**
     
    81788191}
    81798192
     8193#endif /* !SSM_STANDALONE */
     8194
    81808195
    81818196/**
     
    86348649
    86358650
     8651#ifndef SSM_STANDALONE
    86368652/**
    86378653 * Asynchronously cancels the current SSM operation ASAP.
     
    86788694    return rc;
    86798695}
    8680 
     8696#endif /* !SSM_STANDALONE */
     8697
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