ReactOS 0.4.16-dev-88-ga65b6ae
|
#include <ntddk.h>
#include <ntstrsafe.h>
#include <section_attribs.h>
#include "isapnphw.h"
#include "isapnpres.h"
#include <initguid.h>
#include <wdmguid.h>
Go to the source code of this file.
Classes | |
struct | _ISAPNP_COMMON_EXTENSION |
struct | _ISAPNP_FDO_EXTENSION |
struct | _ISAPNP_PDO_EXTENSION |
Macros | |
#define | TAG_ISAPNP 'pasI' |
#define | ISAPNP_ENUMERATED 0x00000001 |
Whether the device has been reported to the PnP manager. | |
#define | ISAPNP_SCANNED_BY_READ_PORT 0x00000002 |
The bus has been scanned by Read Port PDO. | |
#define | ISAPNP_READ_PORT_ALLOW_FDO_SCAN 0x00000004 |
Allows the active FDO to scan the bus. | |
#define | ISAPNP_READ_PORT_NEED_REBALANCE 0x00000008 |
The I/O resource requirements have changed. | |
Typedefs | |
typedef enum _ISAPNP_SIGNATURE | ISAPNP_SIGNATURE |
typedef struct _ISAPNP_COMMON_EXTENSION | ISAPNP_COMMON_EXTENSION |
typedef struct _ISAPNP_COMMON_EXTENSION * | PISAPNP_COMMON_EXTENSION |
typedef struct _ISAPNP_FDO_EXTENSION | ISAPNP_FDO_EXTENSION |
typedef struct _ISAPNP_FDO_EXTENSION * | PISAPNP_FDO_EXTENSION |
typedef struct _ISAPNP_PDO_EXTENSION | ISAPNP_PDO_EXTENSION |
typedef struct _ISAPNP_PDO_EXTENSION * | PISAPNP_PDO_EXTENSION |
Enumerations | |
enum | ISAPNP_DEVICE_STATE { dsStopped , dsStarted } |
enum | _ISAPNP_SIGNATURE { IsaPnpBus = 'odFI' , IsaPnpLogicalDevice = 'veDI' , IsaPnpReadDataPort = 'pdRI' } |
Variables | |
KEVENT | BusSyncEvent |
DRIVER_INITIALIZE | DriverEntry |
#define ISAPNP_ENUMERATED 0x00000001 |
#define ISAPNP_READ_PORT_ALLOW_FDO_SCAN 0x00000004 |
#define ISAPNP_READ_PORT_NEED_REBALANCE 0x00000008 |
#define ISAPNP_SCANNED_BY_READ_PORT 0x00000002 |
typedef enum _ISAPNP_SIGNATURE ISAPNP_SIGNATURE |
typedef struct _ISAPNP_FDO_EXTENSION * PISAPNP_FDO_EXTENSION |
typedef struct _ISAPNP_PDO_EXTENSION * PISAPNP_PDO_EXTENSION |
Enumerator | |
---|---|
IsaPnpBus | |
IsaPnpLogicalDevice | |
IsaPnpReadDataPort |
Enumerator | |
---|---|
dsStopped | |
dsStarted |
_Guarded_by_ | ( | BusSyncEvent | ) |
Definition at line 23 of file isapnp.c.
_Releases_lock_ | ( | BusSyncEvent | ) |
_Releases_lock_ | ( | FdoExt-> | DeviceSyncEvent | ) |
_Requires_lock_held_ | ( | FdoExt-> | DeviceSyncEvent | ) |
Definition at line 1351 of file hardware.c.
_Requires_lock_not_held_ | ( | BusSyncEvent | ) |
_Requires_lock_not_held_ | ( | FdoExt-> | DeviceSyncEvent | ) | -> DeviceSyncEvent) FORCEINLINE VOID IsaPnpAcquireDeviceDataLock( _In_ PISAPNP_FDO_EXTENSION FdoExt) |
BOOLEAN FindDmaDescriptor | ( | _In_ PISAPNP_LOGICAL_DEVICE | LogDevice, |
_In_ ULONG | Channel | ||
) |
Definition at line 533 of file isapnp.c.
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 | ||
) |
Definition at line 457 of file isapnp.c.
Referenced by IsaPnpCreateLogicalDeviceResources().
BOOLEAN FindIrqDescriptor | ( | _In_ PISAPNP_LOGICAL_DEVICE | LogDevice, |
_In_ ULONG | Vector | ||
) |
Definition at line 506 of file isapnp.c.
BOOLEAN FindMemoryDescriptor | ( | _In_ PISAPNP_LOGICAL_DEVICE | LogDevice, |
_In_ ULONG | RangeStart, | ||
_In_ ULONG | RangeEnd, | ||
_Out_opt_ PUCHAR | Information | ||
) |
Definition at line 560 of file isapnp.c.
Referenced by IsaHwConfigureDevice(), and IsaPnpCreateLogicalDeviceResources().
NTSTATUS IsaFdoPnp | ( | _In_ PISAPNP_FDO_EXTENSION | FdoExt, |
_Inout_ PIRP | Irp, | ||
_In_ PIO_STACK_LOCATION | IrpSp | ||
) |
Definition at line 123 of file fdo.c.
Referenced by _Dispatch_type_().
NTSTATUS IsaFdoQueryInterface | ( | _In_ PISAPNP_FDO_EXTENSION | FdoExt, |
_In_ PIO_STACK_LOCATION | IrpSp | ||
) |
Definition at line 19 of file interface.c.
Referenced by _Dispatch_type_(), and IsaFdoPnp().
VOID IsaHwActivateDevice | ( | _In_ PISAPNP_FDO_EXTENSION | FdoExt, |
_In_ PISAPNP_LOGICAL_DEVICE | LogicalDevice | ||
) |
Definition at line 1655 of file hardware.c.
Referenced by DrvTestResources(), and IsaPdoPnp().
NTSTATUS IsaHwConfigureDevice | ( | _In_ PISAPNP_FDO_EXTENSION | FdoExt, |
_In_ PISAPNP_LOGICAL_DEVICE | LogicalDevice, | ||
_In_ PCM_RESOURCE_LIST | Resources | ||
) |
Definition at line 1511 of file hardware.c.
Referenced by DrvTestResources(), and IsaPdoPnp().
VOID IsaHwDeactivateDevice | ( | _In_ PISAPNP_LOGICAL_DEVICE | LogicalDevice | ) |
Definition at line 1667 of file hardware.c.
Referenced by IsaPdoPnp(), and IsaPdoRemoveDevice().
Definition at line 1253 of file hardware.c.
Referenced by DrvTestIsolation(), IsaPdoStartReadPort(), and IsaPnpFillDeviceRelations().
Definition at line 1678 of file hardware.c.
Referenced by DrvTestIsolation(), DrvTestResources(), IsaPdoPnp(), IsaPdoRemoveDevice(), IsaPdoStartReadPort(), and IsaPnpFillDeviceRelations().
VOID IsaHwWakeDevice | ( | _In_ PISAPNP_LOGICAL_DEVICE | LogicalDevice | ) |
Definition at line 1644 of file hardware.c.
Referenced by DrvTestResources(), IsaPdoPnp(), and IsaPdoRemoveDevice().
NTSTATUS IsaPdoPnp | ( | _In_ PISAPNP_PDO_EXTENSION | PdoDeviceExtension, |
_Inout_ PIRP | Irp, | ||
_In_ PIO_STACK_LOCATION | IrpSp | ||
) |
Definition at line 867 of file pdo.c.
Referenced by _Dispatch_type_().
PIO_RESOURCE_REQUIREMENTS_LIST IsaPnpCreateReadPortDORequirements | ( | _In_opt_ ULONG | SelectedReadPort | ) |
Definition at line 819 of file isapnp.c.
Referenced by DrvTestReadDataPortQueryResourcesRequirementsForEnum(), DrvTestReadDataPortQueryResourcesRequirementsForRebalance(), and IsaPdoQueryResourceRequirements().
PCM_RESOURCE_LIST IsaPnpCreateReadPortDOResources | ( | VOID | ) |
Definition at line 966 of file isapnp.c.
Referenced by DrvTestReadDataPortQueryResources(), and IsaPdoQueryResources().
NTSTATUS IsaPnpFillDeviceRelations | ( | _In_ PISAPNP_FDO_EXTENSION | FdoExt, |
_Inout_ PIRP | Irp, | ||
_In_ BOOLEAN | IncludeDataPort | ||
) |
Definition at line 1054 of file isapnp.c.
Referenced by IsaFdoQueryBusRelations(), and IsaPdoQueryDeviceRelations().
VOID IsaPnpRemoveLogicalDeviceDO | ( | _In_ PDEVICE_OBJECT | Pdo | ) |
Definition at line 823 of file pdo.c.
Referenced by IsaFdoRemoveDevice(), and IsaPdoRemoveDevice().
VOID IsaPnpRemoveReadPortDO | ( | _In_ PDEVICE_OBJECT | Pdo | ) |
Definition at line 1042 of file isapnp.c.
Referenced by IsaFdoRemoveDevice(), and IsaReadPortRemoveDevice().
|
extern |
Definition at line 21 of file isapnp.c.
Referenced by _Releases_lock_(), _Requires_lock_not_held_(), and DriverEntry().