ReactOS  0.4.14-dev-991-g696cdc6
pciidex.h
Go to the documentation of this file.
1 #ifndef _PCIIDEX_PCH_
2 #define _PCIIDEX_PCH_
3 
4 #include <ntifs.h>
5 #include <ide.h>
6 
8 {
13 
14 typedef struct _COMMON_DEVICE_EXTENSION
15 {
16  BOOLEAN IsFDO;
18 
19 typedef struct _FDO_DEVICE_EXTENSION
20 {
22 
32 
33 typedef struct _PDO_DEVICE_EXTENSION
34 {
36 
40 
41 /* fdo.c */
42 
43 DRIVER_ADD_DEVICE PciIdeXAddDevice;
48 
52  IN PIRP Irp);
53 
54 /* misc.c */
55 
56 IO_COMPLETION_ROUTINE PciIdeXGenericCompletion;
60  IN PIRP Irp,
61  IN PVOID Context);
62 
66  IN PIRP Irp);
67 
71  IN PIRP Irp);
72 
75  IN ULONG Flags,
78 
79 /* pdo.c */
80 
84  IN PIRP Irp);
85 
86 #endif /* _PCIIDEX_PCH_ */
PDEVICE_OBJECT ControllerFdo
Definition: pciidex.h:38
IO_COMPLETION_ROUTINE PciIdeXGenericCompletion
Definition: pciidex.h:56
#define IN
Definition: typedefs.h:39
NTSTATUS(* PCONTROLLER_PROPERTIES)(IN PVOID DeviceExtension, IN PIDE_CONTROLLER_PROPERTIES ControllerProperties)
Definition: ide.h:377
struct _PDO_DEVICE_EXTENSION PDO_DEVICE_EXTENSION
PBUS_INTERFACE_STANDARD BusInterface
Definition: pciidex.h:23
_In_ PDEVICE_OBJECT Pdo
Definition: classpnp.h:301
struct _COMMON_DEVICE_EXTENSION * PCOMMON_DEVICE_EXTENSION
_In_ PIRP Irp
Definition: csq.h:116
NTSTATUS NTAPI PciIdeXFdoPnpDispatch(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: fdo.c:402
struct _PCIIDEX_DRIVER_EXTENSION * PPCIIDEX_DRIVER_EXTENSION
unsigned char * PUCHAR
Definition: retypes.h:3
NTSTATUS(* PCIIDE_UDMA_MODES_SUPPORTED)(IDENTIFY_DATA IdentifyData, PULONG BestXferMode, PULONG CurrentMode)
Definition: ide.h:295
LONG NTSTATUS
Definition: precomp.h:26
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
PCONTROLLER_PROPERTIES HwGetControllerProperties
Definition: pciidex.h:9
DRIVER_ADD_DEVICE PciIdeXAddDevice
Definition: pciidex.h:43
unsigned char BOOLEAN
_Out_ _Inout_ POEM_STRING DestinationString
Definition: rtlfuncs.h:1869
static PDRIVER_OBJECT DriverObject
Definition: template.c:42
COMMON_DEVICE_EXTENSION Common
Definition: pci.h:55
#define MAX_IDE_CHANNEL
Definition: ide.h:26
PUCHAR MiniControllerExtension[0]
Definition: pciidex.h:30
struct _PDO_DEVICE_EXTENSION * PPDO_DEVICE_EXTENSION
struct _FDO_DEVICE_EXTENSION * PFDO_DEVICE_EXTENSION
ULONG MiniControllerExtensionSize
Definition: pciidex.h:10
struct _PCIIDEX_DRIVER_EXTENSION PCIIDEX_DRIVER_EXTENSION
NTSTATUS DuplicateUnicodeString(IN ULONG Flags, IN PCUNICODE_STRING SourceString, OUT PUNICODE_STRING DestinationString)
Definition: misc.c:72
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
Definition: rtlfuncs.h:1869
PHYSICAL_ADDRESS BusMasterPortBase
Definition: pciidex.h:25
PCIIDE_UDMA_MODES_SUPPORTED HwUdmaModesSupported
Definition: pciidex.h:11
COMMON_DEVICE_EXTENSION Common
Definition: pci.h:80
struct _FDO_DEVICE_EXTENSION FDO_DEVICE_EXTENSION
IN PDEVICE_OBJECT DeviceObject
Definition: fatprocs.h:1560
NTSTATUS NTAPI PciIdeXPdoPnpDispatch(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: pdo.c:359
NTSTATUS ForwardIrpAndWait(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: fdo.c:32
unsigned short USHORT
Definition: pedump.c:61
struct _COMMON_DEVICE_EXTENSION COMMON_DEVICE_EXTENSION
#define OUT
Definition: typedefs.h:40
PDEVICE_OBJECT Pdo
Definition: i8042prt.h:128
unsigned int ULONG
Definition: retypes.h:1
PDEVICE_OBJECT LowerDevice
Definition: i8042prt.h:130
NTSTATUS NTAPI ForwardIrpAndForget(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
Definition: misc.c:59
IDE_CONTROLLER_PROPERTIES Properties
Definition: pciidex.h:24