test: pnpdata.c File Reference

Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

# pnpdata.c File Reference

`#include "iop.h"`

Go to the source code of this file.

## Variables

PVOID | IopPnpScratchBuffer1 = NULL
PVOID | IopPnpScratchBuffer2 = NULL
PCM_RESOURCE_LIST | IopInitHalResources
PDEVICE_NODE | IopInitHalDeviceNode
PIOP_RESERVED_RESOURCES_RECORD | IopInitReservedResourceList
PDEVICE_NODE | IopRootDeviceNode
PDRIVER_OBJECT | IoPnpDriverObject
KSPIN_LOCK | IopPnPSpinLock
ERESOURCE | IopDeviceTreeLock
KEVENT | PiEventQueueEmpty
KEVENT | PiEnumerationLock
LONG | IopEnumerationCount
ULONG | IopNumberDeviceNodes
LIST_ENTRY | IopPnpEnumerationRequestList
BOOLEAN | PnPInitialized
BOOLEAN | PnPDetectionEnabled
BOOLEAN | PnPBootDriversInitialized
BOOLEAN | PnPBootDriversLoaded
BOOLEAN | IopBootConfigsReserved
BOOLEAN | IopResourcesReleased
PIO_RESERVE_RESOURCES_ROUTINE | IopReserveResourcesRoutine
ULONG | IoDeviceNodeTreeSequence
PBUS_TYPE_GUID_LIST | IopBusTypeGuidList
INTERFACE_TYPE | PnpDefaultInterfaceType
BOOLEAN | PnpAsyncOk
ULONG | IopMaxDeviceNodeLevel
LIST_ENTRY | IopPendingEjects
LIST_ENTRY | IopPendingSurpriseRemovals
KEVENT | IopWarmEjectLock
PDEVICE_OBJECT | IopWarmEjectPdo
ARBITER_INSTANCE | IopRootPortArbiter
ARBITER_INSTANCE | IopRootMemArbiter
ARBITER_INSTANCE | IopRootDmaArbiter
ARBITER_INSTANCE | IopRootIrqArbiter
ARBITER_INSTANCE | IopRootBusNumberArbiter

## Variable Documentation

ULONG IoDeviceNodeTreeSequence

| Definition at line 155 of file pnpdata.c. Referenced by IoBuildPoDeviceNotifyList(), IopInsertTreeDeviceNode(), and IopWarmEjectDevice().

BOOLEAN IopBootConfigsReserved

| Definition at line 134 of file pnpdata.c. Referenced by IopAllocateResources(), IopEnumerateDevice(), and IopInitializeBootDrivers().

PBUS_TYPE_GUID_LIST IopBusTypeGuidList

| Definition at line 161 of file pnpdata.c. Referenced by IoGetDeviceProperty(), IopGetBusTypeGuidIndex(), and IopInitializePlugPlayServices().

ERESOURCE IopDeviceTreeLock

| Definition at line 74 of file pnpdata.c. Referenced by IopDeviceActionWorker(), IopInitializePlugPlayServices(), IopProcessAssignResources(), IopProcessStartDevices(), IopProcessStartDevicesWorker(), and IopReallocateResources().

LONG IopEnumerationCount

| Definition at line 92 of file pnpdata.c.

PDEVICE_NODE IopInitHalDeviceNode

| Definition at line 41 of file pnpdata.c. Referenced by IoInitSystem(), and IopReserveLegacyBootResources().

PCM_RESOURCE_LIST IopInitHalResources

| Definition at line 40 of file pnpdata.c. Referenced by IopInitializeBootDrivers(), IopReserveLegacyBootResources(), and IoReportHalResourceUsage().

PIOP_RESERVED_RESOURCES_RECORD IopInitReservedResourceList

| Definition at line 42 of file pnpdata.c. Referenced by IopInitializeBootDrivers(), IopInitializePlugPlayServices(), IopReserveBootResources(), and IopReserveLegacyBootResources().

ULONG IopMaxDeviceNodeLevel

| Definition at line 178 of file pnpdata.c. Referenced by IopAllocateRelationList(), and IopInsertTreeDeviceNode().

PDRIVER_OBJECT IoPnpDriverObject

| Definition at line 62 of file pnpdata.c. Referenced by IopFindLegacyDeviceNode(), IopInitializeDeviceInstanceKey(), IopInitializePlugPlayServices(), IopLegacyResourceAllocation(), IopPnPDriverEntry(), IopReleaseDeviceResources(), IopRemoveLegacyDeviceNode(), and IoReportDetectedDevice().

ULONG IopNumberDeviceNodes

| Definition at line 98 of file pnpdata.c. Referenced by IopAddRelationToList(), IopAllocateDeviceNode(), IopDestroyDeviceNode(), IopFindLegacyDeviceNode(), IopInitializeDeviceInstanceKey(), IopProcessAssignResources(), IopRebalance(), and IoReportDetectedDevice().

LIST_ENTRY IopPendingEjects

| Definition at line 183 of file pnpdata.c. Referenced by IopInitializePlugPlayServices(), IopProcessRelation(), and IopQueuePendingEject().

LIST_ENTRY IopPendingSurpriseRemovals

| Definition at line 188 of file pnpdata.c. Referenced by IopChainDereferenceComplete(), IopInitializePlugPlayServices(), and IopQueuePendingSurpriseRemoval().

LIST_ENTRY IopPnpEnumerationRequestList

| Definition at line 104 of file pnpdata.c. Referenced by IopDeviceActionWorker(), IopInitializePlugPlayServices(), and IopRequestDeviceAction().

PVOID IopPnpScratchBuffer1 = NULL

| Definition at line 38 of file pnpdata.c. Referenced by IopDetermineDefaultInterfaceType(), and IopInitializePlugPlayServices().

