win-pvdrivers

view common/include/gplpv_version.h @ 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 bcf3995665d3
children 04fc4aca982c
line source
1 #ifndef GPLPV_VERSION_H
2 #define GPLPV_VERSION_H
4 #define EXPAND(x) STRINGIFY(x)
5 #define STRINGIFY(x) #x
7 #ifdef BUILD_NUMBER
8 #define VER_FILEVERSION 0,10,0,BUILD_NUMBER
9 #define VER_FILEVERSION_STR "GPLPV 0.10.0." EXPAND(BUILD_NUMBER)
10 #else
11 #define VER_FILEVERSION 0,0,0,0
12 #define VER_FILEVERSION_STR "GPLPV Unversioned"
13 #endif
15 #endif