共用方式為


!usbkd._ehcidd

!usbkd._ehcidd 命令會顯示來自usbehci!_DEVICE_DATA 結構的資訊。

!usbkd._ehcidd StructAddr

參數

結構Addr
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) 驅動程式