win-pvdrivers

view doc/BUILDING.txt @ 387:48df739c66d4

Removed some debugging calls to the HLT instruction
author James Harper <james.harper@bendigoit.com.au>
date Fri Jul 11 14:05:34 2008 +1000 (2008-07-11)
parents 89e1a0af859c
children b1da81cc9868
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 http://www.microsoft.com/whdc/driver/wdf/default.mspx is a good place
6 to start.
7 http://www.microsoft.com/whdc/DevTools/WDK/WDKpkg.mspx is probably a
8 better place to start.
10 2. Download and install the Nullsoft Installer from
11 http://nsis.sourceforge.net/
13 3. Use Mercurial (get it from
14 http://www.selenic.com/mercurial/wiki/index.cgi/BinaryPackages) to get
15 the latest sources from
16 http://xenbits.xensource.com/ext/win-pvdrivers.hg. The current branch
17 is wdm so you'll need to specify that branch.
19 4. Build the shutdown monitor using Visual Studio. If you don't build it,
20 then you'll need to edit it out of installer.nsi before the next step.
22 5. From the top directory, type 'makedist', which will build the drivers
23 for all architectures. If the build fails, then you probably don't have
24 exactly the 6001.17121 that i'm using. Edit set_ddk_path.bat and do a
25 'makedist' again.
27 6. Assuming all went well, your drivers should be in target/<os>/<arch>
28 directory. (<os> is win2k, winxp, winnet and winlh, arch is i386 and
29 amd64). "Xen PV Drivers <version>.exe" should also be created which is
30 the nsis installer.
32 See the INSTALLING.txt file for information on how to install.