win-pvdrivers

diff liblfds.6/building.txt @ 766:6300617040e0

Big changes - not ready for production use.
Removed all the custom DMA handling code as it was completely incompatible with the Windows verifier.
Added liblfds (using the lock free stack) from liblfds.org so that grant's can be obtained at DIRQL.
Fixed xennet and xenvbd to support the changes.
xenusb and xenscsi almost certainly will not yet work after the changes.
author James Harper <james.harper@bendigoit.com.au>
date Sun Jan 31 21:28:42 2010 +1100 (2010-01-31)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/liblfds.6/building.txt	Sun Jan 31 21:28:42 2010 +1100
     1.3 @@ -0,0 +1,38 @@
     1.4 +building liblfds
     1.5 +================
     1.6 +
     1.7 +Windows (user-mode)
     1.8 +===================
     1.9 +1. Use Microsoft Visual Studio 2008 or Visual C++ 2008 Express Edition
    1.10 +   to load "liblfds.sln".
    1.11 +
    1.12 +2. Use Microsoft Windows SDK and GNUmake to run makefile.windows (obviously
    1.13 +   you'll need to have run the appropriate vcvars*.bat first; you can build
    1.14 +   for both IA64, 64-bit and 32-bit - just run the correct vcvars batch file).
    1.15 +
    1.16 +   Targets are "librel", "libdbg", "dllrel", "dlldbg" and "clean".  You need
    1.17 +   to clean between switching targets.
    1.18 +
    1.19 +Windows (kernel)
    1.20 +================
    1.21 +Use the Windows Driver Kit "build" command.  Prior to running "build",
    1.22 +if you wish to build a static library, run the batch file
    1.23 +"runme_before_win_kernel_static_lib_build.bat"; if you wish to
    1.24 +build a dynamic library, instead run "runme_before_win_kernel_dynamic_lib_build.bat".
    1.25 +
    1.26 +The Windows kernel build system is rather limited and rather than
    1.27 +really rather messing up the directory/file structure just for the
    1.28 +Windows kernel platform, I've instead arranged it that these batch
    1.29 +files do the necessary work so that "build" will work.
    1.30 +
    1.31 +The batch files are idempotent; you can run them as often as you
    1.32 +like, in any order, at any time (before or after builds), and they'll
    1.33 +do the right thing.
    1.34 +
    1.35 +Linux
    1.36 +=====
    1.37 +Use GNUmake to run "makefile.linux".  Targets are "arrel", "ardbg",
    1.38 +"sorel", "sodbg" and "clean".  You need to clean between switching
    1.39 +targets.
    1.40 +
    1.41 +