根节点DeviceNodeEnumerateCompletion状态完成后下一个节点是子节点PCI0第一个调用的函数是nt!PiProcessNewDeviceNode

📅 发布时间:2026/7/5 5:29:40 👁️ 浏览次数:
根节点DeviceNodeEnumerateCompletion状态完成后下一个节点是子节点PCI0第一个调用的函数是nt!PiProcessNewDeviceNode
根节点DeviceNodeEnumerateCompletion状态完成后下一个节点是子节点PCI0第一个调用的函数是nt!PiProcessNewDeviceNodecase DeviceNodeEnumerateCompletion:status PipEnumerateCompleted(currentNode);nextNode ChildNode;break;switch (nextNode) {case SameNode:break;case ChildNode:if (currentNode-Child ! NULL) {currentNode currentNode-Child;break;}0: kd peax894ffea8 ebx899c1008 ecx80ae0dfa edx80b18978 esi00000000 edi00000002eip80c9509a espf789a398 ebpf789a5d4 iopl0 nv up ei ng nz na po nccs0008 ss0010 ds0023 es0023 fs0030 gs0000 efl00000282nt!PipProcessDevNodeTree0x50c:80c9509a 8bd8 mov ebx,eax0: kd !devnode 894ffea8DevNode 0x894ffea8 for PDO 0x899050e8Parent 0x899c1008 Sibling 0x8952a1e0 Child 0000000000State DeviceNodeUninitialized (0x301)Previous State Unknown State (0x0)StateHistory[19] Unknown State (0x0)StateHistory[18] Unknown State (0x0)StateHistory[17] Unknown State (0x0)StateHistory[16] Unknown State (0x0)StateHistory[15] Unknown State (0x0)StateHistory[14] Unknown State (0x0)StateHistory[13] Unknown State (0x0)StateHistory[12] Unknown State (0x0)StateHistory[11] Unknown State (0x0)StateHistory[10] Unknown State (0x0)StateHistory[09] Unknown State (0x0)StateHistory[08] Unknown State (0x0)StateHistory[07] Unknown State (0x0)StateHistory[06] Unknown State (0x0)StateHistory[05] Unknown State (0x0)StateHistory[04] Unknown State (0x0)StateHistory[03] Unknown State (0x0)StateHistory[02] Unknown State (0x0)StateHistory[01] Unknown State (0x0)StateHistory[00] Unknown State (0x0)Flags (0x00000010) DNF_ENUMERATED0: kd !devobj 899050e8Device object (899050e8) is for:00000030 \Driver\ACPI DriverObject 89981f38Current Irp 00000000 RefCount 0 Type 00000032 Flags 00001040SecurityDescriptor e1297680 DevExt 899c0d58 DevObjExt 899051a0 DevNode 894ffea8ExtensionFlags (0000000000)Characteristics (0x00000080) FILE_AUTOGENERATED_DEVICE_NAMEDevice queue is not busy.0: kd dt _device_object 899050e8hal!_DEVICE_OBJECT0x000 Type : 0n30x002 Size : 0xb80x004 ReferenceCount : 0n00x008 DriverObject : 0x89981f38 _DRIVER_OBJECT0x00c NextDevice : 0x89981b98 _DEVICE_OBJECT0x010 AttachedDevice : (null)0x014 CurrentIrp : (null)0x018 Timer : (null)0x01c Flags : 0x10400x020 Characteristics : 0x800x024 Vpb : (null)0x028 DeviceExtension : 0x899c0d58 Void0x02c DeviceType : 0x320x030 StackSize : 1 0x034 Queue : __unnamed0x05c AlignmentRequirement : 00x060 DeviceQueue : _KDEVICE_QUEUE0x074 Dpc : _KDPC0x094 ActiveThreadCount : 00x098 SecurityDescriptor : 0xe1297680 Void0x09c DeviceLock : _KEVENT0x0ac SectorSize : 00x0ae Spare1 : 00x0b0 DeviceObjectExtension : 0x899051a0 _DEVOBJ_EXTENSION0x0b4 Reserved : (null)0: kd dt acpi!_Device_Extension 0x899c0d580x000 Flags : 0x00402000020100200x000 UFlags : __unnamed0x008 Signature : 0x5f5347500x00c DebugFlags : 00x010 DispatchTable : 0xf743830c IRP_DISPATCH_TABLE0x014 WorkContext : WORK_QUEUE_CONTEXT0x014 Fdo : _FDO_DEVICE_EXTENSION0x014 Filter : _FILTER_DEVICE_EXTENSION0x014 Pdo : _PDO_DEVICE_EXTENSION0x058 WorkQueue : EXTENSION_WORKER0x058 Button : BUTTON_EXTENSION0x058 Thermal : THERMAL_EXTENSION0x058 LinkNode : LINK_NODE_EXTENSION0x058 Dock : DOCK_EXTENSION0x058 Processor : _PROCESSOR_DEVICE_EXTENSION0x088 DeviceState : 0 ( Stopped )0x08c PreviousState : 0 ( Stopped )0x090 PowerInfo : _ACPI_POWER_INFO0x10c DeviceID : 0x899c1148 ACPI\PNP0A030x10c Address : 0x899c11480x110 InstanceID : (null)0x114 ResourceList : (null)0x118 PnpResourceList : (null)0x11c OutstandingIrpCount : 0n10x120 ReferenceCount : 0n830x124 HibernatePathCount : 0n00x128 RemoveEvent : (null)0x12c AcpiObject : 0x899affac _NSObj0x130 DeviceObject : 0x899050e8 _DEVICE_OBJECT0x134 TargetDeviceObject : (null)0x138 PhysicalDeviceObject : 0x899050e8 _DEVICE_OBJECT0x13c ParentExtension : 0x89981a18 _DEVICE_EXTENSION0x140 ChildDeviceList : _LIST_ENTRY [ 0x899c0d38 - 0x8990efe8 ]0x148 SiblingDeviceList : _LIST_ENTRY [ 0x899ae150 - 0x89981b58 ]0x150 EjectDeviceHead : _LIST_ENTRY [ 0x899c0ea8 - 0x899c0ea8 ]0x158 EjectDeviceList : _LIST_ENTRY [ 0x899c0eb0 - 0x899c0eb0 ]0: kd db 0x899affac899affac 4c ff 9a 89 ac 40 9b 89-f0 f0 9a 89 24 00 9b 89 L..........$...899affbc 50 43 49 30 30 f3 9a 89-4c ff 9a 89 00 00 06 00 PCI00...L.......899affcc 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................899affdc 58 0d 9c 89 00 00 00 00-48 4f 52 47 34 00 00 00 X.......HORG4...899affec 00 f0 9a 89 50 00 00 00-30 00 00 00 02 00 00 00 ....P...0.......899afffc 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................899b000c 00 00 00 00 00 00 00 00-00 00 00 00 48 4e 53 4f ............HNSO899b001c 44 00 00 00 00 f0 9a 89-64 a0 91 89 68 00 9b 89 D.......d...h...while (!processComplete) {//// Dont process devnodes with problem.//status STATUS_SUCCESS;nextNode SiblingNode;if (!PipDoesDevNodeHaveProblem(currentNode)) {switch (currentNode-State) {0: kd peax894ffea8 ebx894ffea8 ecx00000010 edx80b18978 esi00000000 edi00000001eip80c94c93 espf789a398 ebpf789a5d4 iopl0 nv up ei pl zr na pe nccs0008 ss0010 ds0023 es0023 fs0030 gs0000 efl00000246nt!PipProcessDevNodeTree0x105:80c94c93 8b4318 mov eax,dword ptr [ebx18h] ds:0023:894ffec000000301typedef enum _PNP_DEVNODE_STATE {DeviceNodeUnspecified 0x300, // 768DeviceNodeUninitialized, // 769DeviceNodeInitialized, // 770DeviceNodeDriversAdded, // 771DeviceNodeResourcesAssigned, // 772 - Operational state for AddedDeviceNodeStartPending, // 773 - Operational state for AddedDeviceNodeStartCompletion, // 774 - Operational state for AddedDeviceNodeStartPostWork, // 775 - Operational state for AddedDeviceNodeStarted, // 776DeviceNodeQueryStopped, // 777DeviceNodeStopped, // 778DeviceNodeRestartCompletion, // 779 - Operational state for StoppedDeviceNodeEnumeratePending, // 780 - Operational state for StartedDeviceNodeEnumerateCompletion, // 781 - Operational state for StartedDeviceNodeAwaitingQueuedDeletion, // 782DeviceNodeAwaitingQueuedRemoval, // 783DeviceNodeQueryRemoved, // 784DeviceNodeRemovePendingCloses, // 785DeviceNodeRemoved, // 786DeviceNodeDeletePendingCloses, // 787DeviceNodeDeleted, // 788MaxDeviceNodeState // 788} PNP_DEVNODE_STATE, *PPNP_DEVNODE_STATE;0: kd ?0n769Evaluate expression: 769 00000301case DeviceNodeUninitialized:if (!ProcessOnlyIntermediateStates) {if (currentNode-Parent enumeratedBus startRoot NULL) {startRoot currentNode;}if((!ReallocateResources EnumType EnumTypeNone) || startRoot) {status PiProcessNewDeviceNode(currentNode);if (NT_SUCCESS(status)) {nextNode SameNode;}}}break;0: kd kc#00 nt!PiProcessNewDeviceNode01 nt!PipProcessDevNodeTree02 nt!PipDeviceActionWorker03 nt!PipRequestDeviceAction04 nt!IopInitializeBootDrivers05 nt!IoInitSystem06 nt!Phase1Initialization07 nt!PspSystemThreadStartup08 nt!KiThreadStartup0: kd dvDeviceNode 0x894ffea8