!usbkd._ehcidd

!usbkd._ehcidd 命令显示 usbehci!_DEVICE_DATA 结构中的信息。

!usbkd._ehcidd StructAddr

参数

StructAddr
usbehci!_DEVICE_DATA 结构的地址。 要查找 usbehci!_DEVICE_DATA 结构的地址,请使用 !usbhcdext!usbhcdlist

DLL

Usbkd.dll

示例

下面是获取 usbehci!_DEVICE_DATA 结构地址的一种方法。 首先输入 !usbkd.usbhcdlist

0: kd> !usbkd.usbhcdlist

MINIPORT List @ fffff80001e5bbd0

## List of EHCI controllers

!drvobj ffffe00001fd33a0 dt USBPORT!_USBPORT_MINIPORT_DRIVER ffffe00001f48bd0 Registration Packet ffffe00001f48c08

01. Xxxx Corporation PCI: VendorID Xxxx DeviceID Xxxx RevisionId 0002
    !devobj ffffe0000781a050
    !ehci_info ffffe0000781a1a0
    Operational Registers ffffd00021fb8420
    Device Data ffffe0000781bda0
    ...

在前面的输出中,ffffe0000781bda0_DEVICE_DATA 结构的地址。

现在,将结构地址传递给 !_ehcidd

0: kd> !usbkd._ehcidd ffffe0000781bda0

*USBEHCI DEVICE DATA ffffe0000781bda0
** dt usbehci!_DEVICE_DATA ffffe0000781bda0 

get_field_ulong ffffe0000781bda0 usbehci!_DEVICE_DATA Flags
*All Endpoints list:
head @ ffffe0000781bdb0 f_link ffffe0000781bdb0 b_link ffffe0000781bdb0
AsyncQueueHead ffffd00021cf5000 !_ehciqh ffffd00021cf5000
    PhysicalAddress: 0xde79a000
    NextQh: ffffd00021cf5000 Hlink de79a002
    PrevQh: ffffd00021cf5000

另请参阅

USB 2.0 调试器扩展

通用串行总线 (USB) 驱动程序