ReactOS 0.4.15-dev-8191-gbc6c731
miniport.h File Reference
#include <guiddef.h>
Include dependency graph for miniport.h:

Go to the source code of this file.

Classes

struct  _EMULATOR_ACCESS_ENTRY
 
struct  _INTERFACE
 
struct  _IO_RESOURCE_DESCRIPTOR
 

Macros

#define EMULATOR_READ_ACCESS   0x01
 
#define EMULATOR_WRITE_ACCESS   0x02
 

Typedefs

typedef enum _EMULATOR_PORT_ACCESS_TYPE EMULATOR_PORT_ACCESS_TYPE
 
typedef enum _EMULATOR_PORT_ACCESS_TYPEPEMULATOR_PORT_ACCESS_TYPE
 
typedef struct _EMULATOR_ACCESS_ENTRY EMULATOR_ACCESS_ENTRY
 
typedef struct _EMULATOR_ACCESS_ENTRYPEMULATOR_ACCESS_ENTRY
 
typedef VOID(NTAPIPBANKED_SECTION_ROUTINE) (IN ULONG ReadBank, IN ULONG WriteBank, IN PVOID Context)
 
typedef enum _INTERFACE_TYPE INTERFACE_TYPE
 
typedef enum _INTERFACE_TYPEPINTERFACE_TYPE
 
typedef enum _KINTERRUPT_MODE KINTERRUPT_MODE
 
typedef VOID(* PINTERFACE_REFERENCE) (PVOID Context)
 
typedef VOID(* PINTERFACE_DEREFERENCE) (PVOID Context)
 
typedef enum _BUS_DATA_TYPE BUS_DATA_TYPE
 
typedef enum _BUS_DATA_TYPEPBUS_DATA_TYPE
 
typedef enum _DMA_WIDTH DMA_WIDTH
 
typedef enum _DMA_WIDTHPDMA_WIDTH
 
typedef enum _DMA_SPEED DMA_SPEED
 
typedef enum _DMA_SPEEDPDMA_SPEED
 
typedef struct _INTERFACE INTERFACE
 
typedef struct _INTERFACEPINTERFACE
 
typedef enum _IRQ_DEVICE_POLICY IRQ_DEVICE_POLICY
 
typedef enum _IRQ_DEVICE_POLICYPIRQ_DEVICE_POLICY
 
typedef enum _IRQ_PRIORITY IRQ_PRIORITY
 
typedef enum _IRQ_PRIORITYPIRQ_PRIORITY
 
typedef struct _IO_RESOURCE_DESCRIPTOR IO_RESOURCE_DESCRIPTOR
 
typedef struct _IO_RESOURCE_DESCRIPTORPIO_RESOURCE_DESCRIPTOR
 

Enumerations

enum  _EMULATOR_PORT_ACCESS_TYPE { Uchar , Ushort , Ulong }
 
enum  _INTERFACE_TYPE {
  InterfaceTypeUndefined = -1 , Internal , Isa , Eisa ,
  MicroChannel , TurboChannel , PCIBus , VMEBus ,
  NuBus , PCMCIABus , CBus , MPIBus ,
  MPSABus , ProcessorInternal , InternalPowerBus , PNPISABus ,
  PNPBus , Vmcs , MaximumInterfaceType , InterfaceTypeUndefined = -1 ,
  Internal , Isa , Eisa , MicroChannel ,
  TurboChannel , PCIBus , VMEBus , NuBus ,
  PCMCIABus , CBus , MPIBus , MPSABus ,
  ProcessorInternal , InternalPowerBus , PNPISABus , PNPBus ,
  Vmcs , MaximumInterfaceType , InterfaceTypeUndefined = -1 , Internal ,
  Isa , Eisa , MicroChannel , TurboChannel ,
  PCIBus , VMEBus , NuBus , PCMCIABus ,
  CBus , MPIBus , MPSABus , ProcessorInternal ,
  InternalPowerBus , PNPISABus , PNPBus , Vmcs ,
  MaximumInterfaceType
}
 
enum  _KINTERRUPT_MODE { LevelSensitive , Latched , LevelSensitive , Latched }
 
