view 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 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 <>
date Sun Jan 31 21:28:42 2010 +1100 (2010-01-31)
line source
1 building liblfds
2 ================
4 Windows (user-mode)
5 ===================
6 1. Use Microsoft Visual Studio 2008 or Visual C++ 2008 Express Edition
7 to load "liblfds.sln".
9 2. Use Microsoft Windows SDK and GNUmake to run (obviously
10 you'll need to have run the appropriate vcvars*.bat first; you can build
11 for both IA64, 64-bit and 32-bit - just run the correct vcvars batch file).
13 Targets are "librel", "libdbg", "dllrel", "dlldbg" and "clean". You need
14 to clean between switching targets.
16 Windows (kernel)
17 ================
18 Use the Windows Driver Kit "build" command. Prior to running "build",
19 if you wish to build a static library, run the batch file
20 "runme_before_win_kernel_static_lib_build.bat"; if you wish to
21 build a dynamic library, instead run "runme_before_win_kernel_dynamic_lib_build.bat".
23 The Windows kernel build system is rather limited and rather than
24 really rather messing up the directory/file structure just for the
25 Windows kernel platform, I've instead arranged it that these batch
26 files do the necessary work so that "build" will work.
28 The batch files are idempotent; you can run them as often as you
29 like, in any order, at any time (before or after builds), and they'll
30 do the right thing.
32 Linux
33 =====
34 Use GNUmake to run "makefile.linux". Targets are "arrel", "ardbg",
35 "sorel", "sodbg" and "clean". You need to clean between switching
36 targets.