]> git.ipfire.org Git - thirdparty/pciutils.git/blame - README.Windows
pcilmr: Add option to save margining results in csv form
[thirdparty/pciutils.git] / README.Windows
CommitLineData
ee7d8384
MM
1Since 2.1.99-test5, pciutils should also be compilable on Windows. Thanks
2to Alexander Stock for contributing the port.
c0eece92 3
09156b3b
MM
4Updated after version 2.2.6 to compile again, and with MinGW, even (only?)
5cross-compiling. (Hopefully it works with MSVC too.)
6
353f4109
PR
7For simple listing PCI devices in system with basic information, there is no
8special requirement. To list PCI resources on Windows 8 and higher versions,
9it is necessary to have architecture-native version (e.g. AMD64 version on
10AMD64 systems).
11
12To access config space on NT-based systems, it is required to have SeTcbPrivilege
b8fbb6f0
PR
13(Act as part of the operating system privilege), which can be enabled in User
14Accounts settings (take effect after next login). By default this privilege is
15not enabled for any non-system user. Or alternatively it is required to be in
16local Administrators group and on Windows 2000 SP4 or higher systems to have
17SeImpersonatePrivilege (Impersonate a client after authentication privilege)
18which is by default enabled for all local Administrators accounts. There is no
353f4109
PR
19special requirement for DOS-based systems. 64-bit systems do not have to allow
20users to access config space even with SeTcbPrivilege.
b5847329 21
63435b6e
PR
22To compile this port, run following command:
23
42e6a803 24 make CROSS_COMPILE=i586-mingw32msvc- HOST=i586-windows ZLIB=no IDSDIR=""
63435b6e 25
353f4109
PR
26To build 64-bit version, run:
27
28 make CROSS_COMPILE=x86_64-w64-mingw32- HOST=x86_64-windows ZLIB=no IDSDIR=""
29
63435b6e
PR
30Sometimes compilation may fail due to broken or missing getopt implementation.
31In this case try to compile with additional make option: COMPAT_GETOPT=yes
32
b5847329
MM
33================================================================================
34BEWARE: The current implementation pokes I/O ports to access the PCI devices
35directly. This leads to several problems: some devices are invisible, extended
36PCIe configuration space is not available, and there are many potential race
37conditions. Instead, libpci should use the proper Windows drivers.
b5847329 38================================================================================