ReactOS 0.4.16-dev-91-g764881a
isapnphw.h File Reference
#include <pshpack1.h>
#include <poppack.h>
Include dependency graph for isapnphw.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _ISAPNP_IDENTIFIER
 
struct  _ISAPNP_LOGDEVID
 
struct  _ISAPNP_COMPATID
 
struct  _ISAPNP_IO_DESCRIPTION
 
struct  _ISAPNP_FIXED_IO_DESCRIPTION
 
struct  _ISAPNP_IRQ_DESCRIPTION
 
struct  _ISAPNP_DMA_DESCRIPTION
 
struct  _ISAPNP_MEMRANGE_DESCRIPTION
 
struct  _ISAPNP_MEMRANGE32_DESCRIPTION
 
struct  _ISAPNP_FIXEDMEMRANGE_DESCRIPTION
 

Macros

#define ISAPNP_ADDRESS   0x279
 
#define ISAPNP_WRITE_DATA   0xA79
 
#define ISAPNP_READPORT   0x00
 
#define ISAPNP_SERIALISOLATION   0x01
 
#define ISAPNP_CONFIGCONTROL   0x02
 
#define ISAPNP_WAKE   0x03
 
#define ISAPNP_RESOURCEDATA   0x04
 
#define ISAPNP_STATUS   0x05
 
#define ISAPNP_CARDSELECTNUMBER   0x06
 
#define ISAPNP_LOGICALDEVICENUMBER   0x07
 
#define ISAPNP_ACTIVATE   0x30
 
#define ISAPNP_IORANGECHECK   0x31
 
#define ISAPNP_MEMBASE(n)   (0x40 + ((n) * 8))
 
#define ISAPNP_MEMCONTROL(n)   (0x42 + ((n) * 8))
 
#define MEMORY_UPPER_LIMIT   0x01
 
#define MEMORY_USE_8_BIT_DECODER   0x00
 
#define MEMORY_USE_16_BIT_DECODER   0x02
 
#define MEMORY_USE_32_BIT_DECODER   0x06
 
#define ISAPNP_MEMLIMIT(n)   (0x43 + ((n) * 8))
 
#define ISAPNP_IOBASE(n)   (0x60 + ((n)*2))
 
#define ISAPNP_IRQNO(n)   (0x70 + ((n)*2))
 
#define ISAPNP_IRQTYPE(n)   (0x71 + ((n) * 2))
 
#define IRQTYPE_LOW_LEVEL   0x01
 
#define IRQTYPE_HIGH_EDGE   0x02
 
#define ISAPNP_DMACHANNEL(n)   (0x74 + (n))
 
#define DMACHANNEL_NONE   4
 
#define ISAPNP_MEMBASE32(n)   ((n) == 0 ? 0x76 : (0x70 + (n) * 16))
 
#define ISAPNP_MEMCONTROL32(n)   ((n) == 0 ? 0x7A : (0x74 + (n) * 16))
 
#define ISAPNP_MEMLIMIT32(n)   ((n) == 0 ? 0x7B : (0x75 + (n) * 16))
 
#define ISAPNP_CONFIG_RESET   (1 << 0)
 
#define ISAPNP_CONFIG_WAIT_FOR_KEY   (1 << 1)
 
#define ISAPNP_CONFIG_RESET_CSN   (1 << 2)
 
#define ISAPNP_LFSR_SEED   0x6A
 
#define ISAPNP_IS_SMALL_TAG(t)   (!((t) & 0x80))
 
#define ISAPNP_SMALL_TAG_NAME(t)   (((t) >> 3) & 0xF)
 
#define ISAPNP_SMALL_TAG_LEN(t)   (((t) & 0x7))
 
#define ISAPNP_TAG_PNPVERNO   0x01
 
#define ISAPNP_TAG_LOGDEVID   0x02
 
#define ISAPNP_TAG_COMPATDEVID   0x03
 
#define ISAPNP_TAG_IRQ   0x04
 
#define ISAPNP_TAG_DMA   0x05
 
#define ISAPNP_TAG_STARTDEP   0x06
 
#define ISAPNP_TAG_ENDDEP   0x07
 
#define ISAPNP_TAG_IOPORT   0x08
 
#define ISAPNP_TAG_FIXEDIO   0x09
 
#define ISAPNP_TAG_END   0x0F
 
#define ISAPNP_IS_LARGE_TAG(t)   (((t) & 0x80))
 
#define ISAPNP_LARGE_TAG_NAME(t)   (t)
 
#define ISAPNP_TAG_MEMRANGE   0x81
 
#define MEMRANGE_16_BIT_MEMORY_MASK   (0x10 | 0x08)
 
#define MEMRANGE_32_BIT_MEMORY_ONLY   0x18
 
