VirtualBox

Changeset 12691 in vbox for trunk/src


Ignore:
Timestamp:
Sep 24, 2008 2:42:09 PM (16 years ago)
Author:
vboxsync
Message:

Solaris/vboxnetflt: Resolve R0 RT bits from vboxdrv which drags in extra RT symbols needed by NetFlt.

Location:
trunk/src/VBox/HostDrivers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r12458 r12691  
    392392vboxdrv_DEFS         += VBOX_WITH_IDT_PATCHING
    393393endif
     394ifdef VBOX_WITH_NETFLT
     395vboxdrv_DEFS         += VBOX_WITH_NETFLT
     396endif
    394397vboxdrv_INCS         := $(PATH_SUB_CURRENT)
    395398vboxdrv_LIBS          = $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
  • trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c

    r12414 r12691  
    6060#include <iprt/string.h>
    6161
     62/**
     63 * Drag in symbols from R0 Runtime required by VBoxNetFlt.
     64 */
     65#ifdef VBOX_WITH_NETFLT
     66# include <iprt/crc32.h>
     67# include <iprt/uuid.h>
     68# include <iprt/net.h>
     69
     70static RTR0PTR g_vboxNetFltSolarisRTR0Symbols[] =
     71{
     72    (void *)RTCrc32,
     73    (void *)RTUuidFromStr,
     74    (void *)RTUuidCompareStr,
     75    (void *)RTNetIPv4UDPChecksum,
     76    (void *)RTNetIPv4TCPChecksum,
     77    (void *)RTNetIPv4IsHdrValid
     78};
     79#endif  /* VBOX_WITH_NETFLT */
    6280
    6381/*******************************************************************************
     
    191209{
    192210    LogFlow((DEVICE_NAME ":_init\n"));
     211
     212#ifdef VBOX_WITH_NETFLT
     213    NOREF(g_vboxNetFltSolarisRTR0Symbols);
     214#endif
    193215
    194216    /*
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk

    r12313 r12691  
    122122vboxnetflt_LIBS = \
    123123        $(PATH_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
    124 if1of ($(KBUILD_TARGET),solaris) ## @todo vboxflt should resolve all the IPRT bits from vboxdrv.
    125 vboxnetflt_LIBS += \
    126         $(PATH_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
    127 endif
     124## vboxflt resolves all the IPRT bits from vboxdrv.
    128125vboxnetflt_SOURCES.linux = linux/VBoxNetFlt-linux.c
    129126vboxnetflt_SOURCES.solaris = solaris/VBoxNetFlt-solaris.c
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