1.!devnode 显示设备节点
2.!devobj 显示设备对象信息,后面可根据参数决定信息内容
3.!drvobj 显示驱动对象信息
4.!devstack 显示设备对象堆栈
一!devnode
!devnode Address [Flags][Service]
!devnode 1
!devnode 2
2.!devobj 显示设备对象信息,后面可根据参数决定信息内容
3.!drvobj 显示驱动对象信息
4.!devstack 显示设备对象堆栈
一!devnode
!devnode Address [Flags][Service]
!devnode 1
!devnode 2
!devnode扩展显示设备树中的一个节点的信息。
Address
指定要显示节点的设备扩展的十六进制地址。
如果是零,则显示主设备树的根。
Flags
指定要显示的输出级别。
可以是下列任意组合:
Address
指定要显示节点的设备扩展的十六进制地址。
如果是零,则显示主设备树的根。
Flags
指定要显示的输出级别。
可以是下列任意组合:
Bit 0(0 x1)
显示包含设备节点的所有子节点。
Bit 1(0 x2)
显示包含使用的资源(CM_RESOURCE_LIST)。
其中包括IRP_MN_QUERY_RESOURCES报告的引导配置,以及在IRP_MN_START_DEVICE的AllocatedResources参数中分配给设备的资源。
Bit 2(0 x4)
将显示的内容包括IRP_MN_FILTER_RESOURCE_REQUIREMENTS所报告的所需资源(IO_RESOURCE_REQUIREMENTS_LIST)。
Bit 3(0×8)
导致显示包括一系列翻译资源分配给设备IRP_MN_START_DEVICE AllocatedResourcesTranslated参数的。
Bit 4(0 x10)
指定未启动的设备节点应该显示。
Bit 5(0 x20)
指定只能显示带有问题的设备节点。
(这些是包含标记位DNF_HAS_PROBLEM或DNF_HAS_PRIVATE_PROBLEM的节点。)
Service
指定服务的名称。
如果包含此功能,则只显示由该服务驱动的设备节点。
(如果标志包含了bit 0x1,由该服务驱动的设备节点及其所有的孩子将被显示)。
The !devnode 1 command lists all pending removals of device objects.
The !devnode 2 command lists all pending ejects of device objects.
You can use !devnode 0 1 to see the entire device tree.
二 !devobj
The !devobj extension displays detailed information about a DEVICE_OBJECT structure.
!devobj DeviceObject Parameters
显示包含设备节点的所有子节点。
Bit 1(0 x2)
显示包含使用的资源(CM_RESOURCE_LIST)。
其中包括IRP_MN_QUERY_RESOURCES报告的引导配置,以及在IRP_MN_START_DEVICE的AllocatedResources参数中分配给设备的资源。
Bit 2(0 x4)
将显示的内容包括IRP_MN_FILTER_RESOURCE_REQUIREMENTS所报告的所需资源(IO_RESOURCE_REQUIREMENTS_LIST)。
Bit 3(0×8)
导致显示包括一系列翻译资源分配给设备IRP_MN_START_DEVICE AllocatedResourcesTranslated参数的。
Bit 4(0 x10)
指定未启动的设备节点应该显示。
Bit 5(0 x20)
指定只能显示带有问题的设备节点。
(这些是包含标记位DNF_HAS_PROBLEM或DNF_HAS_PRIVATE_PROBLEM的节点。)
Service
指定服务的名称。
如果包含此功能,则只显示由该服务驱动的设备节点。
(如果标志包含了bit 0x1,由该服务驱动的设备节点及其所有的孩子将被显示)。
The !devnode 1 command lists all pending removals of device objects.
The !devnode 2 command lists all pending ejects of device objects.
You can use !devnode 0 1 to see the entire device tree.
二 !devobj
The !devobj extension displays detailed information about a DEVICE_OBJECT structure.
!devobj DeviceObject Parameters
DeviceObject
Specifies the device object. This can be the hexadecimal address of this structure or the name of the device.
三 !drvobj
The !drvobj extension displays detailed information about a DRIVER_OBJECT.
!drvobj DriverObject [Flags]
DriverObject
Specifies the driver object. This can be the hexadecimal address of the DRIVER_OBJECT structure or the name of the driver.
Flags
Can be any combination of the following bits. (The default is 0x01.)
Bit 0 (0x1)
Causes the display to include device objects owned by the driver.
Bit 1 (0x2)
Causes the display to include entry points for the driver's dispatch routines.
Bit 2 (0x4)
Specifies the device object. This can be the hexadecimal address of this structure or the name of the device.
三 !drvobj
The !drvobj extension displays detailed information about a DRIVER_OBJECT.
!drvobj DriverObject [Flags]
DriverObject
Specifies the driver object. This can be the hexadecimal address of the DRIVER_OBJECT structure or the name of the driver.
Flags
Can be any combination of the following bits. (The default is 0x01.)
Bit 0 (0x1)
Causes the display to include device objects owned by the driver.
Bit 1 (0x2)
Causes the display to include entry points for the driver's dispatch routines.
Bit 2 (0x4)
!drvobj pci
显示所有pci驱动地址
四 !devstack
Lists with detailed information the device objects owned by the driver (requires bit 0 (0x1)).
The !devstack extension displays a formatted view of the device stack associated with a device object.
!devstack DeviceObject
Parameters
显示所有pci驱动地址
四 !devstack
Lists with detailed information the device objects owned by the driver (requires bit 0 (0x1)).
The !devstack extension displays a formatted view of the device stack associated with a device object.
!devstack DeviceObject
Parameters
DeviceObject
Specifies the device object. This can be the hexadecimal address of the DEVICE_OBJECT structure or the name of the device.
Specifies the device object. This can be the hexadecimal address of the DEVICE_OBJECT structure or the name of the device.