#define ISAPNP_TAG_ANSISTR   0x82
 
#define ISAPNP_TAG_UNICODESTR   0x83
 
#define ISAPNP_TAG_MEM32RANGE   0x85
 
#define ISAPNP_TAG_FIXEDMEM32RANGE   0x86
 
#define RANGE_LENGTH_TO_LENGTH(RangeLength)   ((~(RangeLength) + 1) & 0xFFFFFF)
 
#define LENGTH_TO_RANGE_LENGTH(Length)   (~(Length) + 1)
 

Typedefs

typedef struct _ISAPNP_IDENTIFIER ISAPNP_IDENTIFIER
 
typedef struct _ISAPNP_IDENTIFIERPISAPNP_IDENTIFIER
 
typedef struct _ISAPNP_LOGDEVID ISAPNP_LOGDEVID
 
typedef struct _ISAPNP_LOGDEVIDPISAPNP_LOGDEVID
 
typedef struct _ISAPNP_COMPATID ISAPNP_COMPATID
 
typedef struct _ISAPNP_COMPATIDPISAPNP_COMPATID
 
typedef struct _ISAPNP_IO_DESCRIPTION ISAPNP_IO_DESCRIPTION
 
typedef struct _ISAPNP_IO_DESCRIPTIONPISAPNP_IO_DESCRIPTION
 
typedef struct _ISAPNP_FIXED_IO_DESCRIPTION ISAPNP_FIXED_IO_DESCRIPTION
 
typedef struct _ISAPNP_FIXED_IO_DESCRIPTIONPISAPNP_FIXED_IO_DESCRIPTION
 
typedef struct _ISAPNP_IRQ_DESCRIPTION ISAPNP_IRQ_DESCRIPTION
 
typedef struct _ISAPNP_IRQ_DESCRIPTIONPISAPNP_IRQ_DESCRIPTION
 
typedef struct _ISAPNP_DMA_DESCRIPTION ISAPNP_DMA_DESCRIPTION
 
typedef struct _ISAPNP_DMA_DESCRIPTIONPISAPNP_DMA_DESCRIPTION
 
typedef struct _ISAPNP_MEMRANGE_DESCRIPTION ISAPNP_MEMRANGE_DESCRIPTION
 
typedef struct _ISAPNP_MEMRANGE_DESCRIPTIONPISAPNP_MEMRANGE_DESCRIPTION
 
typedef struct _ISAPNP_MEMRANGE32_DESCRIPTION ISAPNP_MEMRANGE32_DESCRIPTION
 
typedef struct _ISAPNP_MEMRANGE32_DESCRIPTIONPISAPNP_MEMRANGE32_DESCRIPTION
 
typedef struct _ISAPNP_FIXEDMEMRANGE_DESCRIPTION ISAPNP_FIXEDMEMRANGE_DESCRIPTION
 
typedef struct _ISAPNP_FIXEDMEMRANGE_DESCRIPTIONPISAPNP_FIXEDMEMRANGE_DESCRIPTION
 

Macro Definition Documentation

◆ DMACHANNEL_NONE

#define DMACHANNEL_NONE   4

Definition at line 49 of file isapnphw.h.

◆ IRQTYPE_HIGH_EDGE

#define IRQTYPE_HIGH_EDGE   0x02

Definition at line 47 of file isapnphw.h.

◆ IRQTYPE_LOW_LEVEL

#define IRQTYPE_LOW_LEVEL   0x01

Definition at line 46 of file isapnphw.h.

◆ ISAPNP_ACTIVATE

#define ISAPNP_ACTIVATE   0x30

Definition at line 33 of file isapnphw.h.

◆ ISAPNP_ADDRESS

#define ISAPNP_ADDRESS   0x279

Definition at line 20 of file isapnphw.h.

◆ ISAPNP_CARDSELECTNUMBER

#define ISAPNP_CARDSELECTNUMBER   0x06

Definition at line 30 of file isapnphw.h.

◆ ISAPNP_CONFIG_RESET

#define ISAPNP_CONFIG_RESET   (1 << 0)

Definition at line 54 of file isapnphw.h.

◆ ISAPNP_CONFIG_RESET_CSN

#define ISAPNP_CONFIG_RESET_CSN   (1 << 2)

Definition at line 56 of file isapnphw.h.

◆ ISAPNP_CONFIG_WAIT_FOR_KEY

#define ISAPNP_CONFIG_WAIT_FOR_KEY   (1 << 1)

Definition at line 55 of file isapnphw.h.

◆ ISAPNP_CONFIGCONTROL

#define ISAPNP_CONFIGCONTROL   0x02

Definition at line 26 of file isapnphw.h.

◆ ISAPNP_DMACHANNEL