enum  _BUS_DATA_TYPE {
  ConfigurationSpaceUndefined = -1 , Cmos , EisaConfiguration , Pos ,
  CbusConfiguration , PCIConfiguration , VMEConfiguration , NuBusConfiguration ,
  PCMCIAConfiguration , MPIConfiguration , MPSAConfiguration , PNPISAConfiguration ,
  SgiInternalConfiguration , MaximumBusDataType , ConfigurationSpaceUndefined = -1 , Cmos ,
  EisaConfiguration , Pos , CbusConfiguration , PCIConfiguration ,
  VMEConfiguration , NuBusConfiguration , PCMCIAConfiguration , MPIConfiguration ,
  MPSAConfiguration , PNPISAConfiguration , SgiInternalConfiguration , MaximumBusDataType
}
 
enum  _DMA_WIDTH {
  Width8Bits , Width16Bits , Width32Bits , MaximumDmaWidth ,
  Width8Bits , Width16Bits , Width32Bits , MaximumDmaWidth
}
 
enum  _DMA_SPEED {
  Compatible , TypeA , TypeB , TypeC ,
  TypeF , MaximumDmaSpeed , Compatible , TypeA ,
  TypeB , TypeC , TypeF , MaximumDmaSpeed
}
 
enum  _IRQ_DEVICE_POLICY {
  IrqPolicyMachineDefault = 0 , IrqPolicyAllCloseProcessors , IrqPolicyOneCloseProcessor , IrqPolicyAllProcessorsInMachine ,
  IrqPolicySpecifiedProcessors , IrqPolicySpreadMessagesAcrossAllProcessors , IrqPolicyMachineDefault = 0 , IrqPolicyAllCloseProcessors ,
  IrqPolicyOneCloseProcessor , IrqPolicyAllProcessorsInMachine , IrqPolicySpecifiedProcessors , IrqPolicySpreadMessagesAcrossAllProcessors
}
 
enum  _IRQ_PRIORITY {
  IrqPriorityUndefined = 0 , IrqPriorityLow , IrqPriorityNormal , IrqPriorityHigh ,
  IrqPriorityUndefined = 0 , IrqPriorityLow , IrqPriorityNormal , IrqPriorityHigh ,
  IrqPriorityUndefined = 0 , IrqPriorityLow , IrqPriorityNormal , IrqPriorityHigh
}
 

Macro Definition Documentation

◆ EMULATOR_READ_ACCESS

#define EMULATOR_READ_ACCESS   0x01

Definition at line 30 of file miniport.h.

◆ EMULATOR_WRITE_ACCESS

#define EMULATOR_WRITE_ACCESS   0x02

Definition at line 31 of file miniport.h.

Typedef Documentation

◆ BUS_DATA_TYPE

◆ DMA_SPEED

◆ DMA_WIDTH

◆ EMULATOR_ACCESS_ENTRY

◆ EMULATOR_PORT_ACCESS_TYPE

◆ INTERFACE

◆ INTERFACE_TYPE

◆ IO_RESOURCE_DESCRIPTOR

◆ IRQ_DEVICE_POLICY

◆ IRQ_PRIORITY

◆ KINTERRUPT_MODE

◆ PBANKED_SECTION_ROUTINE

typedef VOID(NTAPI * PBANKED_SECTION_ROUTINE) (IN ULONG ReadBank, IN ULONG WriteBank, IN PVOID Context)

Definition at line 49 of file miniport.h.

◆ PBUS_DATA_TYPE

◆ PDMA_SPEED

◆ PDMA_WIDTH

◆ PEMULATOR_ACCESS_ENTRY

◆ PEMULATOR_PORT_ACCESS_TYPE

◆ PINTERFACE

◆ PINTERFACE_DEREFERENCE

typedef VOID(* PINTERFACE_DEREFERENCE) (PVOID Context)

Definition at line 85 of file miniport.h.

◆ PINTERFACE_REFERENCE

typedef VOID(* PINTERFACE_REFERENCE) (PVOID Context)

Definition at line 84 of file miniport.h.

◆ PINTERFACE_TYPE

◆ PIO_RESOURCE_DESCRIPTOR

◆ PIRQ_DEVICE_POLICY

◆ PIRQ_PRIORITY

Enumeration Type Documentation

◆ _BUS_DATA_TYPE

