Debugging Tools for Windows |
!devext扩展显示各种总线上的设备的总线相关设备扩展信息(bus-specific device extension information)。
类型代码 | 对象 |
---|---|
PCI | (仅Windows 2000) PCI设备扩展(device extension) |
ISAPNP | ISA PnP设备扩展 |
PCMCIA | PCMCIA设备扩展 |
HID | HID 设备扩展 |
USBD | (仅Windows 2000) USB总线驱动扩展 |
UHCD | (仅Windows 2000) UHCD host controller 扩展 |
OpenHCI | (仅Windows 2000) Open HCI host controller 扩展 |
USBHUB | (仅Windows 2000) USB hub 扩展 |
MF | (仅Windows 2000) MF 设备扩展 |
Windows 2000 | Kdextx86.dll |
Windows XP和之后 | Kdexts.dll |
!usbhub、 !hidfdo、以及!hidpdo扩展命令已经废除,它们的功能被整合到!devext中。
对于!devext不再支持的对象类型,可以使用dt (Display Type)调试器命令。
下面是一个ISA PnP设备扩展的示例:
ISA PnP FDO @ 0x00000000, DevExt @ 0xe0000165fff32190, Bus # 196639
Flags (0x854e2530) DF_ACTIVATED, DF_QUERY_STOPPED,
DF_STOPPED, DF_RESTARTED_NOMOVE,
DF_BUS
Unknown flags 0x054e2000
NumberCSNs - -536870912
ReadDataPort - 0x0000000d (mapped)
AddressPort - 0x00000000 (not mapped)
CommandPort - 0x00000000 (not mapped)
DeviceList - 0xe000000085007b50
CardList - 0x00000000
PhysicalBusDevice - 0x00000000
AttachedDevice - 0x00000000
SystemPowerState - Unspecified
DevicePowerState - Unspecified
下面是一个PCI设备的示例:
PDO Extension, Bus 0x0, Device 0, Function 0.
DevObj 0xe0000000858c3060 PCI Parent Bus FDO DevExt 0xe0000000858c4960
Device State = PciNotStarted
Vendor ID 8086 (INTEL) Device ID 123D
Class Base/Sub 08/00 (Base System Device/Interrupt Controller)
Programming Interface: 20, Revision: 01, IntPin: 00, Line Raw/Adj 00/00
Enables ((cmd & 7) = 106): BM Capabilities Pointer = <none>
CurrentState: System Working, Device D0
WakeLevel: System Unspecified, Device Unspecified
Requirements: <none>
查看Plug and Play调试获得该扩展命令的应用。关于设备扩展的更多信息,查看Windows Driver Kit (WDK)文档。