]> git.ipfire.org Git - thirdparty/pciutils.git/blob - README.Windows
libpci: i386-io-windows.h: Enable I/O access via native NT ProcessUserModeIOPL syscall
[thirdparty/pciutils.git] / README.Windows
1 Since 2.1.99-test5, pciutils should also be compilable on Windows. Thanks
2 to Alexander Stock for contributing the port.
3
4 Updated after version 2.2.6 to compile again, and with MinGW, even (only?)
5 cross-compiling. (Hopefully it works with MSVC too.)
6
7 To use this port on NT-based systems, it is required to have SeTcbPrivilege
8 (Act as part of the operating system privilege), which can be enabled in User
9 Accounts settings (take effect after next login). By default this privilege is
10 not enabled for any non-system user. Or alternatively it is required to be in
11 local Administrators group and on Windows 2000 SP4 or higher systems to have
12 SeImpersonatePrivilege (Impersonate a client after authentication privilege)
13 which is by default enabled for all local Administrators accounts. There is no
14 special requirement for DOS-based systems.
15
16 ================================================================================
17 BEWARE: The current implementation pokes I/O ports to access the PCI devices
18 directly. This leads to several problems: some devices are invisible, extended
19 PCIe configuration space is not available, and there are many potential race
20 conditions. Instead, libpci should use the proper Windows drivers.
21
22 Unfortunately, the Windows port currently lacks a maintainer. If you are willing
23 to step up and fix the issues, please let me know. -- Martin Mares
24 ================================================================================