aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2024-04-05 18:36:14 +0200
committerMartin Mares <mj@ucw.cz>2024-04-05 22:39:26 +0200
commit7bcd087d5c782c110fb036131b392022411bd78e (patch)
treeed16bc09e8bf8af525be87fdb07e708233283a18
parent9f3d614e4578bdec2b60d97caec400b28d4af9d3 (diff)
downloadpciutils-7bcd087d5c782c110fb036131b392022411bd78e.tar.gz
README: Copy win32-kldbg info from manpage
-rw-r--r--README.Windows13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.Windows b/README.Windows
index 991b182..b13225d 100644
--- a/README.Windows
+++ b/README.Windows
@@ -20,6 +20,19 @@ one of the above config access access method to provide as much as possible
information to application. More details about particular access method and
caveats are described in the pcilib(8) manual page.
+The default access method for config is is win32-kldbg. It uses Microsoft's
+Kernel Local Debugging Driver kldbgdrv.sys. This driver is not part of the
+Windows system but is part of the Microsoft WinDbg tool. It is required to
+have kldbgdrv.sys driver installed in the system32 directory or to have
+windbg.exe or kd.exe binary in PATH. kldbgdrv.sys driver has some restrictions.
+Process needs to have Debug privilege and Windows system has to be booted with
+Debugging option. Debugging option can be enabled by calling (takes effect
+after next boot): bcdedit /debug on
+
+Download links for WinDbg 6.12.2.633 standalone installer from Microsoft:
+https://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools_amd64/dbg_amd64.msi
+https://download.microsoft.com/download/A/6/A/A6AC035D-DA3F-4F0C-ADA4-37C8E5D34E3D/setup/WinSDKDebuggingTools/dbg_x86.msi
+
To access config space via intel-conf1 access method on NT-based systems via
NT ProcessUserModeIOPL system call, it is required to have SeTcbPrivilege
(Act as part of the operating system privilege), which can be enabled in User