Enumerator
ConfigurationSpaceUndefined 
Cmos 
EisaConfiguration 
Pos 
CbusConfiguration 
PCIConfiguration 
VMEConfiguration 
NuBusConfiguration 
PCMCIAConfiguration 
MPIConfiguration 
MPSAConfiguration 
PNPISAConfiguration 
SgiInternalConfiguration 
MaximumBusDataType 
ConfigurationSpaceUndefined 
Cmos 
EisaConfiguration 
Pos 
CbusConfiguration 
PCIConfiguration 
VMEConfiguration 
NuBusConfiguration 
PCMCIAConfiguration 
MPIConfiguration 
MPSAConfiguration 
PNPISAConfiguration 
SgiInternalConfiguration 
MaximumBusDataType 

Definition at line 87 of file miniport.h.

87 {
89 Cmos,
91 Pos,
enum _BUS_DATA_TYPE * PBUS_DATA_TYPE
@ SgiInternalConfiguration
Definition: miniport.h:100
@ EisaConfiguration
Definition: miniport.h:90
@ MaximumBusDataType
Definition: miniport.h:101
@ Pos
Definition: miniport.h:91
@ PNPISAConfiguration
Definition: miniport.h:99
@ MPIConfiguration
Definition: miniport.h:97
@ MPSAConfiguration
Definition: miniport.h:98
@ Cmos
Definition: miniport.h:89
@ ConfigurationSpaceUndefined
Definition: miniport.h:88
@ VMEConfiguration
Definition: miniport.h:94
@ NuBusConfiguration
Definition: miniport.h:95
@ PCMCIAConfiguration
Definition: miniport.h:96
@ CbusConfiguration
Definition: miniport.h:92
@ PCIConfiguration
Definition: miniport.h:93
enum _BUS_DATA_TYPE BUS_DATA_TYPE

◆ _DMA_SPEED

Enumerator
Compatible 
TypeA 
TypeB 
TypeC 
TypeF 
MaximumDmaSpeed 
Compatible 
TypeA 
TypeB 
TypeC 
TypeF 
MaximumDmaSpeed 

Definition at line 111 of file miniport.h.

111 {
113 TypeA,
114 TypeB,
115 TypeC,
116 TypeF,
enum _DMA_SPEED DMA_SPEED
@ TypeF
Definition: miniport.h:116
@ TypeA
Definition: miniport.h:113
@ MaximumDmaSpeed
Definition: miniport.h:117
@ TypeB
Definition: miniport.h:114
@ Compatible
Definition: miniport.h:112
@ TypeC
Definition: miniport.h:115
enum _DMA_SPEED * PDMA_SPEED

◆ _DMA_WIDTH

Enumerator
Width8Bits 
Width16Bits 
Width32Bits 
MaximumDmaWidth 
Width8Bits 
Width16Bits 
Width32Bits 
MaximumDmaWidth 

Definition at line 104 of file miniport.h.

104 {
@ MaximumDmaWidth
Definition: miniport.h:108
@ Width16Bits
Definition: miniport.h:106
@ Width8Bits
Definition: miniport.h:105
@ Width32Bits
Definition: miniport.h:107
enum _DMA_WIDTH * PDMA_WIDTH
enum _DMA_WIDTH DMA_WIDTH

◆ _EMULATOR_PORT_ACCESS_TYPE

Enumerator
Uchar 
Ushort 
Ulong 

Definition at line 33 of file miniport.h.

33 {
34 Uchar,
35 Ushort,
36 Ulong
enum _EMULATOR_PORT_ACCESS_TYPE * PEMULATOR_PORT_ACCESS_TYPE
enum _EMULATOR_PORT_ACCESS_TYPE EMULATOR_PORT_ACCESS_TYPE
@ Ushort
Definition: miniport.h:35
@ Uchar
Definition: miniport.h:34
unsigned long Ulong
Definition: utypes.h:42

◆ _INTERFACE_TYPE

Enumerator
InterfaceTypeUndefined 
Internal 
Isa 
Eisa 
MicroChannel 
TurboChannel 
PCIBus 
VMEBus 
NuBus 
PCMCIABus 
CBus 
MPIBus 
MPSABus 
ProcessorInternal 
InternalPowerBus 
PNPISABus 
PNPBus 
Vmcs 
MaximumInterfaceType 
InterfaceTypeUndefined 
Internal 
Isa 
Eisa 
MicroChannel 
TurboChannel 
PCIBus 
VMEBus 
NuBus 
PCMCIABus 
CBus 
MPIBus 
MPSABus 
ProcessorInternal 
InternalPowerBus 
PNPISABus 
PNPBus 
Vmcs 
MaximumInterfaceType 
InterfaceTypeUndefined 
Internal 
Isa 
Eisa 
MicroChannel 
TurboChannel 
PCIBus 
VMEBus 
NuBus 
PCMCIABus 
CBus 
MPIBus 
MPSABus 
ProcessorInternal 
InternalPowerBus 
PNPISABus 
PNPBus 
Vmcs 
MaximumInterfaceType 

Definition at line 57 of file miniport.h.

57 {
60 Isa,
61 Eisa,
64 PCIBus,
65 VMEBus,
66 NuBus,
68 CBus,
69 MPIBus,
70 MPSABus,
74 PNPBus,
75 Vmcs,
enum _INTERFACE_TYPE * PINTERFACE_TYPE
@ Eisa
Definition: miniport.h:61
@ VMEBus
Definition: miniport.h:65
@ MaximumInterfaceType
Definition: miniport.h:76
@ InterfaceTypeUndefined
Definition: miniport.h:58
@ CBus
Definition: miniport.h:68
@ TurboChannel
Definition: miniport.h:63
@ PNPBus
Definition: miniport.h:74
@ PCIBus
Definition: miniport.h:64
@ MPIBus
Definition: miniport.h:69
@ Vmcs
Definition: miniport.h:75
@ InternalPowerBus
Definition: miniport.h:72
@ MPSABus
Definition: miniport.h:70
@ Internal
Definition: miniport.h:59
@ NuBus
Definition: miniport.h:66
@ MicroChannel
Definition: miniport.h:62
@ PNPISABus
Definition: miniport.h:73
@ ProcessorInternal
Definition: miniport.h:71
@ Isa
Definition: miniport.h:60
@ PCMCIABus
Definition: miniport.h:67
enum _INTERFACE_TYPE INTERFACE_TYPE

◆ _IRQ_DEVICE_POLICY

Enumerator
IrqPolicyMachineDefault 
IrqPolicyAllCloseProcessors 
IrqPolicyOneCloseProcessor 
IrqPolicyAllProcessorsInMachine 
IrqPolicySpecifiedProcessors 
IrqPolicySpreadMessagesAcrossAllProcessors 
IrqPolicyMachineDefault 
IrqPolicyAllCloseProcessors 
IrqPolicyOneCloseProcessor 
IrqPolicyAllProcessorsInMachine 
IrqPolicySpecifiedProcessors 
IrqPolicySpreadMessagesAcrossAllProcessors 

Definition at line 128 of file miniport.h.

128 {
enum _IRQ_DEVICE_POLICY IRQ_DEVICE_POLICY
enum _IRQ_DEVICE_POLICY * PIRQ_DEVICE_POLICY
@ IrqPolicyOneCloseProcessor
Definition: miniport.h:131
@ IrqPolicyAllCloseProcessors
Definition: miniport.h:130
@ IrqPolicyAllProcessorsInMachine
Definition: miniport.h:132
@ IrqPolicySpreadMessagesAcrossAllProcessors
Definition: miniport.h:134
@ IrqPolicyMachineDefault
Definition: miniport.h:129
@ IrqPolicySpecifiedProcessors
Definition: miniport.h:133

◆ _IRQ_PRIORITY

Enumerator
IrqPriorityUndefined 
IrqPriorityLow 
IrqPriorityNormal 
IrqPriorityHigh 
IrqPriorityUndefined 
IrqPriorityLow 
IrqPriorityNormal 
IrqPriorityHigh 
IrqPriorityUndefined 
IrqPriorityLow 
IrqPriorityNormal 
IrqPriorityHigh 

Definition at line 137 of file miniport.h.

137 {
enum _IRQ_PRIORITY * PIRQ_PRIORITY
enum _IRQ_PRIORITY IRQ_PRIORITY
@ IrqPriorityUndefined
Definition: miniport.h:138
@ IrqPriorityHigh
Definition: miniport.h:141
@ IrqPriorityNormal
Definition: miniport.h:140
@ IrqPriorityLow
Definition: miniport.h:139

◆ _KINTERRUPT_MODE

Enumerator
LevelSensitive 
Latched 
LevelSensitive 
Latched 

Definition at line 79 of file miniport.h.

79 {
@ Latched
Definition: miniport.h:81
@ LevelSensitive
Definition: miniport.h:80
enum _KINTERRUPT_MODE KINTERRUPT_MODE