view doc/BUILDING.txt @ 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 <>
date Wed Oct 14 14:46:39 2009 +1100 (2009-10-14)
parents 90f1b34f4516
children 0b79cfdae922
line source
1 1. Download and install the Windows Driver Framework SDK (6001 is all
2 that is supported now) from Microsoft. You have to jump through a few
3 hoops to get it, but it is free (as in beer of course. Microsoft don't
4 do the 'as in speech' variety of free). It's also huge.
5 is a good place
6 to start.
7 is probably a
8 better place to start.
10 2. Download and install the Nullsoft Installer from
13 3. Use Mercurial (get it from
14 to get
15 the latest sources from
18 4. From the top directory, type 'makedist', which will build the drivers
19 for all architectures. If the build fails, then you probably don't have
20 exactly the 6001.17121 that i'm using. Edit set_ddk_path.bat and do a
21 'makedist' again.
23 5. Assuming all went well, your drivers should be in target/<os>/<arch>
24 directory. (<os> is win2k, winxp, winnet and winlh, arch is i386 and
25 amd64). "Xen PV Drivers <version>.exe" should also be created which is
26 the nsis installer.
28 See the INSTALLING.txt file for information on how to install.