#define ISAPNP_DMACHANNEL (   n)    (0x74 + (n))

Definition at line 48 of file isapnphw.h.

◆ ISAPNP_IOBASE

#define ISAPNP_IOBASE (   n)    (0x60 + ((n)*2))

Definition at line 43 of file isapnphw.h.

◆ ISAPNP_IORANGECHECK

#define ISAPNP_IORANGECHECK   0x31

Definition at line 34 of file isapnphw.h.

◆ ISAPNP_IRQNO

#define ISAPNP_IRQNO (   n)    (0x70 + ((n)*2))

Definition at line 44 of file isapnphw.h.

◆ ISAPNP_IRQTYPE

#define ISAPNP_IRQTYPE (   n)    (0x71 + ((n) * 2))

Definition at line 45 of file isapnphw.h.

◆ ISAPNP_IS_LARGE_TAG

#define ISAPNP_IS_LARGE_TAG (   t)    (((t) & 0x80))

Definition at line 74 of file isapnphw.h.

◆ ISAPNP_IS_SMALL_TAG

#define ISAPNP_IS_SMALL_TAG (   t)    (!((t) & 0x80))

Definition at line 60 of file isapnphw.h.

◆ ISAPNP_LARGE_TAG_NAME

#define ISAPNP_LARGE_TAG_NAME (   t)    (t)

Definition at line 75 of file isapnphw.h.

◆ ISAPNP_LFSR_SEED

#define ISAPNP_LFSR_SEED   0x6A

Definition at line 58 of file isapnphw.h.

◆ ISAPNP_LOGICALDEVICENUMBER

#define ISAPNP_LOGICALDEVICENUMBER   0x07

Definition at line 31 of file isapnphw.h.

◆ ISAPNP_MEMBASE

#define ISAPNP_MEMBASE (   n)    (0x40 + ((n) * 8))

Definition at line 36 of file isapnphw.h.

◆ ISAPNP_MEMBASE32

#define ISAPNP_MEMBASE32 (   n)    ((n) == 0 ? 0x76 : (0x70 + (n) * 16))

Definition at line 50 of file isapnphw.h.

◆ ISAPNP_MEMCONTROL

#define ISAPNP_MEMCONTROL (   n)    (0x42 + ((n) * 8))

Definition at line 37 of file isapnphw.h.

◆ ISAPNP_MEMCONTROL32

#define ISAPNP_MEMCONTROL32 (   n)    ((n) == 0 ? 0x7A : (0x74 + (n) * 16))

Definition at line 51 of file isapnphw.h.

◆ ISAPNP_MEMLIMIT

#define ISAPNP_MEMLIMIT (   n)    (0x43 + ((n) * 8))

Definition at line 42 of file isapnphw.h.

◆ ISAPNP_MEMLIMIT32

#define ISAPNP_MEMLIMIT32 (   n)    ((n) == 0 ? 0x7B : (0x75 + (n) * 16))

Definition at line 52 of file isapnphw.h.

◆ ISAPNP_READPORT

#define ISAPNP_READPORT   0x00

Definition at line 24 of file isapnphw.h.

◆ ISAPNP_RESOURCEDATA

#define ISAPNP_RESOURCEDATA   0x04

Definition at line 28 of file isapnphw.h.

◆ ISAPNP_SERIALISOLATION

#define ISAPNP_SERIALISOLATION   0x01

Definition at line 25 of file isapnphw.h.

◆ ISAPNP_SMALL_TAG_LEN

#define ISAPNP_SMALL_TAG_LEN (   t)    (((t) & 0x7))

Definition at line 62 of file isapnphw.h.

◆ ISAPNP_SMALL_TAG_NAME

#define ISAPNP_SMALL_TAG_NAME (   t)    (((t) >> 3) & 0xF)

Definition at line 61 of file isapnphw.h.

◆ ISAPNP_STATUS

#define ISAPNP_STATUS   0x05

Definition at line 29 of file isapnphw.h.

◆ ISAPNP_TAG_ANSISTR

#define ISAPNP_TAG_ANSISTR   0x82

Definition at line 79 of file isapnphw.h.

◆ ISAPNP_TAG_COMPATDEVID

#define ISAPNP_TAG_COMPATDEVID   0x03

Definition at line 65 of file isapnphw.h.

◆ ISAPNP_TAG_DMA

#define ISAPNP_TAG_DMA   0x05

Definition at line 67 of file isapnphw.h.

◆ ISAPNP_TAG_END

#define ISAPNP_TAG_END   0x0F

Definition at line 72 of file isapnphw.h.

◆ ISAPNP_TAG_ENDDEP

#define ISAPNP_TAG_ENDDEP   0x07

