ReactOS 0.4.16-dev-197-g92996da
|
#include <wdm.h>
#include <ntddk.h>
#include <stdio.h>
#include <memory.h>
#include <storport.h>
#include <ntddscsi.h>
#include <ntdddisk.h>
#include <mountdev.h>
#include <wdmguid.h>
Go to the source code of this file.
Classes | |
struct | _DRIVER_INIT_DATA |
struct | _DRIVER_OBJECT_EXTENSION |
struct | _MINIPORT_DEVICE_EXTENSION |
struct | _MINIPORT |
struct | _UNIT_DATA |
struct | _FDO_DEVICE_EXTENSION |
struct | _PDO_DEVICE_EXTENSION |
Macros | |
#define | _STORPORT_ |
#define | TAG_GLOBAL_DATA 'DGtS' |
#define | TAG_INIT_DATA 'DItS' |
#define | TAG_MINIPORT_DATA 'DMtS' |
#define | TAG_ACCRESS_RANGE 'RAtS' |
#define | TAG_RESOURCE_LIST 'LRtS' |
#define | TAG_ADDRESS_MAPPING 'MAtS' |
#define | TAG_INQUIRY_DATA 'QItS' |
#define | TAG_SENSE_DATA 'NStS' |
Typedefs | |
typedef struct _DRIVER_INIT_DATA | DRIVER_INIT_DATA |
typedef struct _DRIVER_INIT_DATA * | PDRIVER_INIT_DATA |
typedef struct _DRIVER_OBJECT_EXTENSION | DRIVER_OBJECT_EXTENSION |
typedef struct _DRIVER_OBJECT_EXTENSION * | PDRIVER_OBJECT_EXTENSION |
typedef struct _MINIPORT_DEVICE_EXTENSION | MINIPORT_DEVICE_EXTENSION |
typedef struct _MINIPORT_DEVICE_EXTENSION * | PMINIPORT_DEVICE_EXTENSION |
typedef struct _MINIPORT | MINIPORT |
typedef struct _MINIPORT * | PMINIPORT |
typedef struct _UNIT_DATA | UNIT_DATA |
typedef struct _UNIT_DATA * | PUNIT_DATA |
typedef struct _FDO_DEVICE_EXTENSION | FDO_DEVICE_EXTENSION |
typedef struct _FDO_DEVICE_EXTENSION * | PFDO_DEVICE_EXTENSION |
typedef struct _PDO_DEVICE_EXTENSION | PDO_DEVICE_EXTENSION |
typedef struct _PDO_DEVICE_EXTENSION * | PPDO_DEVICE_EXTENSION |
Enumerations | |
enum | DEVICE_STATE { dsStopped , dsStarted , dsPaused , dsRemoved , dsSurpriseRemoved , NotStarted = 0 , Started , StopPending , Stopped , RemovePending , SurpriseRemovePending , Deleted , dsStopped , dsStarted , dsPaused , dsRemoved , dsSurpriseRemoved , dsStopped , dsStarted , dsPaused , dsRemoved , dsSurpriseRemoved } |
enum | EXTENSION_TYPE { InvalidExtension = 0 , DriverExtension , FdoExtension , PdoExtension } |
typedef struct _DRIVER_INIT_DATA DRIVER_INIT_DATA |
typedef struct _DRIVER_INIT_DATA * PDRIVER_INIT_DATA |
typedef struct _FDO_DEVICE_EXTENSION * PFDO_DEVICE_EXTENSION |
typedef struct _PDO_DEVICE_EXTENSION * PPDO_DEVICE_EXTENSION |
typedef struct _UNIT_DATA * PUNIT_DATA |
typedef struct _UNIT_DATA UNIT_DATA |
Enumerator | |
---|---|
InvalidExtension | |
DriverExtension | |
FdoExtension | |
PdoExtension |
Definition at line 44 of file precomp.h.
NTSTATUS AllocateAddressMapping | ( | PMAPPED_ADDRESS * | MappedAddressList, |
STOR_PHYSICAL_ADDRESS | IoAddress, | ||
PVOID | MappedAddress, | ||
ULONG | NumberOfBytes, | ||
ULONG | BusNumber | ||
) |
Definition at line 290 of file misc.c.
Referenced by StorPortGetDeviceBase().
PCM_RESOURCE_LIST CopyResourceList | ( | POOL_TYPE | PoolType, |
PCM_RESOURCE_LIST | Source | ||
) |
Definition at line 91 of file misc.c.
Referenced by PortFdoStartDevice().
NTSTATUS NTAPI DriverEntry | ( | _In_ PDRIVER_OBJECT | DriverObject, |
_In_ PUNICODE_STRING | RegistryPath | ||
) |
Definition at line 1412 of file isapnp.c.
Definition at line 5 of file utils.c.
INTERFACE_TYPE GetBusInterface | ( | PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 32 of file misc.c.
Referenced by PortFdoStartMiniport().
NTSTATUS GetResourceListInterrupt | ( | PFDO_DEVICE_EXTENSION | DeviceExtension, |
PULONG | Vector, | ||
PKIRQL | Irql, | ||
KINTERRUPT_MODE * | InterruptMode, | ||
PBOOLEAN | ShareVector, | ||
PKAFFINITY | Affinity | ||
) |
Definition at line 241 of file misc.c.
Referenced by PortFdoConnectInterrupt().
Definition at line 285 of file miniport.c.
Referenced by PortFdoStartMiniport().
Definition at line 337 of file miniport.c.
Referenced by PortFdoStartMiniport().
Definition at line 353 of file miniport.c.
Referenced by PortFdoInterruptRoutine().
NTSTATUS MiniportInitialize | ( | _In_ PMINIPORT | Miniport, |
_In_ PFDO_DEVICE_EXTENSION | DeviceExtension, | ||
_In_ PHW_INITIALIZATION_DATA | HwInitializationData | ||
) |
Definition at line 236 of file miniport.c.
BOOLEAN MiniportStartIo | ( | _In_ PMINIPORT | Miniport, |
_In_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 369 of file miniport.c.
NTSTATUS PortCreatePdo | ( | _In_ PFDO_DEVICE_EXTENSION | FdoExtension, |
_In_ ULONG | Bus, | ||
_In_ ULONG | Target, | ||
_In_ ULONG | Lun, | ||
_Out_ PPDO_DEVICE_EXTENSION * | PdoExtension | ||
) |
Definition at line 19 of file pdo.c.
Referenced by PortFdoScanBus().
NTSTATUS PortDeletePdo | ( | _In_ PPDO_DEVICE_EXTENSION | PdoExtension | ) |
Definition at line 87 of file pdo.c.
Referenced by PortFdoScanBus().
Definition at line 596 of file fdo.c.
Referenced by PortDispatchPnp().
Definition at line 568 of file fdo.c.
Referenced by PortDispatchScsi().
PHW_INITIALIZATION_DATA PortGetDriverInitData | ( | PDRIVER_OBJECT_EXTENSION | DriverExtension, |
INTERFACE_TYPE | InterfaceType | ||
) |
Definition at line 78 of file storport.c.
Referenced by PortFdoStartMiniport().
Definition at line 135 of file pdo.c.
Referenced by PortDispatchPnp().
Definition at line 120 of file pdo.c.
Referenced by PortDispatchScsi().
NTSTATUS QueryBusInterface | ( | PDEVICE_OBJECT | DeviceObject, |
PGUID | Guid, | ||
USHORT | Size, | ||
USHORT | Version, | ||
PBUS_INTERFACE_STANDARD | Interface, | ||
PVOID | InterfaceSpecificData | ||
) |
Definition at line 121 of file misc.c.
Referenced by PortFdoStartDevice().
BOOLEAN TranslateResourceListAddress | ( | PFDO_DEVICE_EXTENSION | DeviceExtension, |
INTERFACE_TYPE | BusType, | ||
ULONG | SystemIoBusNumber, | ||
STOR_PHYSICAL_ADDRESS | IoAddress, | ||
ULONG | NumberOfBytes, | ||
BOOLEAN | InIoSpace, | ||
PPHYSICAL_ADDRESS | TranslatedAddress | ||
) |
Definition at line 172 of file misc.c.
Referenced by StorPortGetDeviceBase().