!usbkd.usbep
Il comando !usbkd.usbep visualizza informazioni su un endpoint USB.
!usbkd.usbep StructAddr
Parametri
StructAddr
Indirizzo di una struttura usbport!_HCD_ENDPOINT . Per ottenere l'elenco di endpoint per un controller host USB, usare il comando !usbkd.usbhcdext.
DLL
Usbkd.dll
Esempi
Ecco un modo per trovare l'indirizzo di una struttura usbport!_HCD_ENDPOINT . Immettere prima !usbkd.usb2tree.
0: kd> !usbkd.usb2tree
...
2)!ehci_info ffffe00001ca11a0 !devobj ffffe00001ca1050 PCI: VendorId 8086 DeviceId 293c RevisionId 0002
...
Nell'output precedente, l'indirizzo dell'estensione del dispositivo dell'fdO viene visualizzato come argomento del comando DML !ehci_info ffffe00001ca11a0.
Fare clic sul comando DML o passare l'indirizzo dell'estensione del dispositivo a !usbhcdext per ottenere l'elenco di endpoint globale.
0: kd> !usbkd.usbhcdext ffffe00001ca11a0
...
DeviceHandleList: !usblist ffffe00001ca23b8, DL
DeviceHandleDeletedList: !usblist ffffe00001ca23c8, DL [Empty]
GlobalEndpointList: !usblist ffffe00001ca2388, EP
...
Usare ora il comando !usbkd.usblist per ottenere gli indirizzi delle strutture di _HCD_ENDPOINT.
0: kd> !usblist ffffe00001ca2388, EP
list: ffffe00001ca2388 EP
----------
dt usbport!_HCD_ENDPOINT ffffe000020f6970 !usbep ffffe000020f6970
Device Address: 0x00, ep 0x00 Control Flags: 00000002 dt _USB_ENDPOINT_FLAGS ffffe000020f6990
dt usbport!_ENDPOINT_PARAMETERS ffffe000020f6b18 RootHub Endpoint
...
Nell'output precedente è ffffe000020f6970
l'indirizzo di una struttura _HCD_ENDPOINT. Passare questo indirizzo a !usbkd.usbep.
0: kd> !usbep ffffe000020f6970
Device Address: 0x00, Endpoint Address 0x00 Endpoint Type: Control
dt USBPORT!_HCD_ENDPOINT ffffe000020f6970
dt USBPORT!_ENDPOINT_PARAMETERS ffffe000020f6b18
RootHub Endpoint
## Transfer(s) List: (HwPendingListHead)
[EMPTY]
## Endpoint Reference List: (EpRefListHead)
[00] dt USBPORT!_USBOBJ_REF ffffe000021a64a0 Object ffffe000020f6970 Tag:EPop Endpoint:ffffe000020f6970
[01] dt USBPORT!_USBOBJ_REF ffffe000021264a0 Object ffffe000020f95e0 Tag:EPpi Endpoint:ffffe000020f6970
## GEP HISTORY (latest at bottom)
## EVENT STATE NEXT HwEpState
[01] Ev_gEp_Open GEp_Init GEp_Paused ENDPOINT_PAUSE
[02] Ev_gEp_ReqActive GEp_Paused GEp_Active ENDPOINT_ACTIVE