Definition at line 69 of file isapnphw.h.

◆ ISAPNP_TAG_FIXEDIO

#define ISAPNP_TAG_FIXEDIO   0x09

Definition at line 71 of file isapnphw.h.

◆ ISAPNP_TAG_FIXEDMEM32RANGE

#define ISAPNP_TAG_FIXEDMEM32RANGE   0x86

Definition at line 82 of file isapnphw.h.

◆ ISAPNP_TAG_IOPORT

#define ISAPNP_TAG_IOPORT   0x08

Definition at line 70 of file isapnphw.h.

◆ ISAPNP_TAG_IRQ

#define ISAPNP_TAG_IRQ   0x04

Definition at line 66 of file isapnphw.h.

◆ ISAPNP_TAG_LOGDEVID

#define ISAPNP_TAG_LOGDEVID   0x02

Definition at line 64 of file isapnphw.h.

◆ ISAPNP_TAG_MEM32RANGE

#define ISAPNP_TAG_MEM32RANGE   0x85

Definition at line 81 of file isapnphw.h.

◆ ISAPNP_TAG_MEMRANGE

#define ISAPNP_TAG_MEMRANGE   0x81

Definition at line 76 of file isapnphw.h.

◆ ISAPNP_TAG_PNPVERNO

#define ISAPNP_TAG_PNPVERNO   0x01

Definition at line 63 of file isapnphw.h.

◆ ISAPNP_TAG_STARTDEP

#define ISAPNP_TAG_STARTDEP   0x06

Definition at line 68 of file isapnphw.h.

◆ ISAPNP_TAG_UNICODESTR

#define ISAPNP_TAG_UNICODESTR   0x83

Definition at line 80 of file isapnphw.h.

◆ ISAPNP_WAKE

#define ISAPNP_WAKE   0x03

Definition at line 27 of file isapnphw.h.

◆ ISAPNP_WRITE_DATA

#define ISAPNP_WRITE_DATA   0xA79

Definition at line 21 of file isapnphw.h.

◆ LENGTH_TO_RANGE_LENGTH

#define LENGTH_TO_RANGE_LENGTH (   Length)    (~(Length) + 1)

Definition at line 85 of file isapnphw.h.

◆ MEMORY_UPPER_LIMIT

#define MEMORY_UPPER_LIMIT   0x01

Definition at line 38 of file isapnphw.h.

◆ MEMORY_USE_16_BIT_DECODER

#define MEMORY_USE_16_BIT_DECODER   0x02

Definition at line 40 of file isapnphw.h.

◆ MEMORY_USE_32_BIT_DECODER

#define MEMORY_USE_32_BIT_DECODER   0x06

Definition at line 41 of file isapnphw.h.

◆ MEMORY_USE_8_BIT_DECODER

#define MEMORY_USE_8_BIT_DECODER   0x00

Definition at line 39 of file isapnphw.h.

◆ MEMRANGE_16_BIT_MEMORY_MASK

#define MEMRANGE_16_BIT_MEMORY_MASK   (0x10 | 0x08)

Definition at line 77 of file isapnphw.h.

◆ MEMRANGE_32_BIT_MEMORY_ONLY

#define MEMRANGE_32_BIT_MEMORY_ONLY   0x18

Definition at line 78 of file isapnphw.h.

◆ RANGE_LENGTH_TO_LENGTH

#define RANGE_LENGTH_TO_LENGTH (   RangeLength)    ((~(RangeLength) + 1) & 0xFFFFFF)

Definition at line 84 of file isapnphw.h.

Typedef Documentation

◆ ISAPNP_COMPATID

◆ ISAPNP_DMA_DESCRIPTION

◆ ISAPNP_FIXED_IO_DESCRIPTION

◆ ISAPNP_FIXEDMEMRANGE_DESCRIPTION

◆ ISAPNP_IDENTIFIER

◆ ISAPNP_IO_DESCRIPTION

◆ ISAPNP_IRQ_DESCRIPTION

◆ ISAPNP_LOGDEVID

◆ ISAPNP_MEMRANGE32_DESCRIPTION

◆ ISAPNP_MEMRANGE_DESCRIPTION

◆ PISAPNP_COMPATID

◆ PISAPNP_DMA_DESCRIPTION

◆ PISAPNP_FIXED_IO_DESCRIPTION

◆ PISAPNP_FIXEDMEMRANGE_DESCRIPTION

◆ PISAPNP_IDENTIFIER

◆ PISAPNP_IO_DESCRIPTION

◆ PISAPNP_IRQ_DESCRIPTION

◆ PISAPNP_LOGDEVID

◆ PISAPNP_MEMRANGE32_DESCRIPTION

◆ PISAPNP_MEMRANGE_DESCRIPTION