Changeset 84972 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Jun 26, 2020 2:58:51 PM (4 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk
r84945 r84972 91 91 ifeq ($(KBUILD_TARGET_ARCH),x86) 92 92 DRIVER_FILES += \ 93 $(PATH_STAGE_BIN)/additions/VBoxMouseNT.sys 93 $(PATH_STAGE_BIN)/additions/VBoxMouseNT.sys \ 94 $(PATH_STAGE_BIN)/additions/VBoxSFW2K.sys 94 95 endif 95 96 DRIVER_FILES += \ -
trunk/src/VBox/Additions/WINNT/Installer/VBoxGuestAdditionsW2KXP.nsh
r84945 r84972 302 302 303 303 ; The Shared Folder IFS goes to the system directory 304 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxSF.sys" "$g_strSystemDir\drivers\VBoxSF.sys" "$INSTDIR" 304 !if $%BUILD_TARGET_ARCH% == "x86" 305 ; On x86 we have to use a different shared folder driver linked against an older RDBSS for Windows 7 and older. 306 ${If} $g_strWinVersion == "2000" 307 ${OrIf} $g_strWinVersion == "Vista" 308 ${OrIf} $g_strWinVersion == "XP" 309 ${OrIf} $g_strWinVersion == "7" 310 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxSFW2K.sys" "$g_strSystemDir\drivers\VBoxSF.sys" "$INSTDIR" 311 ${Else} 312 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxSF.sys" "$g_strSystemDir\drivers\VBoxSF.sys" "$INSTDIR" 313 ${EndIf} 314 !else 315 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxSF.sys" "$g_strSystemDir\drivers\VBoxSF.sys" "$INSTDIR" 316 !endif 317 305 318 !insertmacro ReplaceDLL "$%PATH_OUT%\bin\additions\VBoxMRXNP.dll" "$g_strSystemDir\VBoxMRXNP.dll" "$INSTDIR" 306 319 AccessControl::GrantOnFile "$g_strSystemDir\VBoxMRXNP.dll" "(BU)" "GenericRead" -
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/Makefile.kmk
r82968 r84972 27 27 #VBoxSF_DEFS += LOG_ENABLED 28 28 29 VBoxSF_SDKS.x86 = ReorderCompilerIncs $(VBOX_WINDDK_GST_W2K3) 30 VBoxSF_SDKS.amd64 = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH) 29 VBoxSF_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH) 31 30 32 31 VBoxSF_LDFLAGS.x86 = -Entry:DriverEntry@8 … … 44 43 Win2kWorkaroundsA.asm 45 44 46 VBoxSF_LIBS .x86= \47 $(PATH_SDK_$(VBOX_WINDDK_GST_W 2K3)_LIB.x86)/rxce.lib \45 VBoxSF_LIBS = \ 46 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/rxce.lib \ 48 47 $(VBoxSF_0_OUTDIR)/rdbsslib.lib \ 49 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/copysup.lib \ 50 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ntoskrnl.lib \ 51 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/hal.lib \ 52 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ksecdd.lib \ 53 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/BufferOverflowK.lib 54 55 VBoxSF_LIBS.amd64 = \ 56 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/rxce.lib \ 57 $(VBoxSF_0_OUTDIR)/rdbsslib.lib \ 58 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/copysup.lib \ 59 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/ntoskrnl.lib \ 60 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/hal.lib \ 61 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/ksecdd.lib \ 62 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.amd64)/BufferOverflowK.lib 63 64 VBoxSF_LIBS = \ 48 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/copysup.lib \ 49 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/ntoskrnl.lib \ 50 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/hal.lib \ 51 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/ksecdd.lib \ 52 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/BufferOverflowK.lib \ 53 \ 65 54 $(VBOX_LIB_VBGL_R0) \ 66 55 $(VBOX_LIB_IPRT_GUEST_R0) … … 70 59 71 60 61 ifeq ($(KBUILD_TARGET_ARCH),x86) 62 SYSMODS += VBoxSFW2K 63 64 VBoxSFW2K_EXTENDS := VBoxSF 65 VBoxSFW2K_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_GST_W2K3) 66 VBoxSFW2K_LIBS = \ 67 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/rxce.lib \ 68 $(VBoxSFW2K_0_OUTDIR)/rdbsslib.lib \ 69 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/copysup.lib \ 70 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ntoskrnl.lib \ 71 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/hal.lib \ 72 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ksecdd.lib \ 73 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/BufferOverflowK.lib \ 74 \ 75 $(VBOX_LIB_VBGL_R0) \ 76 $(VBOX_LIB_IPRT_GUEST_R0) 77 VBoxSFW2K_CLEAN = \ 78 $(VBoxSFW2K_0_OUTDIR)/rdbsslib.lib 79 endif 80 72 81 include $(FILE_KBUILD_SUB_FOOTER) 73 82 74 83 $(call KB_FN_AUTO_CMD_DEPS,$(VBoxSF_0_OUTDIR)/rdbsslib.lib) 84 75 85 ifeq ($(KBUILD_TARGET_ARCH),x86) 76 $(VBoxSF_0_OUTDIR)/rdbsslib.lib: $$(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib | $$(dir $$@) $(VBOX_EDIT_COFF_LIB) 86 $(VBoxSF_0_OUTDIR)/rdbsslib.lib: $$(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib | $$(dir $$@) $(VBOX_EDIT_COFF_LIB) 87 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 88 $(VBOX_EDIT_COFF_LIB) --input "$(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib" --output "$@" \ 89 --select "write.obj" \ 90 --redefine-sym "__imp__CcFlushCache@16=_g_pfnWrFlushCache" \ 91 --redefine-sym "__imp__CcPurgeCacheSection@16=_g_pfnWrPurgeCacheSection" \ 92 --select "read.obj" \ 93 --redefine-sym "__imp__CcFlushCache@16=_g_pfnRdFlushCache" 94 95 $(call KB_FN_AUTO_CMD_DEPS,$(VBoxSFW2K_0_OUTDIR)/rdbsslib.lib) 96 $(VBoxSFW2K_0_OUTDIR)/rdbsslib.lib: $$(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib | $$(dir $$@) $(VBOX_EDIT_COFF_LIB) 77 97 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 78 98 $(VBOX_EDIT_COFF_LIB) --input "$(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib" --output "$@" \
Note:
See TracChangeset
for help on using the changeset viewer.