win-pvdrivers

view xenscsi/xenscsi.rc @ 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 cfee9cb572cc
children
line source
1 #include <windows.h>
2 #include <ntverp.h>
3 #include "gplpv_version.h"
5 #define VER_FILETYPE VFT_DRV
6 #define VER_FILESUBTYPE VFT2_DRV_SYSTEM
7 #ifdef DEBUG
8 #define VER_FILEDESCRIPTION_STR "GPLPV XenSCSI Driver"
9 #else
10 #define VER_FILEDESCRIPTION_STR "GPLPV XenSCSI Driver (Checked Build)"
11 #endif
12 #define VER_INTERNALNAME_STR "xenscsi.sys"
13 #define VER_ORIGINALFILENAME_STR "xenscsi.sys"
15 #undef VER_PRODUCTVERSION
16 #define VER_PRODUCTVERSION VER_FILEVERSION
17 #undef VER_PRODUCTVERSION_STR
18 #define VER_PRODUCTVERSION_STR VER_FILEVERSION_STR
19 #define VER_LEGALCOPYRIGHT_STR "Copyright (C) 2009 James Harper"
21 #ifdef VER_COMPANYNAME_STR
22 #undef VER_COMPANYNAME_STR
23 #define VER_COMPANYNAME_STR "James Harper"
24 #endif
25 #undef VER_PRODUCTNAME_STR
26 #define VER_PRODUCTNAME_STR "PV Drivers for Windows"
28 #include "common.ver"