win-pvdrivers

view sign_inf.bat @ 685:c13ccf5a629b

Fixed a bug in the dma routines which was causing memory corruption. In some cases when Windows gave an MDL that was longer than the buffer to be dma'd, the end of the buffer would be overwritten. The only time I am aware of this occuring is on one particular map in Call Of Duty 4.

Split out the dma routines from xenpci_pdo.c into xenpci_dma.c
author James Harper <james.harper@bendigoit.com.au>
date Wed Oct 14 14:46:39 2009 +1100 (2009-10-14)
parents 7359efee2d6f
children
line source
1 @ECHO OFF
2 IF NOT EXIST SIGN_CONFIG.BAT GOTO DONT_SIGN
3 CALL SIGN_CONFIG.BAT
4 IF %_BUILDARCH%==x86 SET BUILDDIR=%BUILD_ALT_DIR%\i386 ELSE SET BUILDDIR=%BUILD_ALT_DIR%\amd64
5 %DDK_PATH%\bin\selfsign\inf2cat /driver:%BUILD_ALT_DIR%/xenpci.inf /os:%2
6 %DDK_PATH%\bin\selfsign\signtool sign /v /n %CERT_NAME% /t http://timestamp.verisign.com/scripts/timestamp.dll target\%1\%2\xennet.sys target\%1\%2\xenpci.sys target\%1\%2\xenvbd.sys target\%1\%2\xenstub.sys target\%1\%2\xenhide.sys target\%1\%2\xenscsi.sys
7 %DDK_PATH%\bin\selfsign\signtool sign /v /n %CERT_NAME% /t http://timestamp.verisign.com/scripts/timestamp.dll target\%1\xengplpv.cat
8 :DONT_SIGN
9 (env.BUILD_ALT_DIR)\$(var.ARCHDIR)