win-pvdrivers

view xennet/sources @ 1106:2d392ecdd366

Fix race is xenvbd causing 30 second freeze under high load
author James Harper <james.harper@bendigoit.com.au>
date Tue Nov 11 23:08:11 2014 +1100 (2014-11-11)
parents 16a302043197
children
line source
1 !include "..\common.inc"
2 TARGETNAME=xennet
3 TARGETTYPE=DRIVER
4 INF_NAME=$(TARGETNAME)
5 !IF "$(WIN2K_DDKBUILD)" == "1"
6 C_DEFINES=$(C_DEFINES) -D_WIN2K_COMPAT_SLIST_USAGE
7 !ENDIF
8 TARGETLIBS=$(TARGETLIBS) $(DDK_LIB_PATH)\ndis.lib
9 TARGETLIBS=$(TARGETLIBS) ..\xenpci\$(O)\xenpci.lib
10 !IF $(386)
11 TARGETLIBS=$(TARGETLIBS) $(LIBLFDS_DIR)\bin\i386\liblfds.lib
12 !ELSE
13 TARGETLIBS=$(TARGETLIBS) $(LIBLFDS_DIR)\bin\AMD64\liblfds.lib
14 !ENDIF
15 !IF "$(DDK_TARGET_OS)" == "Win2K" || "$(DDK_TARGET_OS)" == "WinXP" || "$(DDK_TARGET_OS)" == "WinNET"
16 C_DEFINES=$(C_DEFINES) -D_GPLPV_NDIS5
17 !ELSE
18 C_DEFINES=$(C_DEFINES) -D_GPLPV_NDIS6
19 !ENDIF
20 NTTARGETFILE0=$(NTTARGETFILE0) $(OBJ_PATH)\$(O)\$(INF_NAME).inf
21 SOURCES=xennet.rc xennet.c xennet_tx.c xennet_rx.c xennet_oid.c xennet_common.c