26#define TAG_ISAPNP 'pasI'
75#define ISAPNP_ENUMERATED 0x00000001
76#define ISAPNP_SCANNED_BY_READ_PORT 0x00000002
77#define ISAPNP_READ_PORT_ALLOW_FDO_SCAN 0x00000004
78#define ISAPNP_READ_PORT_NEED_REBALANCE 0x00000008
97 volatile LONG SpecialFiles;
112IsaPnpAcquireBusDataLock(
VOID)
122IsaPnpReleaseBusDataLock(
VOID)
131IsaPnpAcquireDeviceDataLock(
142IsaPnpReleaseDeviceDataLock(
#define _Acquires_lock_(lock)
#define _Guarded_by_(lock)
#define _Requires_lock_held_(lock)
#define _Requires_lock_not_held_(lock)
#define _Releases_lock_(lock)
_In_ PIO_STACK_LOCATION IrpSp
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeSetEvent(pEvt, foo, foo2)
VOID IsaPnpRemoveLogicalDeviceDO(_In_ PDEVICE_OBJECT Pdo)
VOID IsaHwWakeDevice(_In_ PISAPNP_LOGICAL_DEVICE LogicalDevice)
BOOLEAN FindDmaDescriptor(_In_ PISAPNP_LOGICAL_DEVICE LogDevice, _In_ ULONG Channel)
NTSTATUS IsaFdoQueryInterface(_In_ PISAPNP_FDO_EXTENSION FdoExt, _In_ PIO_STACK_LOCATION IrpSp)
BOOLEAN FindIrqDescriptor(_In_ PISAPNP_LOGICAL_DEVICE LogDevice, _In_ ULONG Vector)
VOID IsaHwWaitForKey(VOID)
struct _ISAPNP_FDO_EXTENSION ISAPNP_FDO_EXTENSION
struct _ISAPNP_FDO_EXTENSION * PISAPNP_FDO_EXTENSION
struct _ISAPNP_PDO_EXTENSION * PISAPNP_PDO_EXTENSION
DRIVER_INITIALIZE DriverEntry
NTSTATUS IsaPnpFillDeviceRelations(_In_ PISAPNP_FDO_EXTENSION FdoExt, _Inout_ PIRP Irp, _In_ BOOLEAN IncludeDataPort)
VOID IsaHwDeactivateDevice(_In_ PISAPNP_LOGICAL_DEVICE LogicalDevice)
struct _ISAPNP_PDO_EXTENSION ISAPNP_PDO_EXTENSION
struct _ISAPNP_COMMON_EXTENSION ISAPNP_COMMON_EXTENSION
VOID IsaPnpRemoveReadPortDO(_In_ PDEVICE_OBJECT Pdo)
UCHAR IsaHwTryReadDataPort(_In_ PUCHAR ReadDataPort)
PIO_RESOURCE_REQUIREMENTS_LIST IsaPnpCreateReadPortDORequirements(_In_opt_ ULONG SelectedReadPort)
NTSTATUS IsaPdoPnp(_In_ PISAPNP_PDO_EXTENSION PdoDeviceExtension, _Inout_ PIRP Irp, _In_ PIO_STACK_LOCATION IrpSp)
NTSTATUS IsaFdoPnp(_In_ PISAPNP_FDO_EXTENSION FdoExt, _Inout_ PIRP Irp, _In_ PIO_STACK_LOCATION IrpSp)
struct _ISAPNP_COMMON_EXTENSION * PISAPNP_COMMON_EXTENSION
enum _ISAPNP_SIGNATURE ISAPNP_SIGNATURE
PCM_RESOURCE_LIST IsaPnpCreateReadPortDOResources(VOID)
BOOLEAN FindIoDescriptor(_In_ PISAPNP_LOGICAL_DEVICE LogDevice, _In_opt_ ULONG Base, _In_ ULONG RangeStart, _In_ ULONG RangeEnd, _Out_opt_ PUCHAR Information, _Out_opt_ PULONG Length)
BOOLEAN FindMemoryDescriptor(_In_ PISAPNP_LOGICAL_DEVICE LogDevice, _In_ ULONG RangeStart, _In_ ULONG RangeEnd, _Out_opt_ PUCHAR Information)
NTSTATUS IsaHwConfigureDevice(_In_ PISAPNP_FDO_EXTENSION FdoExt, _In_ PISAPNP_LOGICAL_DEVICE LogicalDevice, _In_ PCM_RESOURCE_LIST Resources)
VOID IsaHwActivateDevice(_In_ PISAPNP_FDO_EXTENSION FdoExt, _In_ PISAPNP_LOGICAL_DEVICE LogicalDevice)
_In_ ULONG _In_ ULONG _In_ ULONG Length
PEPROCESS PsInitialSystemProcess
ISAPNP_SIGNATURE Signature
ISAPNP_DEVICE_STATE State
PDRIVER_OBJECT DriverObject
LIST_ENTRY DeviceListHead
_Guarded_by_(DeviceSyncEvent) ULONG DeviceCount
ISAPNP_COMMON_EXTENSION Common
_Guarded_by_(DeviceSyncEvent) LIST_ENTRY DeviceListHead
PDEVICE_OBJECT ReadPortPdo
PCM_RESOURCE_LIST ResourceList
ISAPNP_COMMON_EXTENSION Common
PIO_RESOURCE_REQUIREMENTS_LIST RequirementsList
_Write_guarded_by_(_Global_interlock_) volatile LONG SpecialFiles
PISAPNP_LOGICAL_DEVICE IsaPnpDevice
PISAPNP_FDO_EXTENSION FdoExt
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_ WDFDRIVER _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT _In_opt_ PDEVICE_OBJECT Pdo
_In_ WDFREQUEST _In_ NTSTATUS _In_ ULONG_PTR Information
#define PsGetCurrentProcess