Changeset 56263 in vbox
- Timestamp:
- Jun 5, 2015 3:22:11 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 4 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r56262 r56263 665 665 endif 666 666 # Use VBoxNetAdp for host only networking. 667 if1of ($(KBUILD_TARGET), darwin freebsd linux solaris ) ## @todo this should be set and used on windows too.667 if1of ($(KBUILD_TARGET), darwin freebsd linux solaris win) 668 668 VBOX_WITH_NETADP = 1 669 669 endif -
trunk/src/VBox/HostDrivers/Makefile.kmk
r56262 r56263 36 36 endif 37 37 endif 38 if1of ($(KBUILD_TARGET), darwin solaris linux freebsd)38 if1of ($(KBUILD_TARGET), darwin solaris win linux freebsd) 39 39 ifdef VBOX_WITH_NETADP 40 40 include $(PATH_SUB_CURRENT)/VBoxNetAdp/Makefile.kmk -
trunk/src/VBox/HostDrivers/VBoxNetAdp/Makefile.kmk
r56262 r56263 92 92 endif # darwin 93 93 94 ifeq ($(KBUILD_TARGET),win) 95 # 96 # VBoxNetAdp6.sys - The VirtualBox Adapter miniport driver. 97 # 98 SYSMODS.win += VBoxNetAdp6 99 VBoxNetAdp6_TEMPLATE = VBOXR0DRV 100 if defined(VBOX_SIGNING_MODE) 101 VBoxNetAdp6_INSTTYPE.win = none 102 VBoxNetAdp6_DEBUG_INSTTYPE.win = both 103 endif 104 VBoxNetAdp6_DEFS = IN_RT_R0 IN_SUP_STATIC 105 VBoxNetAdp6_INCS := $(PATH_SUB_CURRENT) 106 VBoxNetAdp6_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK)INCS 107 VBoxNetAdp6_SOURCES = \ 108 win/VBoxNetAdp-win.cpp \ 109 win/VBoxNetAdp-win.rc 110 VBoxNetAdp6_DEFS += NDIS_MINIPORT_DRIVER NDIS_WDM=1 BINARY_COMPATIBLE=0 111 VBoxNetAdp6_DEFS += NDIS60_MINIPORT=1 NDIS60=1 112 VBoxNetAdp6_LDFLAGS.win.x86 = -Entry:DriverEntry@8 113 VBoxNetAdp6_LDFLAGS.win.amd64 = -Entry:DriverEntry 114 VBoxNetAdp6_LIBS.win = \ 115 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ntoskrnl.lib \ 116 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/hal.lib \ 117 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ndis.lib \ 118 $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB) 119 VBoxNetAdp6_LIBS = \ 120 $(PATH_STAGE_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB) 121 122 123 INSTALLS.win += VBoxNetAdp6-inf 124 VBoxNetAdp6-inf_INST = $(INST_BIN) 125 VBoxNetAdp6-inf_MODE = a+r,u+w 126 VBoxNetAdp6-inf_SOURCES = \ 127 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf 128 VBoxNetAdp6-inf_CLEAN = $(VBoxNetAdp6-inf_SOURCES) 129 VBoxNetAdp6-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetAdp6Cat.dir 130 131 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf: $(PATH_SUB_CURRENT)/win/VBoxNetAdp6.inf $(MAKEFILE_CURRENT) | $$(dir $$@) 132 $(call MSG_GENERATE,VBoxNetAdp6-inf,$@,$<) 133 $(call VBOX_EDIT_INF_FN,$<,$@) 134 135 ifdef VBOX_SIGNING_MODE 136 VBoxNetAdp6-inf_SOURCES += \ 137 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \ 138 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat 139 140 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys: $$(VBoxNetAdp6_1_TARGET) | $$(dir $$@) 141 $(INSTALL) -m 644 $< $(@D) 142 143 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat: \ 144 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \ 145 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf 146 $(call MSG_TOOL,Inf2Cat,VBoxNetFlt-inf,$@,$<) 147 $(call VBOX_MAKE_CAT_FN, $(@D),$@) 148 149 endif # ifdef VBOX_SIGNING_MODE 150 151 endif #ifeq ($(KBUILD_TARGET), win) 152 94 153 ifeq ($(KBUILD_TARGET),linux) 95 154 # -
trunk/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk
r56262 r56263 157 157 VBoxNetLwf_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK)INCS 158 158 VBoxNetLwf_SOURCES.win = \ 159 win/ndis6/VBoxNetLwf-win.cpp 160 # win/drv/VBoxNetLwfRt-win.cpp \ 161 # win/drv/VBoxNetLwf-win.rc 159 win/drv/VBoxNetLwf-win.cpp 162 160 # with WINDDKWLH the WIN9X_COMPAT_SPINLOCK is needed to avoid inline declaration of KeInitializeSpinLock 163 161 # otherwise the linker would complain about dumplicate _KeInitializeSpinLock@4 definition … … 192 190 VBoxNetLwf-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetLwfCat.dir 193 191 194 $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.inf: $(PATH_SUB_CURRENT)/win/ ndis6/VBoxNetLwf.inf $(MAKEFILE_CURRENT) | $$(dir $$@)192 $(PATH_TARGET)/VBoxNetLwfCat.dir/VBoxNetLwf.inf: $(PATH_SUB_CURRENT)/win/drv/VBoxNetLwf.inf $(MAKEFILE_CURRENT) | $$(dir $$@) 195 193 $(call MSG_GENERATE,VBoxNetLwf-inf,$@,$<) 196 194 $(call VBOX_EDIT_INF_FN,$<,$@) … … 445 443 $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.sys \ 446 444 $(PATH_TARGET)/VBoxNetAdpCat.dir/VBoxNetAdp.inf 447 $(call MSG_TOOL,Inf2Cat,VBoxNetFlt-inf,$@,$<)448 $(call VBOX_MAKE_CAT_FN, $(@D),$@)449 450 endif # ifdef VBOX_SIGNING_MODE451 452 #453 # VBoxNetAdp6.sys - The VirtualBox Adapter miniport driver.454 #455 SYSMODS.win += VBoxNetAdp6456 VBoxNetAdp6_TEMPLATE = VBOXR0DRV457 #VBoxNetAdp6_INST = $(INST_VBOXNETADP)458 if defined(VBOX_SIGNING_MODE)459 VBoxNetAdp6_INSTTYPE.win = none460 VBoxNetAdp6_DEBUG_INSTTYPE.win = both461 endif462 VBoxNetAdp6_DEFS = IN_RT_R0 IN_SUP_STATIC463 VBoxNetAdp6_INCS := $(PATH_SUB_CURRENT)464 VBoxNetAdp6_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_WLH) $(VBOX_WINPSDK)INCS465 VBoxNetAdp6_SOURCES = \466 win/ndis6/VBoxNetAdp-win.cpp \467 win/ndis6/VBoxNetAdp-win.rc468 VBoxNetAdp6_DEFS += NDIS_MINIPORT_DRIVER NDIS_WDM=1 BINARY_COMPATIBLE=0469 VBoxNetAdp6_DEFS += NDIS60_MINIPORT=1 NDIS60=1470 VBoxNetAdp6_LDFLAGS.win.x86 = -Entry:DriverEntry@8471 VBoxNetAdp6_LDFLAGS.win.amd64 = -Entry:DriverEntry472 VBoxNetAdp6_LIBS.win = \473 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ntoskrnl.lib \474 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/hal.lib \475 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/ndis.lib \476 $(PATH_STAGE_LIB)/RuntimeR0Drv$(VBOX_SUFF_LIB)477 VBoxNetAdp6_LIBS = \478 $(PATH_STAGE_LIB)/SUPR0IdcClient$(VBOX_SUFF_LIB)479 480 481 INSTALLS.win += VBoxNetAdp6-inf482 VBoxNetAdp6-inf_INST = $(INST_BIN)483 VBoxNetAdp6-inf_MODE = a+r,u+w484 VBoxNetAdp6-inf_SOURCES = \485 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf486 VBoxNetAdp6-inf_CLEAN = $(VBoxNetAdp6-inf_SOURCES)487 VBoxNetAdp6-inf_BLDDIRS = $(PATH_TARGET)/VBoxNetAdp6Cat.dir488 489 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf: $(PATH_SUB_CURRENT)/win/ndis6/VBoxNetAdp6.inf $(MAKEFILE_CURRENT) | $$(dir $$@)490 $(call MSG_GENERATE,VBoxNetAdp6-inf,$@,$<)491 $(call VBOX_EDIT_INF_FN,$<,$@)492 493 ifdef VBOX_SIGNING_MODE494 VBoxNetAdp6-inf_SOURCES += \495 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \496 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat497 498 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys: $$(VBoxNetAdp6_1_TARGET) | $$(dir $$@)499 $(INSTALL) -m 644 $< $(@D)500 501 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.cat: \502 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.sys \503 $(PATH_TARGET)/VBoxNetAdp6Cat.dir/VBoxNetAdp6.inf504 445 $(call MSG_TOOL,Inf2Cat,VBoxNetFlt-inf,$@,$<) 505 446 $(call VBOX_MAKE_CAT_FN, $(@D),$@) -
trunk/src/VBox/HostDrivers/VBoxNetFlt/win/drv/VBoxNetLwf-win.cpp
r56262 r56263 88 88 89 89 #include "VBoxNetLwf-win.h" 90 #include "VBox NetCmn-win.h"90 #include "VBox/VBoxNetCmn-win.h" 91 91 92 92 /* Forward declarations */
Note:
See TracChangeset
for help on using the changeset viewer.