mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 03:23:51 +00:00
[NTOSKRNL]
- Print the parent devices when a duplicate device is detected svn path=/trunk/; revision=56205
This commit is contained in:
parent
e6c7846c3a
commit
55f77d65f2
1 changed files with 5 additions and 0 deletions
|
@ -2006,7 +2006,12 @@ IopActionInterrogateDeviceStack(PDEVICE_NODE DeviceNode,
|
||||||
OldDeviceObject = IopGetDeviceObjectFromDeviceInstance(&InstancePathU);
|
OldDeviceObject = IopGetDeviceObjectFromDeviceInstance(&InstancePathU);
|
||||||
if (OldDeviceObject != NULL)
|
if (OldDeviceObject != NULL)
|
||||||
{
|
{
|
||||||
|
PDEVICE_NODE OldDeviceNode = IopGetDeviceNode(OldDeviceObject);
|
||||||
|
|
||||||
DPRINT1("Duplicate device instance '%wZ'\n", &InstancePathU);
|
DPRINT1("Duplicate device instance '%wZ'\n", &InstancePathU);
|
||||||
|
DPRINT1("Current instance parent: '%wZ'\n", &DeviceNode->Parent->InstancePath);
|
||||||
|
DPRINT1("Old instance parent: '%wZ'\n", &OldDeviceNode->Parent->InstancePath);
|
||||||
|
|
||||||
KeBugCheckEx(PNP_DETECTED_FATAL_ERROR,
|
KeBugCheckEx(PNP_DETECTED_FATAL_ERROR,
|
||||||
0x01,
|
0x01,
|
||||||
(ULONG_PTR)DeviceNode->PhysicalDeviceObject,
|
(ULONG_PTR)DeviceNode->PhysicalDeviceObject,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue