!usb3kd.ucx_controller
!usb3kd.ucx_controllerコマンドは、USBホストコントローラーに関する情報を表示します。 表示は、USBホストコントローラー拡張機能ドライバー (UcxVersion.sys) によって管理されるデータ構造に基づいています。
!usb3kd.ucx_controller UcxControllerPrivContext
パラメーター
UcxControllerPrivContext
コントローラを表す _UCXCONTROLLER_PRIVCONTEXT 構造体のアドレス。
DLL
Usb3kd.dll
解説
USBホストコントローラー拡張機能ドライバー (UcxVersion.sys) は、usb 3.0ハブドライバーとusb 3.0ホストコントローラードライバーの間に抽象化レイヤーを提供します。 拡張機能ドライバーには、ホストコントローラー、デバイス、およびエンドポイントの独自の表現があります。 ucx_controller コマンドの出力は、拡張ドライバが保持するデータ構造に基づいています。 USBホストコントローラー拡張機能ドライバーとUSB 3.0ホストコントローラードライバーの詳細については、 「USBドライバースタックアーキテクチャ」 を参照してください。
例
UCX コントローラーのプライベート コンテキストのアドレスを取得するには、!ucx_controller_list コマンドの出力を確認します。 次の例では、プライベートコンテクストの拡張機能のアドレスは0xfffffa80052da050です。
3: kd> !ucx_controller_list
## Dumping List of UCX controller objects
--------------------------------------
[1] !ucx_controller 0xfffffa80052da050 (dt ucx01000!_UCXCONTROLLER_PRIVCONTEXT fffffa80052da050)
!ucx_device 0xfffffa8005a41840
.!ucx_endpoint 0xfffffa800533f3d0 [Blk In ], UcxEndpointStateEnabled
...
!ucx_device 0xfffffa8005bd9680
.!ucx_endpoint 0xfffffa8003694860 [Blk Out], UcxEndpointStateEnabled
...
!ucx_controllerコマンドにUCXコントローラのプライベートコンテキストのアドレスを渡すことができます。
3: kd> !ucx_controller 0xfffffa80052da050
## Dumping Ucx Controller Information fffffa80052da050
---------------------------------------------------
dt ucx01000!_UCXCONTROLLER_PRIVCONTEXT 0xfffffa80052da050
Parent Device: !wdfdevice 0x57ffac91fd8
Controller Queues:
Default : !wdfqueue 0x57ffacc5fd8
Address'0'Ownership : !wdfqueue 0x57ffad5ad88
DeviceManagement : !wdfqueue 0x57ffacd6fd8
... pend on Ctrl Reset: !wdfqueue 0x57ffad48fd8
Controller Reset State History: <Event> NewState
[ 2] <ControllerResetEventOperationSuccess> ControllerResetStateRHPdoInD0
[ 1] <ControllerResetEventRHPdoEnteredD0> ControllerResetStateStopBlockingResetComplete1
[ 0] <SmEngineEventStart> ControllerResetStateRhPdoInDx
Controller Reset Event History:
[ 1] ControllerResetEventRHPdoEnteredD0
[ 0] SmEngineEventStart
Root Hub PDO: !wdfdevice 0x57ffaf4daa8
Number of 2.0 Ports: 2
Number of 3.0 Ports: 2
RootHub Control !wdfqueue 0x57ffacb4798
RootHub Interrupt !wdfqueue 0x57ffad033f8, pending !wdfequest 0x57ffa5fe998
Device Tree:
!ucx_device 0xfffffa8005a41840
.!ucx_endpoint 0xfffffa800533f3d0 [Blk In ], UcxEndpointStateEnabled
.!ucx_endpoint 0xfffffa80053405d0 [Blk Out], UcxEndpointStateEnabled
.!ucx_endpoint 0xfffffa8005a3f710 [Control], UcxEndpointStateEnabled
.!ucx_endpoint 0xfffffa8005bbe4e0 [Blk Out], UcxEndpointStateStale
.!ucx_endpoint 0xfffffa8005ac4810 [Blk In ], UcxEndpointStateStale
!ucx_device 0xfffffa8005bd9680
.!ucx_endpoint 0xfffffa8003694860 [Blk Out], UcxEndpointStateEnabled
.!ucx_endpoint 0xfffffa8003686820 [Blk In ], UcxEndpointStateEnabled
.!ucx_endpoint 0xfffffa8005be0550 [Control], UcxEndpointStateEnabled
.!ucx_endpoint 0xfffffa8003695580 [Blk In ], UcxEndpointStateStale
.!ucx_endpoint 0xfffffa80036a20c0 [Blk Out], UcxEndpointStateStale