]> git.ipfire.org Git - thirdparty/pciutils.git/commit
libpci: Add new windows NT sysdbg implementation
authorPali Rohár <pali@kernel.org>
Sun, 2 Jan 2022 19:51:02 +0000 (20:51 +0100)
committerPali Rohár <pali@kernel.org>
Mon, 18 Apr 2022 18:29:28 +0000 (20:29 +0200)
commit2d0af6fc3abc1e9bde968668eb27ebf18061d0da
treefdf56ab628b8002e121c4a056c4f121d9a1da631
parentd224993d423bcd0e88d8eacc0464bc3a66972e95
libpci: Add new windows NT sysdbg implementation

NT SysDbg interface allow access to the PCI config space. Only devices on
the first domain are available and only first 256 bytes of the PCI config
space can be accessed. Compared to intel-conf1 access, this API is race
free as NT kernel serialize access to PCI I/O ports. This NT SysDbg API is
used by the !pci command of 32-bit WinDbg kernel debugger for displaying
PCI config space. Debug privilege is required to use this NT interface.
lib/Makefile
lib/configure
lib/init.c
lib/internal.h
lib/pci.h
lib/win32-sysdbg.c [new file with mode: 0644]