!pcitree

!pcitree 扩展显示有关 PCI 设备对象的信息,包括子 PCI 总线和 CardBus 总线以及附加到它们的设备。

!pcitree

DLL

Kdexts.dll

其他信息

有关此扩展命令的应用,请参阅即插即用调试。 有关 PCI 总线和 PCI 设备对象的信息,请参阅 Windows 驱动程序工具包(WDK)文档。

注解

以下是示例:

kd> !pcitree

Bus 0x0 (FDO Ext fe517338)
  0600 12378086 (d=0,  f=0) devext fe4f4ee8 Bridge/HOST to PCI
  0601 70008086 (d=d,  f=0) devext fe4f4ce8 Bridge/PCI to ISA
  0101 70108086 (d=d,  f=1) devext fe4f4ae8 Mass Storage Controller/IDE
  0604 00211011 (d=e,  f=0) devext fe4f4788 Bridge/PCI to PCI

Bus 0x1 (FDO Ext fe516998)
  0200 905010b7 (d=8,  f=0) devext fe515ee8 Network Controller/Ethernet
  0100 81789004 (d=9,  f=0) devext fe515ce8 Mass Storage Controller/SCSI
  0300 0519102b (d=10, f=0) devext fe4f4428 Display Controller/VGA

Total PCI Root busses processed = 1

若要了解此显示,请考虑显示的最终设备。 其基类为 03,其子类为 00,其设备 ID 为 0x0519,其供应商 ID 为 0x102B。 这些值都是设备本身固有的。

"d="后面的数字是设备编号;“f=”后面的数字是函数编号。 “devext”后是设备扩展地址 0xFE4F4428。 最后,将显示基类名称和子类名称。

若要获取有关设备的详细信息,请使用带有设备扩展地址的 !devext 扩展命令作为参数。 对于此特定设备,要使用的命令为:

kd> !devext fe4f4428 pci 

如果 !pcitree 扩展生成错误,这通常意味着 PCI 符号未正确加载。 使用 .reload pci.sys 解决此问题。