PVOID IopPnpScratchBuffer2 = NULL

| Definition at line 39 of file pnpdata.c. Referenced by IopInitializePlugPlayServices().

KSPIN_LOCK IopPnPSpinLock

| Definition at line 68 of file pnpdata.c. Referenced by IoInvalidateDeviceRelations(), IopDeviceActionWorker(), IopDeviceRelationsComplete(), IopDeviceStartComplete(), IopInitializePlugPlayServices(), IopQueryDeviceRelations(), IopRequestDeviceAction(), IopStartDevice(), and IopWaitForBootDevicesStarted().

PIO_RESERVE_RESOURCES_ROUTINE IopReserveResourcesRoutine

| Definition at line 148 of file pnpdata.c. Referenced by IopInitializeBootDrivers(), and IopInitializePlugPlayServices().

BOOLEAN IopResourcesReleased

| Definition at line 142 of file pnpdata.c. Referenced by IopDeviceActionWorker(), IopInitializeBootDrivers(), and IopReleaseDeviceResources().

ARBITER_INSTANCE IopRootBusNumberArbiter

| Definition at line 208 of file pnpdata.c. Referenced by IopBusNumberInitialize(), and IopPnPDispatch().

PDEVICE_NODE IopRootDeviceNode

| Definition at line 56 of file pnpdata.c. Referenced by IoBuildPoDeviceNotifyList(), IoGetLegacyVetoList(), IoInitSystem(), IoNotifyPowerOperationVetoed(), IopAssignInner(), IopChildToRootTranslation(), IopDeviceActionWorker(), IopDeviceObjectFromDeviceInstance(), IopDuplicateDetection(), IopFindBusDeviceNode(), IopForAllDeviceNodes(), IopInitializeBootDrivers(), IopInitializeDeviceInstanceKey(), IopInitializePlugPlayServices(), IopInitializeSystemDrivers(), IopInsertTreeDeviceNode(), IopLegacyResourceAllocation(), IopLockDeviceRemovalRelations(), IopPlacement(), IopPnPDispatch(), IopProcessAddDevices(), IopProcessNewDeviceNode(), IopQueryConflictFillString(), IopQueryConflictListInternal(), IopRebalance(), IopReleaseResourcesInternal(), IopReserve(), IopSetupArbiterAndTranslators(), IopWaitForBootDevicesStarted(), and IoReportDetectedDevice().

ARBITER_INSTANCE IopRootDmaArbiter

| Definition at line 206 of file pnpdata.c. Referenced by IopDmaInitialize(), and IopPnPDispatch().

ARBITER_INSTANCE IopRootIrqArbiter

| Definition at line 207 of file pnpdata.c. Referenced by IopIrqInitialize(), and IopPnPDispatch().

ARBITER_INSTANCE IopRootMemArbiter

| Definition at line 205 of file pnpdata.c. Referenced by IopMemInitialize(), and IopPnPDispatch().

ARBITER_INSTANCE IopRootPortArbiter

| Definition at line 204 of file pnpdata.c. Referenced by IopPnPDispatch(), and IopPortInitialize().

KEVENT IopWarmEjectLock

| Definition at line 193 of file pnpdata.c. Referenced by IopInitializePlugPlayServices(), and IopWarmEjectDevice().

PDEVICE_OBJECT IopWarmEjectPdo

| Definition at line 198 of file pnpdata.c. Referenced by IoBuildPoDeviceNotifyList(), IopInitializePlugPlayServices(), and IopWarmEjectDevice().

KEVENT PiEnumerationLock

| Definition at line 86 of file pnpdata.c. Referenced by IopDeviceActionWorker(), IopInitializePlugPlayServices(), IopRequestDeviceAction(), and IopWaitForBootDevicesStarted().

KEVENT PiEventQueueEmpty

| Definition at line 80 of file pnpdata.c. Referenced by IopInitializePlugPlayServices(), and IopWaitForBootDevicesDeleted().

BOOLEAN PnpAsyncOk

| Definition at line 173 of file pnpdata.c. Referenced by IopDeviceActionWorker(), IopInitializeBootDrivers(), IopStartAndEnumerateDevice(), IopStartDevice(), and IopWaitForBootDevicesStarted().

BOOLEAN PnPBootDriversInitialized

| Definition at line 122 of file pnpdata.c. Referenced by IopCallDriverAddDeviceQueryRoutine(), IopDeviceActionWorker(), and IopInitializeBootDrivers().

BOOLEAN PnPBootDriversLoaded

| Definition at line 128 of file pnpdata.c. Referenced by IopInitializeBootDrivers(), and IopRequestDeviceAction().

INTERFACE_TYPE PnpDefaultInterfaceType

| Definition at line 167 of file pnpdata.c. Referenced by IoGetDmaAdapter(), IopChangeInterfaceType(), IopCmResourcesToIoResources(), IopGetDeviceResourcesFromRegistry(), IopInitializePlugPlayServices(), IopLegacyResourceAllocation(), IopPnPDispatch(), IopQueryConflictListInternal(), IopReadDeviceConfiguration(), IopReleaseResourcesInternal(), and IopResourceRequirementsListToReqList().

BOOLEAN PnPDetectionEnabled

| Definition at line 116 of file pnpdata.c. Referenced by IopInitializePlugPlayServices(), and IopPrepareDriverLoading().

BOOLEAN PnPInitialized

| Definition at line 110 of file pnpdata.c. Referenced by IoGetLegacyVetoList(), IopCallDriverAddDeviceQueryRoutine(), IopInitializePlugPlayServices(), IopInitializeSystemDrivers(), IopLoadDriver(), IopStartDriverDevices(), and IoSynchronousInvalidateDeviceRelations().