ReactOS
0.4.15-dev-1627-gaf0f858
|
#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 |
Definition at line 35 of file precomp.h.
Enumerator | |
---|---|
InvalidExtension | |
DriverExtension | |
FdoExtension | |
PdoExtension |
NTSTATUS AllocateAddressMapping | ( | PMAPPED_ADDRESS * | MappedAddressList, |
STOR_PHYSICAL_ADDRESS | IoAddress, | ||
PVOID | MappedAddress, | ||
ULONG | NumberOfBytes, | ||
ULONG | BusNumber | ||
) |
Definition at line 331 of file misc.c.
Referenced by StorPortGetDeviceBase().
PCM_RESOURCE_LIST CopyResourceList | ( | POOL_TYPE | PoolType, |
PCM_RESOURCE_LIST | Source | ||
) |
Definition at line 132 of file misc.c.
Referenced by PortFdoStartDevice().
NTSTATUS NTAPI DriverEntry | ( | _In_ PDRIVER_OBJECT | DriverObject, |
_In_ PUNICODE_STRING | RegistryPath | ||
) |
Definition at line 25 of file ksecdd.c.
Definition at line 5 of file utils.c.
NTSTATUS ForwardIrpAndWait | ( | _In_ PDEVICE_OBJECT | LowerDevice, |
_In_ PIRP | Irp | ||
) |
Definition at line 33 of file misc.c.
INTERFACE_TYPE GetBusInterface | ( | PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 73 of file misc.c.
NTSTATUS GetResourceListInterrupt | ( | PFDO_DEVICE_EXTENSION | DeviceExtension, |
PULONG | Vector, | ||
PKIRQL | Irql, | ||
KINTERRUPT_MODE * | InterruptMode, | ||
PBOOLEAN | ShareVector, | ||
PKAFFINITY | Affinity | ||
) |
Definition at line 282 of file misc.c.
Referenced by PortFdoConnectInterrupt().
Definition at line 283 of file miniport.c.
Referenced by PortFdoStartMiniport().
Definition at line 335 of file miniport.c.
Referenced by PortFdoStartMiniport().
Definition at line 351 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 234 of file miniport.c.
BOOLEAN MiniportStartIo | ( | _In_ PMINIPORT | Miniport, |
_In_ PSCSI_REQUEST_BLOCK | Srb | ||
) |
Definition at line 367 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 588 of file fdo.c.
Referenced by PortDispatchPnp().
Definition at line 560 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().
NTSTATUS QueryBusInterface | ( | PDEVICE_OBJECT | DeviceObject, |
PGUID | Guid, | ||
USHORT | Size, | ||
USHORT | Version, | ||
PBUS_INTERFACE_STANDARD | Interface, | ||
PVOID | InterfaceSpecificData | ||
) |
Definition at line 162 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 213 of file misc.c.
Referenced by StorPortGetDeviceBase().