VirtualBox

Changeset 52134 in vbox for trunk/src/VBox/HostDrivers


Ignore:
Timestamp:
Jul 22, 2014 5:39:46 PM (11 years ago)
Author:
vboxsync
Message:

NDIS6: Cumulative commit containing async send, unload race fix (intnet), missing offload fix, basic vboxnetadp6.sys (#7231)

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

Legend:

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

    r51586 r52134  
    290290 ifndef VBOX_OSE
    291291 #
     292 # NetAdp6Install
     293 #
     294 PROGRAMS.win  += NetAdp6Install
     295 NetAdp6Install_TEMPLATE = VBOXR3STATIC
     296 NetAdp6Install_SDKS     = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBOX_NTDLL
     297 NetAdp6Install_SOURCES  = win/tools/VBoxNetAdpInstall.cpp
     298 NetAdp6Install_DEFS    += NDIS60=1
     299 NetAdp6Install_LIBS     = \
     300        $(WinNetConfig_1_TARGET) \
     301        $(PATH_STAGE_LIB)/VBoxDrvCfg$(VBOX_SUFF_LIB) \
     302        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/Newdev.lib \
     303        $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/comsupp.lib \
     304        $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/WbemUuid.Lib
     305
     306
     307 #
    292308 # NetLwfInstall
    293309 #
     
    420436
    421437 endif #  ifdef VBOX_SIGNING_MODE
     438
     439 ifdef VBOX_WITH_NDIS6
     440 #
     441 # VBoxNetAdp6.sys - The VirtualBox Adapter miniport driver.
     442 #
     443 SYSMODS.win += VBoxNetAdp6
     444 VBoxNetAdp6_TEMPLATE = VBOXR0DRV
     445 #VBoxNetAdp6_INST = $(INST_VBOXNETADP)
     446 if defined(VBOX_SIGNING_MODE)
     447  VBoxNetAdp6_INSTTYPE.win = none
     448  VBoxNetAdp6_DEBUG_INSTTYPE.win = both
     449 endif
     450 VBoxNetAdp6_DEFS = IN_RT_R0 IN_SUP_STATIC
     451 VBoxNetAdp6_INCS := $(PATH_SUB_CURRENT)
     452 VBoxNetAdp6_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK)INCS
     453 VBoxNetAdp6_SOURCES = \
     454        win/ndis6/VBoxNetAdp-win.cpp \
     455        win/ndis6/VBoxNetAdp-win.rc
     456 VBoxNetAdp6_DEFS += NDIS_MINIPORT_DRIVER NDIS_WDM=1 BINARY_COMPATIBLE=0
     457 VBoxNetAdp6_DEFS += NDIS60_MINIPORT=1 NDIS60=1
     458 VBoxNetAdp6_LDFLAGS.win.x86 = -Entry:DriverEntry@8
     459 VBoxNetAdp6_LDFLAGS.win.amd64 = -Entry:DriverEntry
     460 VBoxNetAdp6_LIBS.win = \
     461        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ntoskrnl.lib \
     462        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/hal.lib \
     463        $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ndis.lib \
     464        $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)
     465 VBoxNetAdp6_LIBS = \
     466        $(PATH_STAGE_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)
     467
     468
     469 INSTALLS.win += VBoxNetAdp6-inf
     470 VBoxNetAdp6-inf_INST = $(INST_BIN)
     471 VBoxNetAdp6-inf_MODE = a+r,u+w
     472 VBoxNetAdp6-inf_SOURCES = \
     473        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf
     474 VBoxNetAdp6-inf_CLEAN = $(VBoxNetAdp6-inf_SOURCES)
     475 VBoxNetAdp6-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetAdp6Cat.dir
     476
     477$(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf: $(PATH_SUB_CURRENT)/win/ndis6/VBoxNetAdp6.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
     478        $(call MSG_GENERATE,VBoxNetAdp6-inf,$@,$<)
     479        $(call VBOX_EDIT_INF_FN,$<,$@)
     480
     481 ifdef VBOX_SIGNING_MODE
     482VBoxNetAdp6-inf_SOURCES += \
     483        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \
     484        $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat
     485
     486$(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys: $$(VBoxNetAdp6_1_TARGET) | $$(dir $$@)
     487        $(INSTALL) -m 644 $< $(@D)
     488
     489$(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat: \
     490                $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \
     491                $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf
     492        $(call MSG_TOOL,Inf2Cat,VBoxNetFlt-inf,$@,$<)
     493        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
     494
     495 endif #  ifdef VBOX_SIGNING_MODE
     496
     497 endif #  ifdef VBOX_WITH_NDIS6
    422498
    423499endif #ifeq ($(KBUILD_TARGET), win)
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFlt.c

    r48952 r52134  
    751751 * @copydoc INTNETTRUNKIFPORT::pfnRetain
    752752 */
     753#ifdef VBOX_WITH_INTNET_DISCONNECT
     754static DECLCALLBACK(void) vboxNetFltPortRelease(PINTNETTRUNKIFPORT pIfPort, bool fBusy)
     755{
     756    PVBOXNETFLTINS pThis = IFPORT_2_VBOXNETFLTINS(pIfPort);
     757    vboxNetFltRelease(pThis, fBusy);
     758}
     759#else /* !VBOX_WITH_INTNET_DISCONNECT */
    753760static DECLCALLBACK(void) vboxNetFltPortRelease(PINTNETTRUNKIFPORT pIfPort)
    754761{
     
    756763    vboxNetFltRelease(pThis, false /* fBusy */);
    757764}
     765#endif /* !VBOX_WITH_INTNET_DISCONNECT */
    758766
    759767
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/win/tools/VBoxNetAdpInstall.cpp

    r41110 r52134  
    2222#include <devguid.h>
    2323
     24#ifdef NDIS60
     25#define VBOX_NETADP_INF L"VBoxNetAdp6.inf"
     26#else /* !NDIS60 */
    2427#define VBOX_NETADP_INF L"VBoxNetAdp.inf"
     28#endif /* !NDIS60 */
    2529
    2630static VOID winNetCfgLogger(LPCSTR szString)
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